diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-05 14:04:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-05 14:05:21 +0200 |
commit | 9bbfb78de44c93a19a7dc919f960e2ee17c17c4e (patch) | |
tree | 14ddb85bd61b15b00bc366572762ba661b63cf56 /sw | |
parent | 0a442d38157190c77eb04d53a90520913b93226c (diff) |
loplugin:staticmethods
Change-Id: I5d02ba0db00e11af3c17eaf77ce19c635a52077f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/inc/bordertest.hxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/ww8import/ww8import.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sw/qa/extras/inc/bordertest.hxx b/sw/qa/extras/inc/bordertest.hxx index dfd41ad54eff..fdee574641b2 100644 --- a/sw/qa/extras/inc/bordertest.hxx +++ b/sw/qa/extras/inc/bordertest.hxx @@ -26,7 +26,7 @@ public: { } - void testTheBorders(uno::Reference<lang::XComponent> mxComponent, bool isBinaryDoc) + static void testTheBorders(uno::Reference<lang::XComponent> mxComponent, bool isBinaryDoc) { uno::Reference<text::XTextDocument> textDocument(mxComponent, uno::UNO_QUERY); uno::Reference<container::XEnumerationAccess> xParaEnumAccess(textDocument->getText(), uno::UNO_QUERY); diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index c9c03686baf6..0a5aa3fadd1e 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -700,7 +700,7 @@ DECLARE_OOXMLIMPORT_TEST(testBnc773061, "bnc773061.docx") DECLARE_OOXMLIMPORT_TEST(testAllGapsWord, "all_gaps_word.docx") { BorderTest borderTest; - borderTest.testTheBorders(mxComponent, false); + BorderTest::testTheBorders(mxComponent, false); } DECLARE_OOXMLIMPORT_TEST(testN775906, "n775906.docx") diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index ae2873e2a120..13c9d34e1c1f 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -751,7 +751,7 @@ DECLARE_RTFIMPORT_TEST(testFdo47495, "fdo47495.rtf") DECLARE_RTFIMPORT_TEST(testAllGapsWord, "all_gaps_word.rtf") { BorderTest borderTest; - borderTest.testTheBorders(mxComponent, false); + BorderTest::testTheBorders(mxComponent, false); } DECLARE_RTFIMPORT_TEST(testFdo52052, "fdo52052.rtf") diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx index 0c0da881233a..6f4f75bcf774 100644 --- a/sw/qa/extras/ww8import/ww8import.cxx +++ b/sw/qa/extras/ww8import/ww8import.cxx @@ -185,7 +185,7 @@ DECLARE_WW8IMPORT_TEST(testN757905, "n757905.doc") DECLARE_WW8IMPORT_TEST(testAllGapsWord, "all_gaps_word.doc") { BorderTest borderTest; - borderTest.testTheBorders(mxComponent, true); + BorderTest::testTheBorders(mxComponent, true); } DECLARE_WW8IMPORT_TEST(testI120158, "i120158.doc") |