sw/inc/calbck.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit dae4b159f628915e1ab8841e6bb66961ce4ea800 Author: Bjoern Michaelsen <[email protected]> AuthorDate: Mon Feb 8 20:46:01 2021 +0100 Commit: Bjoern Michaelsen <[email protected]> CommitDate: Tue Feb 9 00:41:07 2021 +0100 Remove deadcode SwModify::CheckCaching() Change-Id: I0048b211fa9b458456fbb408bcc82dbbe81a9504 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110595 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <[email protected]> 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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
