summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/viewsettings.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/viewsettings.cxx')
-rw-r--r--sc/source/filter/oox/viewsettings.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/oox/viewsettings.cxx b/sc/source/filter/oox/viewsettings.cxx
index 45a6a8fbcdd8..c72a61b17c15 100644
--- a/sc/source/filter/oox/viewsettings.cxx
+++ b/sc/source/filter/oox/viewsettings.cxx
@@ -23,11 +23,11 @@
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
-#include <com/sun/star/document/IndexedPropertyValues.hpp>
#include <com/sun/star/document/XViewDataSupplier.hpp>
#include <com/sun/star/document/NamedPropertyValues.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
+#include <comphelper/indexedpropertyvalues.hxx>
#include <osl/diagnose.h>
#include <unotools/mediadescriptor.hxx>
#include <oox/core/filterbase.hxx>
@@ -563,8 +563,8 @@ void ViewSettings::finalizeImport()
if( !rxActiveSheetView )
rxActiveSheetView = std::make_shared<SheetViewModel>();
- Reference< XIndexContainer > xContainer = IndexedPropertyValues::create( getBaseFilter().getComponentContext() );
- if( xContainer.is() ) try
+ rtl::Reference< comphelper::IndexedPropertyValuesContainer > xContainer = new comphelper::IndexedPropertyValuesContainer();
+ try
{
PropertyMap aPropMap;
aPropMap.setProperty( PROP_Tables, xSheetsNC);