summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorChamal <e12346@ce.pdn.ac.lk>2016-10-02 15:14:01 +0530
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-03 06:05:02 +0000
commitbc4715ddac99ca104e1ba6b313f089cfe4039381 (patch)
tree4a7327112984c1398ffd9af382969b8ba4790e1b /sw/source/core
parent02981bec24fcbc160ac7e10aed3af6053aa1780a (diff)
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@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/access/accpreview.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/access/accpreview.cxx b/sw/source/core/access/accpreview.cxx
index 75220d5c81a4..269e1ed82c10 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_()