diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2018-01-25 02:21:24 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2018-01-25 02:21:24 +0100 |
commit | 5872783c90250ad7c5794a1eafa0a1d7ef19dc6a (patch) | |
tree | 97bf090b506f80c5a1445e410c786c023d6b1b54 /sw/source/core/layout/atrfrm.cxx | |
parent | 2caa5e4247b1076961510682a0340657050d49b3 (diff) |
more GetRegisteredIn obsoleted by StopListeningAll()
Change-Id: I7d69a5112e03cec1b8ebdc389940557b4dbd1117
Diffstat (limited to 'sw/source/core/layout/atrfrm.cxx')
-rw-r--r-- | sw/source/core/layout/atrfrm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx index dc16db754289..dbf74b41e7aa 100644 --- a/sw/source/core/layout/atrfrm.cxx +++ b/sw/source/core/layout/atrfrm.cxx @@ -2055,16 +2055,16 @@ void SwFormatChain::SetPrev( SwFlyFrameFormat *pFormat ) { if ( pFormat ) pFormat->Add( &aPrev ); - else if ( aPrev.GetRegisteredIn() ) - aPrev.GetRegisteredIn()->Remove( &aPrev ); + else + aPrev.EndListeningAll(); } void SwFormatChain::SetNext( SwFlyFrameFormat *pFormat ) { if ( pFormat ) pFormat->Add( &aNext ); - else if ( aNext.GetRegisteredIn() ) - aNext.GetRegisteredIn()->Remove( &aNext ); + else + aNext.EndListeningAll(); } bool SwFormatChain::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const |