diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-27 14:20:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-28 09:22:34 +0200 |
commit | 16246ed7b280f51a39a01ded24c0d7bd59d59365 (patch) | |
tree | e506c24eeae16b384555f08818e0b62ba41e0285 /sc/qa/extras | |
parent | 5d3c37b99e8bfa9256f12015152439bf4e5ebbb4 (diff) |
com::sun::star->css in sc
Change-Id: I7774890f46f9343e944e34db27af8bce3b1d0915
Diffstat (limited to 'sc/qa/extras')
-rw-r--r-- | sc/qa/extras/macros-test.cxx | 8 | ||||
-rw-r--r-- | sc/qa/extras/recordchanges-test.cxx | 4 | ||||
-rw-r--r-- | sc/qa/extras/regression-test.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/sccondformats.cxx | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx index 33faa9f95484..bfd0bf33917c 100644 --- a/sc/qa/extras/macros-test.cxx +++ b/sc/qa/extras/macros-test.cxx @@ -71,7 +71,7 @@ void ScMacrosTest::testMSP() const OUString aFileNameBase("MasterScriptProviderProblem.ods"); OUString aFileName; createFileURL(aFileNameBase, aFileName); - uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); + uno::Reference< css::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); CPPUNIT_ASSERT_MESSAGE("Failed to load MasterScriptProviderProblem.ods", xComponent.is()); @@ -103,7 +103,7 @@ void ScMacrosTest::testPasswordProtectedStarBasic() const OUString aFileNameBase("testTypePassword.ods"); OUString aFileName; createFileURL(aFileNameBase, aFileName); - uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); + uno::Reference< css::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); CPPUNIT_ASSERT_MESSAGE("Failed to load testTypePassword.ods", xComponent.is()); @@ -158,7 +158,7 @@ void ScMacrosTest::testStarBasic() const OUString aFileNameBase("StarBasic.ods"); OUString aFileName; createFileURL(aFileNameBase, aFileName); - uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); + uno::Reference< css::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); CPPUNIT_ASSERT_MESSAGE("Failed to load StarBasic.ods", xComponent.is()); @@ -302,7 +302,7 @@ void ScMacrosTest::testVba() { OUString aFileName; createFileURL(testInfo[i].sFileBaseName + "xls", aFileName); - uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); + uno::Reference< css::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); OUString sMsg( "Failed to load " + aFileName ); CPPUNIT_ASSERT_MESSAGE( OUStringToOString( sMsg, RTL_TEXTENCODING_UTF8 ).getStr(), xComponent.is() ); diff --git a/sc/qa/extras/recordchanges-test.cxx b/sc/qa/extras/recordchanges-test.cxx index fa3b36ea80c1..993841e62974 100644 --- a/sc/qa/extras/recordchanges-test.cxx +++ b/sc/qa/extras/recordchanges-test.cxx @@ -37,7 +37,7 @@ public: void ScRecordChangesTest::testSetRecordChanges() { - uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop("private:factory/scalc"); + uno::Reference< css::lang::XComponent > xComponent = loadFromDesktop("private:factory/scalc"); uno::Reference< sheet::XSpreadsheetDocument > xDoc(xComponent, UNO_QUERY_THROW); uno::Reference< beans::XPropertySet > xDocSettingsPropSet (xDoc, UNO_QUERY_THROW); @@ -67,7 +67,7 @@ void ScRecordChangesTest::testCheckRecordChangesProtection() // test with protected changes OUString aFileName; createFileURL( "RecordChangesProtected.ods", aFileName); - uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName); + uno::Reference< css::lang::XComponent > xComponent = loadFromDesktop(aFileName); uno::Reference< sheet::XSpreadsheetDocument > xDoc(xComponent, UNO_QUERY_THROW); uno::Reference< beans::XPropertySet > xDocSettingsPropSet (xDoc, UNO_QUERY_THROW); diff --git a/sc/qa/extras/regression-test.cxx b/sc/qa/extras/regression-test.cxx index ba3cca23a0e2..1ac0b9387b03 100644 --- a/sc/qa/extras/regression-test.cxx +++ b/sc/qa/extras/regression-test.cxx @@ -74,7 +74,7 @@ void ScChartRegressionTest::test() { OUString aFileName; createFileURL( "testChart.ods", aFileName); - uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); + uno::Reference< css::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument"); CPPUNIT_ASSERT(xComponent.is()); diff --git a/sc/qa/extras/sccondformats.cxx b/sc/qa/extras/sccondformats.cxx index 2868b8a11365..43d0d6ee948f 100644 --- a/sc/qa/extras/sccondformats.cxx +++ b/sc/qa/extras/sccondformats.cxx @@ -126,7 +126,7 @@ void ScConditionalFormatTest::testUndoAnchor() OUString aFileURL; createFileURL(OUString("document_with_linked_graphic.ods"), aFileURL); // open the document with graphic included - uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileURL); + uno::Reference< css::lang::XComponent > xComponent = loadFromDesktop(aFileURL); CPPUNIT_ASSERT(xComponent.is()); // Get the document model |