summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-11-05 12:07:44 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-11-05 14:45:31 +0100
commit801cb231f2e2b43f4befd9575e23da58d764c600 (patch)
tree92fe3b44a9ec99b3d872da930b6252a77f2f8ff5 /sw/source/ui
parent2bd1896e207f7fda2861d019702b931f07c9c4e1 (diff)
Add rtl::OUString::fromUtf8()
Note that this should be used only at places legitimately assuming that the OString contains valid UTF-8. Change-Id: I9e8ecef9928975fe0737553f5b2a19ff2dd40861
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/frmdlg/frmdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/frmdlg.cxx b/sw/source/ui/frmdlg/frmdlg.cxx
index cd623185758a..2213373dc58b 100644
--- a/sw/source/ui/frmdlg/frmdlg.cxx
+++ b/sw/source/ui/frmdlg/frmdlg.cxx
@@ -55,7 +55,7 @@ SwFrmDlg::SwFrmDlg( SfxViewFrame* pViewFrame,
: SfxTabDialog(pViewFrame, pParent, sResType,
OUString("modules/swriter/ui/") +
- OStringToOUString(sResType.toAsciiLowerCase(), RTL_TEXTENCODING_UTF8) +
+ OUString::fromUtf8(sResType.toAsciiLowerCase()) +
(".ui"), &rCoreSet, pStr != 0)
, m_bFormat(bFormat)
, m_bNew(bNewFrm)