From 198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Feb 2017 11:22:18 +0200 Subject: new loplugin unoany Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/table/chartins.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/source/uibase/table') diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx index 208c34f6500b..2f7d457cd56c 100644 --- a/sw/source/uibase/table/chartins.cxx +++ b/sw/source/uibase/table/chartins.cxx @@ -182,12 +182,12 @@ void SwInsertChart(vcl::Window* pParent, SfxBindings* pBindings ) uno::Any* pArray = aSeq.getArray(); beans::PropertyValue aParam1; aParam1.Name = "ParentWindow"; - aParam1.Value = uno::makeAny(xDialogParentWindow); + aParam1.Value <<= xDialogParentWindow; beans::PropertyValue aParam2; aParam2.Name = "ChartModel"; - aParam2.Value = uno::makeAny(xChartModel); - pArray[0] = uno::makeAny(aParam1); - pArray[1] = uno::makeAny(aParam2); + aParam2.Value <<= xChartModel; + pArray[0] <<= aParam1; + pArray[1] <<= aParam2; xInit->initialize( aSeq ); // try to set the dialog's position so it doesn't hide the chart -- cgit