diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-31 17:16:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-08 08:44:33 +0200 |
commit | a5536d9a0eac922d18f9008122034ca943d50148 (patch) | |
tree | 7144cf59587b5835f8bf2f353739836b4dd49956 /sw/source/ui/table | |
parent | 3cc85b071fdcf75adf8bcb3d59984940395c81e1 (diff) |
remove unnecessary use of OUString constructor in SW module
Change-Id: I015959dce567e5579ebb5c775fb57ae14e1cd3b1
Diffstat (limited to 'sw/source/ui/table')
-rw-r--r-- | sw/source/ui/table/chartins.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/ui/table/chartins.cxx b/sw/source/ui/table/chartins.cxx index 19fd3b99ce17..a2654e21a1eb 100644 --- a/sw/source/ui/table/chartins.cxx +++ b/sw/source/ui/table/chartins.cxx @@ -157,9 +157,7 @@ void SwInsertChart(Window* pParent, SfxBindings* pBindings ) if( ! rWrtShell.IsTblComplexForChart()) { SwFrmFmt* pTblFmt = rWrtShell.GetTableFmt(); - aRangeString = pTblFmt->GetName(); - aRangeString += OUString( sal_Unicode('.') ); - aRangeString += rWrtShell.GetBoxNms(); + aRangeString = pTblFmt->GetName() + "." + rWrtShell.GetBoxNms(); // get table data provider xDataProvider.set( pView->GetDocShell()->getIDocumentChartDataProviderAccess()->GetChartDataProvider( true ) ); @@ -190,10 +188,10 @@ void SwInsertChart(Window* pParent, SfxBindings* pBindings ) uno::Sequence<uno::Any> aSeq(2); uno::Any* pArray = aSeq.getArray(); beans::PropertyValue aParam1; - aParam1.Name = OUString("ParentWindow"); + aParam1.Name = "ParentWindow"; aParam1.Value <<= uno::makeAny(xDialogParentWindow); beans::PropertyValue aParam2; - aParam2.Name = OUString("ChartModel"); + aParam2.Name = "ChartModel"; aParam2.Value <<= uno::makeAny(xChartModel); pArray[0] <<= uno::makeAny(aParam1); pArray[1] <<= uno::makeAny(aParam2); |