summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textsh.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-26 13:54:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-26 13:55:35 +0200
commit523ce254a816be02acb7b5fe7ed99f60fef2e7c2 (patch)
tree92f54346262ebd5251402aa1b00ef80b71d3859c /sw/source/uibase/shells/textsh.cxx
parent255c96178890f3dabb2b644a044b3f60e173cb09 (diff)
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: Idb9f1439a786d90679ed6eb95153844332e44b02
Diffstat (limited to 'sw/source/uibase/shells/textsh.cxx')
-rw-r--r--sw/source/uibase/shells/textsh.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index d2f69e10ed57..9bab3ad99e38 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -435,9 +435,8 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
if (!GetShell().IsTableComplexForChart())
{
SwFrameFormat* pTableFormat = GetShell().GetTableFormat();
- aRangeString = pTableFormat->GetName();
- aRangeString += OUString( '.' );
- aRangeString += GetShell().GetBoxNms();
+ aRangeString = pTableFormat->GetName() + "."
+ + GetShell().GetBoxNms();
// get table data provider
xDataProvider.set( GetView().GetDocShell()->getIDocumentChartDataProviderAccess()->GetChartDataProvider() );