[Libreoffice-commits] core.git: accessibility/source basctl/source
Ulkem Kasapoglu
ulkem.kasapoglu at pardus.org.tr
Mon Jul 9 06:12:26 UTC 2018
accessibility/source/extended/accessiblelistboxentry.cxx | 3 +--
basctl/source/basicide/localizationmgr.cxx | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 79c0328f4824300426333ba05c43bb300e2de4e7
Author: Ulkem Kasapoglu <ulkem.kasapoglu at pardus.org.tr>
Date: Wed Jul 4 14:55:36 2018 +0300
tdf#100726: Improve readability of OUString/OString concatenations
Change-Id: Ie78ca074a2472a57fb32c43f8dee9cc4cf5614c7
Reviewed-on: https://gerrit.libreoffice.org/56945
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara at pardus.org.tr>
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index 4d409d80299a..943047213a1c 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -474,8 +474,7 @@ namespace accessibility
OUString altText = getListBox()->GetEntryAltText( pEntry );
if (!altText.isEmpty())
{
- sRet += " ";
- sRet += altText;
+ sRet += " " + altText;
}
return sRet;
diff --git a/basctl/source/basicide/localizationmgr.cxx b/basctl/source/basicide/localizationmgr.cxx
index 4d248c16dc9d..8822ee21c9ba 100644
--- a/basctl/source/basicide/localizationmgr.cxx
+++ b/basctl/source/basicide/localizationmgr.cxx
@@ -172,8 +172,7 @@ OUString implCreatePureResourceId
+ aDot;
if( !aCtrlName.isEmpty() )
{
- aPureIdStr += aCtrlName;
- aPureIdStr += aDot;
+ aPureIdStr += aCtrlName + aDot;
}
aPureIdStr += aPropName;
return aPureIdStr;
More information about the Libreoffice-commits
mailing list