summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scmodelobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scmodelobj.cxx')
-rw-r--r--sc/qa/extras/scmodelobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/scmodelobj.cxx b/sc/qa/extras/scmodelobj.cxx
index e41f7ddce932..167e3b290045 100644
--- a/sc/qa/extras/scmodelobj.cxx
+++ b/sc/qa/extras/scmodelobj.cxx
@@ -46,7 +46,7 @@ uno::Reference< uno::XInterface > ScModelObj::init()
rtl::OUString aFileURL;
createFileURL(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ScModelObj.ods")), aFileURL);
if(!mxComponent.is())
- mxComponent = loadFromDesktop(aFileURL);
+ mxComponent = loadFromDesktop(aFileURL, "com.sun.star.sheet.SpreadsheetDocument");
CPPUNIT_ASSERT(mxComponent.is());
return mxComponent;