diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-23 22:01:46 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-27 08:12:28 +0200 |
commit | 201f05f9bf66d0467b1137f3712108a96c159698 (patch) | |
tree | 0190be400c55c5647acad545115fea9a4007f909 /desktop | |
parent | 7c4c9947b8e52ce67af1ab131ed583a41f0ddbfa (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 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) |