summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r--sc/source/ui/pagedlg/hfedtdlg.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sc/source/ui/pagedlg/hfedtdlg.cxx b/sc/source/ui/pagedlg/hfedtdlg.cxx
index d3d8fa3a0da9..ce777e84d7f1 100644
--- a/sc/source/ui/pagedlg/hfedtdlg.cxx
+++ b/sc/source/ui/pagedlg/hfedtdlg.cxx
@@ -58,13 +58,10 @@ ScHFEditDlg::ScHFEditDlg( SfxViewFrame* pFrameP,
{
eNumType = ((const SvxPageItem&)rCoreSet.Get(ATTR_PAGE)).GetNumType();
- String aTmp = GetText();
+ OUString aTmp = GetText();
+
+ aTmp += " (" + ScGlobal::GetRscString( STR_PAGESTYLE ) + ": " + rPageStyle + ")";
- aTmp.AppendAscii(RTL_CONSTASCII_STRINGPARAM( " (" ));
- aTmp += ScGlobal::GetRscString( STR_PAGESTYLE );
- aTmp.AppendAscii(RTL_CONSTASCII_STRINGPARAM( ": " ));
- aTmp += rPageStyle;
- aTmp += ')';
SetText( aTmp );
}