diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-24 11:37:59 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-24 18:05:04 +0200 |
commit | 331a013ee3dffd39c1999ab56f3a18160e76f50a (patch) | |
tree | 8cf5507cb86d90408092d992b9e47da6919e1caf /include | |
parent | 60b9008d20641b4e454431c148fa8d77c98a75c8 (diff) |
UnoApiTest: factor out common code
Change-Id: Ia8874d65ea8d7eb26d10b18e37ba2bac1a7d756b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141730
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/test/sheet/xspreadsheets2.hxx | 2 | ||||
-rw-r--r-- | include/test/unoapi_test.hxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/test/sheet/xspreadsheets2.hxx b/include/test/sheet/xspreadsheets2.hxx index e96367d9472f..1b8d9b8023e3 100644 --- a/include/test/sheet/xspreadsheets2.hxx +++ b/include/test/sheet/xspreadsheets2.hxx @@ -38,10 +38,8 @@ public: void testImportCellStyle(); void testLastAfterInsertCopy(); - virtual css::uno::Reference< css::lang::XComponent > getComponent() = 0; virtual css::uno::Reference< css::uno::XInterface > init() = 0; virtual css::uno::Reference< css::lang::XComponent > loadFromDesktop(const OUString&) = 0; - virtual void createFileURL(const OUString&, OUString&) = 0; protected: css::uno::Reference< css::sheet::XSpreadsheetDocument> xDocument; diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx index 8dbc3acc257e..d38453432f54 100644 --- a/include/test/unoapi_test.hxx +++ b/include/test/unoapi_test.hxx @@ -27,7 +27,8 @@ class OOO_DLLPUBLIC_TEST UnoApiTest : public test::BootstrapFixture, public unot public: UnoApiTest(OUString path); - void createFileURL(std::u16string_view aFileBase, OUString& rFilePath); + OUString createFileURL(std::u16string_view aFileBase); + OUString loadFromURL(std::u16string_view aFileBase); virtual void setUp() override; virtual void tearDown() override; |