diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-13 14:51:53 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-14 02:23:44 +0100 |
commit | 0ec458926072457103cc9461cd908b8993d50402 (patch) | |
tree | 0dd2b3a01b2810e6ef21f01fcdd66b245b3c4c49 /sw/source/core/attr | |
parent | e755c1d446d719fe796ad7811405b7bf0680a190 (diff) |
inline SwDepends trivials
Change-Id: I6fb306aec5fee5f97a7ef33862f74f6030136fc0
Diffstat (limited to 'sw/source/core/attr')
-rw-r--r-- | sw/source/core/attr/calbck.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx index 7d317af38928..636ee94b7433 100644 --- a/sw/source/core/attr/calbck.cxx +++ b/sw/source/core/attr/calbck.cxx @@ -270,30 +270,5 @@ void SwModify::CheckCaching( const sal_uInt16 nWhich ) } } -SwDepend::SwDepend( SwClient* pTellHim, SwModify* pDepend ) - : SwClient( pDepend ) -{ - pToTell = pTellHim; -} - -void SwDepend::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewValue ) -{ - if( pNewValue && pNewValue->Which() == RES_OBJECTDYING ) - CheckRegistration(pOldValue,pNewValue); - else if( pToTell ) - pToTell->ModifyNotification(pOldValue, pNewValue); -} - -void SwDepend::SwClientNotify( const SwModify& rMod, const SfxHint& rHint ) -{ - if ( pToTell ) - pToTell->SwClientNotifyCall( rMod, rHint ); -} - -bool SwDepend::GetInfo( SfxPoolItem& rInfo ) const -{ - return pToTell ? pToTell->GetInfo( rInfo ) : true; -} - SwClientIter* SwClientIter::our_pClientIters = nullptr; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |