diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-09-20 10:18:12 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-09-21 09:28:39 +0200 |
commit | be6a8677a6ddb6387272a78406ec2149c4319f3d (patch) | |
tree | 0e6be3608de08f831f596a5c2dc5a3590d4a62c6 /sax/qa | |
parent | 6058133765a1f874d6bf9fb9f4d0811db32adc10 (diff) |
OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;
- removed trailing whitespaces and (multiple) newlines
Diffstat (limited to 'sax/qa')
-rw-r--r-- | sax/qa/cppunit/test_converter.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx index 1d514f5719fa..e03dead832dd 100644 --- a/sax/qa/cppunit/test_converter.cxx +++ b/sax/qa/cppunit/test_converter.cxx @@ -115,7 +115,7 @@ static void doTestDurationF(char const*const pis) void ConverterTest::testDuration() { - OSL_TRACE("\nSAX CONVERTER TEST BEGIN\n"); + OSL_TRACE("\nSAX CONVERTER TEST BEGIN"); doTest( util::Duration(false, 1, 0, 0, 0, 0, 0, 0), "P1Y" ); doTest( util::Duration(false, 0, 42, 0, 0, 0, 0, 0), "P42M" ); doTest( util::Duration(false, 0, 0, 111, 0, 0, 0, 0), "P111D" ); @@ -143,7 +143,7 @@ void ConverterTest::testDuration() doTestDurationF("PT.1S"); // invalid: no 0 preceding . doTestDurationF("PT5M.134S"); // invalid: no 0 preceding . doTestDurationF("PT1.S"); // invalid: no digit following . - OSL_TRACE("\nSAX CONVERTER TEST END\n"); + OSL_TRACE("\nSAX CONVERTER TEST END"); } @@ -186,7 +186,7 @@ static void doTestDateTimeF(char const*const pis) void ConverterTest::testDateTime() { - OSL_TRACE("\nSAX CONVERTER TEST BEGIN\n"); + OSL_TRACE("\nSAX CONVERTER TEST BEGIN"); doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), "0001-01-01T00:00:00" ); doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), "0001-01-01T00:00:00Z", "0001-01-01T00:00:00" ); @@ -237,7 +237,7 @@ void ConverterTest::testDateTime() doTestDateTimeF( "0001-01-02T00:00:00+14:01" ); // invalid: TZ > +14:00 doTestDateTimeF( "0001-01-02T00:00:00-15:00" ); // invalid: TZ < -14:00 doTestDateTimeF( "0001-01-02T00:00:00-14:01" ); // invalid: TZ < -14:00 - OSL_TRACE("\nSAX CONVERTER TEST END\n"); + OSL_TRACE("\nSAX CONVERTER TEST END"); } CPPUNIT_TEST_SUITE_REGISTRATION(ConverterTest); |