diff options
author | Wastack <btomi96@gmail.com> | 2016-03-31 08:45:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 06:46:02 +0000 |
commit | eea3f508c35f8f391825761ab6e1f3fbfb2fd0c1 (patch) | |
tree | d956fb94b7d9cf4b978eb1a9aca2910fca93d384 /sax/qa | |
parent | 1271eadfac7e77ff7b249e64be3857ffdc0a261c (diff) |
tdf#97966 Drop 'static' keywords
Including no keywords from extern "C" blocks
Change-Id: I87f2ed75888b51ec9e0cb75566bf7c2351b479b4
Reviewed-on: https://gerrit.libreoffice.org/23675
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sax/qa')
-rw-r--r-- | sax/qa/cppunit/test_converter.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx index d8fe313eb047..c8b813c47d22 100644 --- a/sax/qa/cppunit/test_converter.cxx +++ b/sax/qa/cppunit/test_converter.cxx @@ -76,7 +76,7 @@ public: private: }; -static void doTest(util::Duration const & rid, char const*const pis, +void doTest(util::Duration const & rid, char const*const pis, char const*const i_pos = nullptr) { char const*const pos((i_pos) ? i_pos : pis); @@ -100,7 +100,7 @@ static void doTest(util::Duration const & rid, char const*const pis, CPPUNIT_ASSERT(buf.makeStringAndClear().equalsAscii(pos)); } -static void doTestDurationF(char const*const pis) +void doTestDurationF(char const*const pis) { util::Duration od; bool bSuccess = Converter::convertDuration(od, @@ -144,7 +144,7 @@ void ConverterTest::testDuration() } -static bool eqDateTime(const util::DateTime& a, const util::DateTime& b) { +bool eqDateTime(const util::DateTime& a, const util::DateTime& b) { return a.Year == b.Year && a.Month == b.Month && a.Day == b.Day && a.Hours == b.Hours && a.Minutes == b.Minutes && a.Seconds == b.Seconds @@ -152,7 +152,7 @@ static bool eqDateTime(const util::DateTime& a, const util::DateTime& b) { && a.IsUTC == b.IsUTC; } -static void doTest(util::DateTime const & rdt, char const*const pis, +void doTest(util::DateTime const & rdt, char const*const pis, char const*const i_pos = nullptr) { char const*const pos((i_pos) ? i_pos : pis); @@ -170,7 +170,7 @@ static void doTest(util::DateTime const & rdt, char const*const pis, buf.makeStringAndClear()); } -static void doTestDateTimeF(char const*const pis) +void doTestDateTimeF(char const*const pis) { util::DateTime odt; bool bSuccess = Converter::parseDateTime(odt, nullptr, @@ -247,7 +247,7 @@ void ConverterTest::testDateTime() SAL_INFO("sax.cppunit","\nSAX CONVERTER TEST END"); } -static void doTestTime(util::DateTime const & rdt, char const*const pis, +void doTestTime(util::DateTime const & rdt, char const*const pis, char const*const i_pos = nullptr) { char const*const pos((i_pos) ? i_pos : pis); @@ -265,7 +265,7 @@ static void doTestTime(util::DateTime const & rdt, char const*const pis, buf.makeStringAndClear()); } -static void doTestTimeF(char const*const pis) +void doTestTimeF(char const*const pis) { util::DateTime odt; bool bSuccess = Converter::parseTimeOrDateTime(odt, nullptr, |