diff options
author | J. Graeme Lingard <jgraeme+git@gmail.com> | 2010-10-12 23:35:16 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-10-13 12:51:10 +0200 |
commit | 9f761a1f2490db5f98260b340fc98ee6187ea1c7 (patch) | |
tree | 8223c9b2df5e7c4d8b47a99c13f07b818bbc3b89 /sal/qa/rtl_strings | |
parent | 0c447c00a61b9394ec4ea36a974dceb9b9b6cb8d (diff) |
Remove redundant #include, #define & comments
Diffstat (limited to 'sal/qa/rtl_strings')
-rw-r--r-- | sal/qa/rtl_strings/rtl_old_testostring.cxx | 10 | ||||
-rw-r--r-- | sal/qa/rtl_strings/rtl_old_testowstring.cxx | 11 | ||||
-rw-r--r-- | sal/qa/rtl_strings/rtl_old_teststrbuf.cxx | 11 |
3 files changed, 1 insertions, 31 deletions
diff --git a/sal/qa/rtl_strings/rtl_old_testostring.cxx b/sal/qa/rtl_strings/rtl_old_testostring.cxx index c6709f389..a25bd6846 100644 --- a/sal/qa/rtl_strings/rtl_old_testostring.cxx +++ b/sal/qa/rtl_strings/rtl_old_testostring.cxx @@ -32,28 +32,18 @@ // this file is converted to use with testshl2 // original was placed in sal/test/textenc.cxx - -// ----------------------------------------------------------------------------- #include <string.h> #include <stdio.h> -// #include <osl/diagnose.h> - #include <rtl/string.hxx> #include <testshl/simpleheader.hxx> #define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c)) -// #if OSL_DEBUG_LEVEL > 0 -// #define TEST_ENSHURE(c, m) OSL_ENSURE(c, m) -// #else -// #define TEST_ENSHURE(c, m) OSL_VERIFY(c) -// #endif using namespace rtl; -// ----------------------------------------------------------------------------- namespace rtl_OString { class oldtests : public CppUnit::TestFixture diff --git a/sal/qa/rtl_strings/rtl_old_testowstring.cxx b/sal/qa/rtl_strings/rtl_old_testowstring.cxx index 57055328b..987806376 100644 --- a/sal/qa/rtl_strings/rtl_old_testowstring.cxx +++ b/sal/qa/rtl_strings/rtl_old_testowstring.cxx @@ -32,8 +32,6 @@ // this file is converted to use with testshl2 // original was placed in sal/test/textenc.cxx - -// ----------------------------------------------------------------------------- #include <string.h> #include <stdio.h> @@ -44,8 +42,6 @@ #include <wcstr.h> #endif -// #include <osl/diagnose.h> - #include <rtl/ustring.hxx> #include <rtl/string.hxx> @@ -55,15 +51,10 @@ #include <testshl/simpleheader.hxx> #define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c)) -// #if OSL_DEBUG_LEVEL > 0 -// #define TEST_ENSHURE(c, m) OSL_ENSURE(c, m) -// #else -// #define TEST_ENSHURE(c, m) OSL_VERIFY(c) -// #endif + using namespace rtl; -// ----------------------------------------------------------------------------- namespace rtl_OUString { class oldtests : public CppUnit::TestFixture diff --git a/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx b/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx index b8c1a726e..942fd1235 100644 --- a/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx +++ b/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx @@ -32,14 +32,9 @@ // this file is converted to use with testshl2 // original was placed in sal/test/textenc.cxx - -// ----------------------------------------------------------------------------- - #include <string.h> #include <stdio.h> -// #include <osl/diagnose.h> - #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> @@ -50,13 +45,7 @@ using namespace rtl; #define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c)) -// #if OSL_DEBUG_LEVEL > 0 -// #define TEST_ENSHURE(c, m) OSL_ENSURE(c, m) -// #else -// #define TEST_ENSHURE(c, m) OSL_VERIFY(c) -// #endif -// ----------------------------------------------------------------------------- namespace rtl_OStringBuffer { class oldtests : public CppUnit::TestFixture |