summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/scuiautofmt.cxx
diff options
context:
space:
mode:
authorGökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr>2016-08-24 09:24:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-25 06:55:10 +0000
commit5d5f1de548c1086dd3476e40bfe06aa4a5830a6d (patch)
tree1f83a858483cd3f5718c988a0d00a57c634b1bb9 /sc/source/ui/miscdlgs/scuiautofmt.cxx
parent89d3482b7a80c6fd508cf3954b7c52608445eae0 (diff)
tdf#100726 - Improve readability of OUString concatanations
Change-Id: I9d729c5c135f556a0dab7bcb8274b940e3452140 Reviewed-on: https://gerrit.libreoffice.org/28362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/miscdlgs/scuiautofmt.cxx')
-rw-r--r--sc/source/ui/miscdlgs/scuiautofmt.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/miscdlgs/scuiautofmt.cxx b/sc/source/ui/miscdlgs/scuiautofmt.cxx
index 19033d9cb463..8b9af01b3669 100644
--- a/sc/source/ui/miscdlgs/scuiautofmt.cxx
+++ b/sc/source/ui/miscdlgs/scuiautofmt.cxx
@@ -280,10 +280,9 @@ IMPL_LINK_NOARG_TYPED(ScAutoFormatDlg, RemoveHdl, Button*, void)
{
if ( (nIndex > 0) && (m_pLbFormat->GetEntryCount() > 0) )
{
- OUString aMsg( aStrDelMsg.getToken( 0, '#' ) );
-
- aMsg += m_pLbFormat->GetSelectEntry();
- aMsg += aStrDelMsg.getToken( 1, '#' );
+ OUString aMsg = aStrDelMsg.getToken( 0, '#' )
+ + m_pLbFormat->GetSelectEntry()
+ + aStrDelMsg.getToken( 1, '#' );
if ( RET_YES ==
ScopedVclPtrInstance<QueryBox>( this, WinBits( WB_YES_NO | WB_DEF_YES ), aMsg )->Execute() )