summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/thesdlg.cxx
diff options
context:
space:
mode:
authornadith <nadmalinda@gmail.com>2016-08-01 14:51:58 +0530
committerNoel Grandin <noelgrandin@gmail.com>2016-08-04 09:34:11 +0000
commitbd4c80b856a145563ba38242705e87028b1e0ed6 (patch)
tree8a7ed5eefa17155b7c547ed9133dc1881d9fa6b4 /cui/source/dialogs/thesdlg.cxx
parent7cbb0664b94bb9f4587098c1940de98e4f7aae16 (diff)
tdf#100726: Improve readability of OUString concatenation
module cui and dbaccess fixed Change-Id: Ief6fca46622fe4e0da804c9a874f7ec93a0fd7af Reviewed-on: https://gerrit.libreoffice.org/27770 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source/dialogs/thesdlg.cxx')
-rw-r--r--cui/source/dialogs/thesdlg.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index ba03f6c5e6ba..511ff0c70dc4 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -546,9 +546,7 @@ void SvxThesaurusDialog::SetWindowTitle( LanguageType nLanguage )
sal_Int32 nIndex = aStr.indexOf( '(' );
if( nIndex != -1 )
aStr = aStr.copy( 0, nIndex - 1 );
- aStr += " (";
- aStr += SvtLanguageTable::GetLanguageString( nLanguage );
- aStr += ")";
+ aStr += " (" + SvtLanguageTable::GetLanguageString( nLanguage ) + ")";
SetText( aStr ); // set window title
}