diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-11 11:14:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-11 11:14:27 +0200 |
commit | e1da95ba4e71face32964b9b71441dfdfe803b41 (patch) | |
tree | 41f86470244561964a7a3bb2336f681331ac3e3a /sfx2 | |
parent | f6fd7dd08b478857234a3b1b5b18e65e9b250174 (diff) |
Clean up uses of SAL_U/SAL_W: sfx2
Change-Id: I91a7af532a3b94e8096d99d1c4cf63d315e2f446
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/shutdowniconw32.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx index 4c80752aaad8..502b99f55b0d 100644 --- a/sfx2/source/appl/shutdowniconw32.cxx +++ b/sfx2/source/appl/shutdowniconw32.cxx @@ -121,7 +121,8 @@ 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 = SAL_W(const_cast<sal_Unicode *>(text.getStr())); + mi.dwTypeData = reinterpret_cast<wchar_t *>( + const_cast<sal_Unicode *>(text.getStr())); mi.cch = text.getLength(); } |