diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-04 10:14:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-04 10:15:03 +0100 |
commit | 1c1c515e01c93c478a00e7a840b733380406a366 (patch) | |
tree | 1ef980b8ea49f8014bb9a62589591ab87ca2d3e4 /fpicker | |
parent | d48668ecdb5e7523ee25a09afb76ca46b22a4fea (diff) |
Older Mac apparently need a reinterpret_cast here
Change-Id: I58ff0ae2e2410ff50f0faffabab5cdc0e4471433
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/NSURL_OOoAdditions.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/aqua/NSURL_OOoAdditions.mm b/fpicker/source/aqua/NSURL_OOoAdditions.mm index 44a97682db50..232b7520220e 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 ); } } |