tdf#119326 crash when adding "Windows Share" File resource
commit82034b04e81b74a048595b0eac0f73581ecbc9e4
authorNoel Grandin <noel.grandin@collabora.co.uk>
Tue, 21 Aug 2018 14:23:17 +0000 (21 16:23 +0200)
committerNoel Grandin <noel.grandin@collabora.co.uk>
Tue, 21 Aug 2018 19:04:42 +0000 (21 21:04 +0200)
tree54503d9352015a459f30d7549b9efdf277945ad3
parentccadef3d8500f7b83f803737e32df3f65f936c63
tdf#119326 crash when adding "Windows Share" File resource

this was a regression from

    commit ce43d0ae9279edbf1ad108fe0d8325327a038d49
    use consistent #define checks for the Windows platform

where I converted
    #ifdef WIN
to
    #ifdef _WIN32

But that was already dead code at that point since we did not define
that preprocessor constant anywhere.

Change-Id: Ieadafd61fada05fc19d04d83992fba7c42969daa
Reviewed-on: https://gerrit.libreoffice.org/59402
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
tools/qa/cppunit/test_urlobj.cxx
tools/source/fsys/urlobj.cxx