summaryrefslogtreecommitdiff
path: root/cui/source/options/fontsubs.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/options/fontsubs.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/options/fontsubs.cxx')
-rw-r--r--cui/source/options/fontsubs.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 8c0a638ec7b8..458027530d46 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -371,9 +371,7 @@ void SvxFontSubstTabPage::CheckEnable()
SvTreeListEntry* pEntry = m_pCheckLB->FirstSelected();
- OUString sEntry = m_pFont1CB->GetText();
- sEntry += "\t";
- sEntry += m_pFont2CB->GetText();
+ OUString sEntry = m_pFont1CB->GetText() + "\t" + m_pFont2CB->GetText();
// because of OS/2 optimization error (Bug #56267) a bit more intricate:
if (m_pFont1CB->GetText().isEmpty() || m_pFont2CB->GetText().isEmpty())