summaryrefslogtreecommitdiffstats
path: root/sfx2/source/appl/shutdowniconw32.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/shutdowniconw32.cxx')
-rw-r--r--sfx2/source/appl/shutdowniconw32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx
index 069d5faf802f..cf8d1255d808 100644
--- a/sfx2/source/appl/shutdowniconw32.cxx
+++ b/sfx2/source/appl/shutdowniconw32.cxx
@@ -121,7 +121,7 @@ static void addMenuItem( HMENU hMenu, UINT id, UINT iconId, const OUString& text
mi.fType=MFT_STRING;
mi.fState=MFS_ENABLED;
mi.wID = id;
- mi.dwTypeData = const_cast<sal_Unicode *>(text.getStr());
+ mi.dwTypeData = SAL_W(const_cast<sal_Unicode *>(text.getStr()));
mi.cch = text.getLength();
}