[Libreoffice-commits] core.git: sw/inc

Bjoern Michaelsen (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 8 23:41:51 UTC 2021


 sw/inc/calbck.hxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit dae4b159f628915e1ab8841e6bb66961ce4ea800
Author:     Bjoern Michaelsen <bjoern.michaelsen at libreoffice.org>
AuthorDate: Mon Feb 8 20:46:01 2021 +0100
Commit:     Bjoern Michaelsen <bjoern.michaelsen at libreoffice.org>
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 <bjoern.michaelsen at libreoffice.org>

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;


More information about the Libreoffice-commits mailing list