diff options
Diffstat (limited to 'sw/inc/calbck.hxx')
-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; |