summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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