summaryrefslogtreecommitdiff
path: root/framework/source/inc/pattern/window.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/inc/pattern/window.hxx')
-rw-r--r--framework/source/inc/pattern/window.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx
index bb5e73581a83..7ff8d45dfaa7 100644
--- a/framework/source/inc/pattern/window.hxx
+++ b/framework/source/inc/pattern/window.hxx
@@ -62,7 +62,7 @@ static OUString getWindowState(const css::uno::Reference< css::awt::XWindow >& x
}
// <- SOLAR SAFE ----------------------------
- return OUString::fromUtf8(sWindowState);
+ return OStringToOUString(sWindowState,RTL_TEXTENCODING_UTF8);
}
static void setWindowState(const css::uno::Reference< css::awt::XWindow >& xWindow ,