summaryrefslogtreecommitdiff
path: root/sfx2
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 /sfx2
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 'sfx2')
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 4d95e47ba1be..dc9a056e31bb 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -42,7 +42,6 @@
#include <com/sun/star/frame/DoubleInitializationException.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/document/XStorageChangeListener.hpp>
-#include <com/sun/star/document/IndexedPropertyValues.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
@@ -60,6 +59,7 @@
#include <com/sun/star/util/InvalidStateException.hpp>
#include <com/sun/star/util/CloseVetoException.hpp>
#include <comphelper/enumhelper.hxx>
+#include <comphelper/indexedpropertyvalues.hxx>
#include <comphelper/string.hxx>
#include <cppuhelper/implbase.hxx>
@@ -3293,7 +3293,7 @@ Reference < container::XIndexAccess > SAL_CALL SfxBaseModel::getViewData()
// currently no frame for this document at all or View is under construction
return Reference < container::XIndexAccess >();
- m_pData->m_contViewData = document::IndexedPropertyValues::create( ::comphelper::getProcessComponentContext() );
+ m_pData->m_contViewData = new comphelper::IndexedPropertyValuesContainer();
if ( !m_pData->m_contViewData.is() )
{