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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/misc/ehdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx index abf9af1dd6c6..850813183f78 100644 --- a/svtools/source/misc/ehdl.cxx +++ b/svtools/source/misc/ehdl.cxx @@ -145,7 +145,7 @@ SfxErrorHandler::SfxErrorHandler(sal_uInt16 nIdP, sal_uLong lStartP, sal_uLong l lStart(lStartP), lEnd(lEndP), nId(nIdP), pMgr(pMgrP), pFreeMgr( nullptr ) { - RegisterDisplay(&aWndFunc); + ErrorRegistry::RegisterDisplay(&aWndFunc); if( ! pMgr ) { pMgr = ResMgr::CreateResMgr("ofa", Application::GetSettings().GetUILanguageTag() ); |