diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-10 11:56:41 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-11 09:56:45 +0100 |
commit | e9f78eda01172c7f100d6e7695aaafe2b961d565 (patch) | |
tree | 7ed51cbc9b30f92f36fdd7c565195ad90904ba3f /sw/qa/core/text/text.cxx | |
parent | 699251315aeba9620310410c0576c8b9c052c8b2 (diff) |
SwModelTestBase: remove duplicated method
Change-Id: I343fe2711e232ffbdec13f0072ee31a7549f7da8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142546
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/core/text/text.cxx')
-rw-r--r-- | sw/qa/core/text/text.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/qa/core/text/text.cxx b/sw/qa/core/text/text.cxx index d51f6c18f71c..e8ab18ff9682 100644 --- a/sw/qa/core/text/text.cxx +++ b/sw/qa/core/text/text.cxx @@ -72,7 +72,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testFootnoteConnect) CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testSemiTransparentText) { // Create an in-memory empty document. - loadURL("private:factory/swriter", nullptr); + createSwDoc(); // Set text to half-transparent and type a character. uno::Reference<beans::XPropertySet> xParagraph(getParagraph(1), uno::UNO_QUERY); @@ -324,7 +324,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testClearingLineBreakLeft) { // Given a document with two anchored objects (left height is 5cm, right height is 7.5cm) and a // clearing break (type=left): - loadURL("private:factory/swriter", nullptr); + createSwDoc(); uno::Reference<lang::XMultiServiceFactory> xFactory(mxComponent, uno::UNO_QUERY); uno::Reference<text::XTextDocument> xDocument(mxComponent, uno::UNO_QUERY); uno::Reference<text::XText> xText = xDocument->getText(); @@ -375,7 +375,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testClearingLineBreakLeft) CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testClearingLineBreakLeftRTL) { // Given a document with an anchored object in an RTL para and a clearing break (type=left): - loadURL("private:factory/swriter", nullptr); + createSwDoc(); uno::Reference<lang::XMultiServiceFactory> xFactory(mxComponent, uno::UNO_QUERY); uno::Reference<text::XTextDocument> xDocument(mxComponent, uno::UNO_QUERY); uno::Reference<text::XText> xText = xDocument->getText(); @@ -416,7 +416,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testClearingLineBreakLeftRTL) CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testClearingLineBreakVertical) { // Given a document with an anchored object in a vertical page and a clearing break (type=all): - loadURL("private:factory/swriter", nullptr); + createSwDoc(); uno::Reference<lang::XMultiServiceFactory> xFactory(mxComponent, uno::UNO_QUERY); uno::Reference<text::XTextDocument> xDocument(mxComponent, uno::UNO_QUERY); uno::Reference<text::XText> xText = xDocument->getText(); |