diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-24 20:54:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-25 19:01:03 +0200 |
commit | b4bf19321ed9ce2d0e49341193690fef0c7085ea (patch) | |
tree | 1ada5626ee19de2217f3178e2888282cd1aaf9f2 /sd | |
parent | 18321eb3f447c9e6519e1691673677fc8a2c8117 (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.cxx | 3 |
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" ); |