[Libreoffice-commits] core.git: sw/source
Chamal
e12346 at ce.pdn.ac.lk
Mon Oct 3 06:07:03 UTC 2016
sw/source/core/access/accpreview.cxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit bc4715ddac99ca104e1ba6b313f089cfe4039381
Author: Chamal <e12346 at ce.pdn.ac.lk>
Date: Sun Oct 2 15:14:01 2016 +0530
tdf#100726 Improve readability of OUString concatination
Fixed the issue on sw/source/core/access/accpreview.cxx
Change-Id: I74a19129580ca8f7f357d590832cac5a360ba636
Reviewed-on: https://gerrit.libreoffice.org/29455
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sw/source/core/access/accpreview.cxx b/sw/source/core/access/accpreview.cxx
index 75220d5..269e1ed 100644
--- a/sw/source/core/access/accpreview.cxx
+++ b/sw/source/core/access/accpreview.cxx
@@ -71,10 +71,7 @@ OUString SAL_CALL SwAccessiblePreview::getAccessibleDescription() throw (css::un
OUString SAL_CALL SwAccessiblePreview::getAccessibleName() throw (css::uno::RuntimeException, std::exception)
{
- OUString sLclName = SwAccessibleDocumentBase::getAccessibleName();
- sLclName += " ";
- sLclName += GetResource( STR_ACCESS_PREVIEW_DOC_SUFFIX );
- return sLclName;
+ return SwAccessibleDocumentBase::getAccessibleName() + " " + GetResource( STR_ACCESS_PREVIEW_DOC_SUFFIX );
}
void SwAccessiblePreview::InvalidateFocus_()
More information about the Libreoffice-commits
mailing list