summaryrefslogtreecommitdiff
path: root/dbaccess/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-22 22:07:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-22 22:07:21 +0200
commit139dcea46bf3044697e857a9de0b59a4b943604a (patch)
tree65a1c699951c21df9d44ecebc0c553be0eb3c8f9 /dbaccess/qa
parent2b59ca5c36fb684cae438917f559e97272293e26 (diff)
loplugin:unreffun
Change-Id: Ia7b5ac5ca28d80c353f1ccdce4b69838e584d811
Diffstat (limited to 'dbaccess/qa')
-rw-r--r--dbaccess/qa/extras/macros-test.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/dbaccess/qa/extras/macros-test.cxx b/dbaccess/qa/extras/macros-test.cxx
index 761f24120422..76007205542e 100644
--- a/dbaccess/qa/extras/macros-test.cxx
+++ b/dbaccess/qa/extras/macros-test.cxx
@@ -23,6 +23,7 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
+#if !defined(MACOSX) && !defined(WNT)
class DBAccessTest : public UnoApiTest
{
@@ -32,9 +33,7 @@ public:
void test();
CPPUNIT_TEST_SUITE(DBAccessTest);
-#if !defined(MACOSX) && !defined(WNT)
CPPUNIT_TEST(test);
-#endif
CPPUNIT_TEST_SUITE_END();
};
@@ -56,6 +55,8 @@ void DBAccessTest::test()
CPPUNIT_TEST_SUITE_REGISTRATION(DBAccessTest);
+#endif
+
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */