summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/styledlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/styledlg.cxx')
-rw-r--r--sfx2/source/dialog/styledlg.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx
index 5598b08f65ac..bf60f44eadf2 100644
--- a/sfx2/source/dialog/styledlg.cxx
+++ b/sfx2/source/dialog/styledlg.cxx
@@ -64,9 +64,7 @@ SfxStyleDialog::SfxStyleDialog
SetCurPageId( ID_TABPAGE_MANAGESTYLES );
else
{
- String sTxt( GetText() );
- sTxt += DEFINE_CONST_UNICODE(": ") ;
- sTxt += rStyle.GetName();
+ OUString sTxt = OUString(GetText()) + ": " + rStyle.GetName();
SetText( sTxt );
}
delete pExampleSet; // in SfxTabDialog::Ctor() already created