diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-19 23:21:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 11:01:54 +0100 |
commit | 12870341199d9218322865617e1b2dac4178fa99 (patch) | |
tree | 6de16bd5938ea3d896b8e461a37a1cdc0ef09bd4 /framework/source/inc/pattern | |
parent | 347738eade7b1077067926930b8efef257d4776d (diff) |
ByteString -> rtl::OStringBuffer
Diffstat (limited to 'framework/source/inc/pattern')
-rw-r--r-- | framework/source/inc/pattern/window.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx index faecdaea9105..752f5fe898b4 100644 --- a/framework/source/inc/pattern/window.hxx +++ b/framework/source/inc/pattern/window.hxx @@ -72,7 +72,7 @@ static ::rtl::OUString getWindowState(const css::uno::Reference< css::awt::XWind if (!xWindow.is()) return ::rtl::OUString(); - ByteString sWindowState; + rtl::OString sWindowState; // SOLAR SAFE -> ---------------------------- { SolarMutexGuard aSolarGuard; @@ -88,7 +88,7 @@ static ::rtl::OUString getWindowState(const css::uno::Reference< css::awt::XWind } // <- SOLAR SAFE ---------------------------- - return B2U_ENC(sWindowState,RTL_TEXTENCODING_UTF8); + return rtl::OStringToOUString(sWindowState,RTL_TEXTENCODING_UTF8); } //----------------------------------------------- @@ -116,7 +116,7 @@ static void setWindowState(const css::uno::Reference< css::awt::XWindow >& xWind ) ) { - ((SystemWindow*)pWindow)->SetWindowState(U2B_ENC(sWindowState,RTL_TEXTENCODING_UTF8)); + ((SystemWindow*)pWindow)->SetWindowState(OUStringToOString(sWindowState,RTL_TEXTENCODING_UTF8)); } // <- SOLAR SAFE ---------------------------- |