summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-11-22 18:41:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-27 06:49:04 +0100
commit87a399a74cba1f4111fa326a1c8769d0ea9f8954 (patch)
treee0b1294dfa0f3f648eab91a629910ea5feb38425
parent14d2b32a462be277038f6a3dbb056d267c3413a3 (diff)
use more OInterfaceContainerHelper3 in UndoManagerHelper_Impl
Change-Id: I9076f35366de690cca84361695d45ad3ffc31089 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125917 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--framework/source/fwe/helper/undomanagerhelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx
index 87cba0c6de09..be88d7fe3872 100644
--- a/framework/source/fwe/helper/undomanagerhelper.cxx
+++ b/framework/source/fwe/helper/undomanagerhelper.cxx
@@ -29,7 +29,7 @@
#include <com/sun/star/util/NotLockedException.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
-#include <comphelper/interfacecontainer2.hxx>
+#include <comphelper/interfacecontainer3.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <comphelper/flagguard.hxx>
#include <comphelper/asyncnotification.hxx>
@@ -202,8 +202,8 @@ namespace framework
bool m_bAPIActionRunning;
bool m_bProcessingEvents;
sal_Int32 m_nLockCount;
- ::comphelper::OInterfaceContainerHelper2 m_aUndoListeners;
- ::comphelper::OInterfaceContainerHelper2 m_aModifyListeners;
+ ::comphelper::OInterfaceContainerHelper3<XUndoManagerListener> m_aUndoListeners;
+ ::comphelper::OInterfaceContainerHelper3<XModifyListener> m_aModifyListeners;
IUndoManagerImplementation& m_rUndoManagerImplementation;
::std::stack< bool > m_aContextVisibilities;
#if OSL_DEBUG_LEVEL > 0