diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-01 09:01:36 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-06 22:12:49 +0200 |
commit | c41b573daa5bb117c853c8b194ec8a700f47d8ba (patch) | |
tree | 856fa95eab316dd6d142ec06aa37861c87ce8fde /sw | |
parent | 15f6acbab9ba4c4b44ffff4165333fb822bd0cb7 (diff) |
Avoid concatenated appends
Change-Id: I6234eb875ce3042d25e33ca33c1973770a422977
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/envelp/envlop1.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/envlop1.cxx b/sw/source/ui/envelp/envlop1.cxx index 26c3c2060e2f..e5c03f2e98e5 100644 --- a/sw/source/ui/envelp/envlop1.cxx +++ b/sw/source/ui/envelp/envlop1.cxx @@ -227,9 +227,7 @@ SwEnvPage::SwEnvPage(Window* pParent, const SfxItemSet& rSet) m_pPreview->SetBorderStyle( WINDOW_BORDER_MONO ); SwDBData aData = pSh->GetDBData(); - sActDBName = aData.sDataSource; - sActDBName += OUString(DB_DELIM); - sActDBName += aData.sCommand; + sActDBName = aData.sDataSource + OUString(DB_DELIM) + aData.sCommand; InitDatabaseBox(); } |