summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/cellsh.cxx')
-rw-r--r--sc/source/ui/view/cellsh.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index ee9028e6f31c..32222b46d5b5 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -656,12 +656,9 @@ void ScCellShell::GetState(SfxItemSet &rSet)
case SID_STATUS_DOCPOS:
{
- String aStr( ScGlobal::GetRscString( STR_TABLE ) );
-
- aStr += ' ';
- aStr += OUString::number( nTab + 1 );
- aStr.AppendAscii(RTL_CONSTASCII_STRINGPARAM( " / " ));
- aStr += OUString::number( nTabCount );
+ OUString aStr = ScGlobal::GetRscString( STR_TABLE ) +
+ " " + OUString::number( nTab + 1 ) +
+ " / " + OUString::number( nTabCount );
rSet.Put( SfxStringItem( nWhich, aStr ) );
}
break;