summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-06-30 11:16:15 +0300
committerNoel Grandin <noelgrandin@gmail.com>2016-07-01 07:19:28 +0000
commit35de25aac00f9698c5df338bb6399384a71f6c1c (patch)
tree2687a74d6c8a0dc7386ad5f6637e8e566874cce0 /svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
parent1a13a9a46ae240966fa9152b35671384c07e7004 (diff)
Improve readability of OUString concatanation in SvxPixelCtlAccessible
, SvxShowCharSetVirtualAcc , SvxBmpMask , SvxSuperContourDlg , and SvxTPView It is more readable and more efficient as a bonus. See: https://goo.gl/jsVAwy: Change-Id: Id0641673e1e6fb04b3193c2b8e9a2ab3156b4552 Reviewed-on: https://gerrit.libreoffice.org/26794 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/accessibility/svxpixelctlaccessiblecontext.cxx')
-rw-r--r--svx/source/accessibility/svxpixelctlaccessiblecontext.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
index 0253d2424483..a8aab198cee6 100644
--- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
@@ -843,12 +843,11 @@ OUString SvxPixelCtlAccessibleChild::GetName()
sal_Int32 nXIndex = mnIndexInParent % mrParentWindow.GetLineCount();
sal_Int32 nYIndex = mnIndexInParent / mrParentWindow.GetLineCount();
- OUString str;
- str += "(";
- str += OUString::number(nXIndex);
- str += ",";
- str += OUString::number(nYIndex);
- str += ")";
+ OUString str = "("
+ + OUString::number(nXIndex)
+ + ","
+ + OUString::number(nYIndex)
+ + ")";
return str;
}