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.kasapo...@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.k...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits