diff options
Diffstat (limited to 'framework/source/helper/persistentwindowstate.cxx')
-rw-r--r-- | framework/source/helper/persistentwindowstate.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx index f88c620aede1..1599447eef8c 100644 --- a/framework/source/helper/persistentwindowstate.cxx +++ b/framework/source/helper/persistentwindowstate.cxx @@ -239,8 +239,9 @@ OUString PersistentWindowState::implst_getWindowStateFromWindow(const css::uno:: { sal_uLong nMask = WINDOWSTATE_MASK_ALL; nMask &= ~(WINDOWSTATE_MASK_MINIMIZED); - sWindowState = OUString::fromUtf8( - static_cast<SystemWindow*>(pWindow)->GetWindowState(nMask)); + sWindowState = OStringToOUString( + static_cast<SystemWindow*>(pWindow)->GetWindowState(nMask), + RTL_TEXTENCODING_UTF8); } // <- SOLAR SAFE ------------------------ } |