diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:54:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:55:35 +0200 |
commit | 523ce254a816be02acb7b5fe7ed99f60fef2e7c2 (patch) | |
tree | 92f54346262ebd5251402aa1b00ef80b71d3859c /sw/source/uibase/shells/textsh.cxx | |
parent | 255c96178890f3dabb2b644a044b3f60e173cb09 (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.cxx | 5 |
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() ); |