summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-11-09 14:41:08 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-11-09 18:07:05 +0100
commit6d3507b02917c97b117e94c83b56cfe442d5f544 (patch)
tree14bfa58156460d5dda5e86387946a3590e6b8b61 /sw/source/ui
parent949b6ef2e976926cdc946ff1b0550e3f6d8fec3b (diff)
SfxTabDialog ctors: take an OUString
Change-Id: I91b9b2ffd19b2412ac01dd12429d6460b4c4812c
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx2
-rw-r--r--sw/source/ui/frmdlg/frmdlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index c6255cd7872a..998e0d1ee43e 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -74,7 +74,7 @@ SwTemplateDlg::SwTemplateDlg(vcl::Window* pParent,
SwWrtShell* pActShell,
bool bNew)
: SfxStyleDialog(pParent,
- OString("TemplateDialog") + OString::number(nRegion),
+ OUString("TemplateDialog") + OUString::number(nRegion),
OUString("modules/swriter/ui/templatedialog") +
OUString::number(nRegion) + ".ui",
rBase)
diff --git a/sw/source/ui/frmdlg/frmdlg.cxx b/sw/source/ui/frmdlg/frmdlg.cxx
index 4a4bdf73b01b..ca6f722e8a95 100644
--- a/sw/source/ui/frmdlg/frmdlg.cxx
+++ b/sw/source/ui/frmdlg/frmdlg.cxx
@@ -53,7 +53,7 @@ SwFrmDlg::SwFrmDlg( SfxViewFrame* pViewFrame,
const OString& sDefPage,
const OUString* pStr)
- : SfxTabDialog(pViewFrame, pParent, OUStringToOString(sResType, RTL_TEXTENCODING_UTF8),
+ : SfxTabDialog(pViewFrame, pParent, sResType,
OUString("modules/swriter/ui/") +
sResType.toAsciiLowerCase() +
(".ui"), &rCoreSet, pStr != 0)