summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-06-23 20:24:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-06-24 18:32:12 +0200
commita07c6264660d782b396c4a4b2939f8c9767a1bf3 (patch)
treee4e32fa31cea1b8d4f6a76df57cd19fe2da47b3e /sw/inc
parentda278e421909653ba85054daf6103991e56ffa26 (diff)
no need to use a mix of pimpl and normal fields for SwXFrame
Change-Id: I90a6f1f1854ac1c5da2133122f17c14c58ec2d13 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169361 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/unoframe.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx
index 46963a85c425..3760bb311200 100644
--- a/sw/inc/unoframe.hxx
+++ b/sw/inc/unoframe.hxx
@@ -29,6 +29,7 @@
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/document/XEventsSupplier.hpp>
+#include <comphelper/interfacecontainer4.hxx>
#include <cppuhelper/implbase.hxx>
#include <sal/types.h>
#include <svl/listener.hxx>
@@ -38,6 +39,7 @@
#include "unotext.hxx"
#include <memory>
+#include <mutex>
class SdrObject;
class SwDoc;
@@ -58,8 +60,8 @@ class SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE("crosscast") SwXFrame : public cp
public SvtListener
{
private:
- class Impl;
- ::sw::UnoImplPtr<Impl> m_pImpl;
+ std::mutex m_Mutex; // just for OInterfaceContainerHelper4
+ ::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> m_EventListeners;
SwFrameFormat* m_pFrameFormat;
const SfxItemPropertySet* m_pPropSet;