summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-24 20:54:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-25 19:01:03 +0200
commitb4bf19321ed9ce2d0e49341193690fef0c7085ea (patch)
tree1ada5626ee19de2217f3178e2888282cd1aaf9f2 /sd
parent18321eb3f447c9e6519e1691673677fc8a2c8117 (diff)
directly instantiate IndexedPropertyValuesContainer
without the overhead of the UNO service engine Change-Id: I4a02fda2b3c92a897634374bf72cfffee4f531f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134923 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 5e24a5cfcfdf..ff66696d7d8f 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -32,6 +32,7 @@
#include <com/sun/star/embed/Aspects.hpp>
#include <officecfg/Office/Common.hxx>
+#include <comphelper/indexedpropertyvalues.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/sequence.hxx>
@@ -610,7 +611,7 @@ uno::Reference < container::XIndexAccess > SAL_CALL SdXImpressDocument::getViewD
if( !rList.empty() )
{
- xRet = document::IndexedPropertyValues::create( ::comphelper::getProcessComponentContext() );
+ xRet = new comphelper::IndexedPropertyValuesContainer();
uno::Reference < container::XIndexContainer > xCont( xRet, uno::UNO_QUERY );
DBG_ASSERT( xCont.is(), "SdXImpressDocument::getViewData() failed for OLE object" );