summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-17 10:41:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-17 10:41:10 +0100
commitdccb9677482522d7f6f8a3d807af26049585b7fc (patch)
treeb43df0f6138cc7928e9a078f7da14bd8943a229f /sfx2
parent5bdaf82cce321d4a86914f1ee4e8abfea384b218 (diff)
Don't assume sal_Unicode is unsigned short
Change-Id: Id3bdce8776ebbdf700eabceed1e123a444a7bc4d
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/shutdowniconaqua.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdowniconaqua.mm b/sfx2/source/appl/shutdowniconaqua.mm
index dc1600b2d2ad..031a9ec2e701 100644
--- a/sfx2/source/appl/shutdowniconaqua.mm
+++ b/sfx2/source/appl/shutdowniconaqua.mm
@@ -118,7 +118,7 @@ static std::set< OUString > aShortcuts;
static NSString* getAutoreleasedString( const rtl::OUString& rStr )
{
- return [[[NSString alloc] initWithCharacters: rStr.getStr() length: rStr.getLength()] autorelease];
+ return [[[NSString alloc] initWithCharacters: reinterpret_cast<unichar const *>(rStr.getStr()) length: rStr.getLength()] autorelease];
}
struct RecentMenuEntry