summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/navipi/navipi.cxx19
1 files changed, 9 insertions, 10 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 862b985f4039..12c81b72e8f8 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -581,16 +581,15 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, vcl
// eListMode is set from outside, Root further below
aLbDocuments->SetDropDownLineCount(9);
- OUString aOpen(" (");
- aStrActive = aOpen;
- aStrActive += OUString( ScResId( STR_ACTIVE ) );
- aStrActive += ")"; // " (active)"
- aStrNotActive = aOpen;
- aStrNotActive += OUString( ScResId( STR_NOTACTIVE ) );
- aStrNotActive += ")"; // " (not active)"
- aStrHidden = aOpen;
- aStrHidden += OUString( ScResId( STR_HIDDEN ) );
- aStrHidden += ")"; // " (hidden)"
+ aStrActive = " ("
+ + OUString( ScResId( STR_ACTIVE ) )
+ + ")"; // " (active)"
+ aStrNotActive = " ("
+ + OUString( ScResId( STR_NOTACTIVE ) )
+ + ")"; // " (not active)"
+ aStrHidden = " ("
+ + OUString( ScResId( STR_HIDDEN ) )
+ + ")"; // " (hidden)"
aTitleBase = GetText();