summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml')
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index b7902b3e900d..579b6b8e3583 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -2873,8 +2873,7 @@ void ScXMLImport::SetStyleToRanges()
uno::Reference <lang::XMultiServiceFactory> xMultiServiceFactory(GetModel(), uno::UNO_QUERY);
if (xMultiServiceFactory.is())
xSheetCellRanges.set(uno::Reference <sheet::XSheetCellRangeContainer>(
- xMultiServiceFactory->createInstance(
- OUString("com.sun.star.sheet.SheetCellRanges")),
+ xMultiServiceFactory->createInstance("com.sun.star.sheet.SheetCellRanges"),
uno::UNO_QUERY));
}
OSL_ENSURE(xSheetCellRanges.is(), "didn't get SheetCellRanges");