From 201f05f9bf66d0467b1137f3712108a96c159698 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 23 Apr 2017 22:01:46 +1000 Subject: 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 Reviewed-by: Chris Sherlock --- desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index a419eb3ab84c..27af7dddca77 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3240,7 +3240,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char } if (eStage != SECOND_INIT) - ErrorHandler::RegisterDisplay(aBasicErrorFunc); + ErrorRegistry::RegisterDisplay(aBasicErrorFunc); SAL_INFO("lok", "LOK Initialized"); if (eStage == PRE_INIT) -- cgit