summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/errorhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa/cppunit/errorhandler.cxx')
-rw-r--r--vcl/qa/cppunit/errorhandler.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/errorhandler.cxx b/vcl/qa/cppunit/errorhandler.cxx
index 2936234ceedf..21c672ac5ba6 100644
--- a/vcl/qa/cppunit/errorhandler.cxx
+++ b/vcl/qa/cppunit/errorhandler.cxx
@@ -12,9 +12,13 @@
#include <vcl/errinf.hxx>
+class ErrorHandlerTest;
+
+namespace {
+
class MockErrorHandler : private ErrorHandler
{
- friend class ErrorHandlerTest;
+ friend ErrorHandlerTest;
protected:
virtual bool CreateString(const ErrorInfo *pErrInfo, OUString &rErrString) const override
@@ -28,6 +32,7 @@ protected:
}
};
+}
class ErrorHandlerTest : public test::BootstrapFixture
{