diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/calbck.hxx | 6 | ||||
-rw-r--r-- | sw/inc/swtblfmt.hxx | 2 | ||||
-rw-r--r-- | sw/inc/unotextrange.hxx | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index e5d90269777e..dea6e20c24aa 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -26,8 +26,7 @@ #include "hints.hxx" #include <typeinfo> #include <type_traits> -#include <vector> -#include <memory> +#include <list> class SwModify; @@ -236,12 +235,13 @@ private: class SW_DLLPUBLIC SwMultiDepend final { SwClient& m_rToTell; - std::vector<std::shared_ptr<SwDepend>> m_vpDepends; + std::list<SwDepend> m_vDepends; public: SwMultiDepend(SwClient& rToTell) : m_rToTell(rToTell) {} void StartListening(SwModify* pDepend); void EndListening(SwModify* pDepend); + bool IsListeningTo(const SwModify* const pDepend); void EndListeningAll(); }; diff --git a/sw/inc/swtblfmt.hxx b/sw/inc/swtblfmt.hxx index 63f7f3ee46b0..038bccab593b 100644 --- a/sw/inc/swtblfmt.hxx +++ b/sw/inc/swtblfmt.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_INC_SWTBLFMT_HXX #include "frmfmt.hxx" +#include "pam.hxx" class SwDoc; @@ -37,6 +38,7 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwTableFormat) virtual bool supportsFullDrawingLayerFillAttributeSet() const override; + SwPosition GetPosition() const; }; class SwTableLineFormat final : public SwFrameFormat diff --git a/sw/inc/unotextrange.hxx b/sw/inc/unotextrange.hxx index 9506a7790852..8631b585519c 100644 --- a/sw/inc/unotextrange.hxx +++ b/sw/inc/unotextrange.hxx @@ -112,7 +112,7 @@ public: const css::uno::Reference< css::text::XText > & xParent, const enum RangePosition eRange = RANGE_IN_TEXT); // only for RANGE_IS_TABLE - SwXTextRange(SwFrameFormat& rTableFormat); + SwXTextRange(SwTableFormat& rTableFormat); const SwDoc& GetDoc() const; SwDoc& GetDoc(); |