summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2018-03-13 00:04:04 +0100
committerBjörn Michaelsen <bjoern.michaelsen@libreoffice.org>2018-03-13 22:40:41 +0100
commitefcb9a7078e08a367816b825d14419ddf351ff3e (patch)
treef2f19152e2cf7845e3996be5ebfe37baa64cafc7 /sw/inc
parentf59cf3874a91158e82fc9d09d28d23e053ad06a3 (diff)
use sw::WriterMultiListener instead of SwDepend in SwPageDesc
Change-Id: Ifaf9c808e04e736d0a1f7eaf884b8674ac78e0f3 Reviewed-on: https://gerrit.libreoffice.org/51189 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/pagedesc.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx
index 60e5958de00e..c12d4349173a 100644
--- a/sw/inc/pagedesc.hxx
+++ b/sw/inc/pagedesc.hxx
@@ -146,7 +146,8 @@ class SW_DLLPUBLIC SwPageDesc : public SwModify
// FIXME epicycles growing here - page margins need to be stored differently
SwFrameFormat m_FirstMaster;
SwFrameFormat m_FirstLeft;
- SwDepend m_Depend; ///< Because of grid alignment (Registerhaltigkeit).
+ sw::WriterMultiListener m_aDepends; ///< Because of grid alignment (Registerhaltigkeit).
+ mutable const SwTextFormatColl* m_pTextFormatColl;
SwPageDesc *m_pFollow;
sal_uInt16 m_nRegHeight; ///< Sentence spacing and fontascent of style.
sal_uInt16 m_nRegAscent; ///< For grid alignment (Registerhaltigkeit).
@@ -177,7 +178,7 @@ class SW_DLLPUBLIC SwPageDesc : public SwModify
};
protected:
- virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNewValue ) override;
+ virtual void SwClientNotify(const SwModify&, const SfxHint&) override;
public:
const OUString& GetName() const { return m_StyleName; }