summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/config/optload.cxx2
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 62be5df055ea..8196d4811b7b 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -544,7 +544,7 @@ void SwCaptionOptPage::Reset( const SfxItemSet& rSet)
// get Productname and -version
OUString sWithoutVersion( utl::ConfigManager::getProductName() );
OUString sComplete(
- sWithoutVersion + OUString(" ") +
+ sWithoutVersion + " " +
utl::ConfigManager::getProductVersion() );
SvObjectServerList aObjS;
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index bc224b7878c0..701fe1d55a82 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -81,7 +81,7 @@ SwTemplateDlg::SwTemplateDlg(Window* pParent,
: SfxStyleDialog(pParent,
OString("TemplateDialog") + OString::number(nRegion),
OUString("modules/swriter/ui/templatedialog") +
- OUString::number(nRegion) + OUString(".ui"),
+ OUString::number(nRegion) + ".ui",
rBase)
, nType(nRegion)
, pWrtShell(pActShell)