[Libreoffice-commits] core.git: fpicker/source

Stephan Bergmann sbergman at redhat.com
Thu Dec 4 01:15:30 PST 2014


 fpicker/source/aqua/NSURL_OOoAdditions.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1c1c515e01c93c478a00e7a840b733380406a366
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Dec 4 10:14:45 2014 +0100

    Older Mac apparently need a reinterpret_cast here
    
    Change-Id: I58ff0ae2e2410ff50f0faffabab5cdc0e4471433

diff --git a/fpicker/source/aqua/NSURL_OOoAdditions.mm b/fpicker/source/aqua/NSURL_OOoAdditions.mm
index 44a9768..232b752 100644
--- a/fpicker/source/aqua/NSURL_OOoAdditions.mm
+++ b/fpicker/source/aqua/NSURL_OOoAdditions.mm
@@ -98,7 +98,7 @@ NSString* resolveAlias( NSString* i_pSystemPath )
             }
             else
             {
-                pResolvedPath = const_cast<NSString*>(static_cast<NSString const *>(CFURLCopyFileSystemPath( rResolvedUrl, kCFURLPOSIXPathStyle )));
+                pResolvedPath = const_cast<NSString*>(reinterpret_cast<NSString const *>(CFURLCopyFileSystemPath( rResolvedUrl, kCFURLPOSIXPathStyle )));
                 CFRelease( rResolvedUrl );
             }
         }


More information about the Libreoffice-commits mailing list