summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-03 15:29:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-03 15:29:22 +0200
commit82861c562f70aaeb76e10319377998fce5c65c4e (patch)
tree87238cf0499cbde6026e82645df81e87f673b353 /sal
parent1fc26b811256290880fa6e86c9146b48c052bde5 (diff)
Properly cover in #ifdef TIMETESTS
Change-Id: Iff8f992e5260150b9ba108698b506f5a9ec7dea2
Diffstat (limited to 'sal')
-rw-r--r--sal/cppunittester/cppunittester.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index c2bdb13df353..f4c2fc6c299a 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -73,6 +73,7 @@ std::string convertLazy(rtl::OUString const & s16) {
s8.getStr(), static_cast< std::string::size_type >(s8.getLength()));
}
+#if defined TIMETESTS
//Output how long each test took
class TimingListener
: public CppUnit::TestListener
@@ -94,6 +95,7 @@ public:
private:
sal_uInt32 m_nStartTime;
};
+#endif
#ifdef UNX
#include <stdlib.h>