summaryrefslogtreecommitdiff
path: root/test/source/bootstrapfixture.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-04-23 22:01:46 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-04-27 08:12:28 +0200
commit201f05f9bf66d0467b1137f3712108a96c159698 (patch)
tree0190be400c55c5647acad545115fea9a4007f909 /test/source/bootstrapfixture.cxx
parent7c4c9947b8e52ce67af1ab131ed583a41f0ddbfa (diff)
vcl: move RegisterDisplay() from ErrorHandler to ErrorRegistry
It is the error registry that should register the display, not the error handler. Move this function to the class that is responsible for it. Change-Id: I95ca1662b907a7f38a42a39ec729b35fd530bb79 Reviewed-on: https://gerrit.libreoffice.org/36853 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'test/source/bootstrapfixture.cxx')
-rw-r--r--test/source/bootstrapfixture.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index 9cf167aa8d58..12657ab6a188 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -65,7 +65,7 @@ void test_init_impl(bool bAssertOnDialog, bool bNeedUCB,
lang::XMultiServiceFactory * pSFactory)
{
if (bAssertOnDialog)
- ErrorHandler::RegisterDisplay( aBasicErrorFunc );
+ ErrorRegistry::RegisterDisplay( aBasicErrorFunc );
// Make GraphicConverter work, normally done in desktop::Desktop::Main()
Application::SetFilterHdl(