summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbachartobject.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 23:26:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 08:09:59 +0200
commit6cd4194e05233e8d1ddb59ffb9703778668b3f1b (patch)
tree7426ebc757cc92988d561b07580854b55160c3b5 /sc/source/ui/vba/vbachartobject.cxx
parent5fc8f8620d0367813d20b9a90ece47f0674996b3 (diff)
Just use Any ctor instead of makeAny in sc
Change-Id: I5c2363ff03ae02274f3c334cc262977c834950d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133788 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/vba/vbachartobject.cxx')
-rw-r--r--sc/source/ui/vba/vbachartobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbachartobject.cxx b/sc/source/ui/vba/vbachartobject.cxx
index 2afcea0ffe2f..5246a9040eb6 100644
--- a/sc/source/ui/vba/vbachartobject.cxx
+++ b/sc/source/ui/vba/vbachartobject.cxx
@@ -114,7 +114,7 @@ ScVbaChartObject::Activate()
// the XModel owner
//uno::Reference< view::XSelectionSupplier > xSelectionSupplier( getXModel().getCurrentController());
uno::Reference< view::XSelectionSupplier > xSelectionSupplier( getCurrentExcelDoc(mxContext)->getCurrentController(), uno::UNO_QUERY_THROW );
- xSelectionSupplier->select(uno::makeAny(xShape));
+ xSelectionSupplier->select(uno::Any(xShape));
}
catch (uno::Exception& )
{