diff options
Diffstat (limited to 'sd/source/ui/dlg/custsdlg.cxx')
-rw-r--r-- | sd/source/ui/dlg/custsdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx index b18a6e05e5d2..dfb07394b904 100644 --- a/sd/source/ui/dlg/custsdlg.cxx +++ b/sd/source/ui/dlg/custsdlg.cxx @@ -182,14 +182,14 @@ void SdCustomShowDlg::SelectHdl(void const *p) sal_Int32 nNum = 1; if( nStrPos < 0 ) { - aStr = aStr + " (" + aStrCopy + OUString::number( nNum ) + ")"; + aStr += " (" + aStrCopy + OUString::number( nNum ) + ")"; nStrPos = aStr.indexOf( aStrCopy ); } nStrPos = nStrPos + aStrCopy.getLength(); // that we do not access into the nirvana (--> endless loop) if( nStrPos >= aStr.getLength() ) { - aStr = aStr + " " + OUString::number( nNum ); + aStr += " " + OUString::number( nNum ); } // check name... |