diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2021-02-08 20:46:01 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2021-02-09 00:41:07 +0100 |
commit | dae4b159f628915e1ab8841e6bb66961ce4ea800 (patch) | |
tree | 1672299d458c397a1f15d25b3f5a4e48f51cbd20 /sw/inc | |
parent | dc1b416c684c4e2525978e48252d55d78adcfca8 (diff) |
Remove deadcode SwModify::CheckCaching()
Change-Id: I0048b211fa9b458456fbb408bcc82dbbe81a9504
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110595
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/calbck.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 0cd8efbee0ed..11a62033c5cc 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -195,6 +195,7 @@ public: void Add(SwClient *pDepend); SwClient* Remove(SwClient *pDepend); bool HasWriterListeners() const { return m_pWriterListeners; } + bool HasOnlyOneListener() const { return m_pWriterListeners && m_pWriterListeners->IsLast(); } // get information about attribute virtual bool GetInfo( SfxPoolItem& ) const override; @@ -202,9 +203,6 @@ public: void LockModify() { m_bModifyLocked = true; } void UnlockModify() { m_bModifyLocked = false; } bool IsModifyLocked() const { return m_bModifyLocked; } - - void CheckCaching( const sal_uInt16 nWhich ); - bool HasOnlyOneListener() const { return m_pWriterListeners && m_pWriterListeners->IsLast(); } }; template<typename TElementType, typename TSource, sw::IteratorMode eMode> class SwIterator; |