[PATCH] fdo#36524: Fixed remaining SwSectionFrm after deleting TOX
Cédric Bosdonnat
cedric.bosdonnat.ooo at free.fr
Thu May 12 08:08:32 PDT 2011
false transformed to true restored the SwSectionFrm after deleting it.
---
sw/source/core/layout/sectfrm.cxx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index 9868d2c..2eff305 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -2444,7 +2444,7 @@ void SwSectionFrm::SwClientNotify( const SwModify& rMod, const SfxHint& rHint )
const SfxSimpleHint* pSimpleHint = dynamic_cast<const SfxSimpleHint*>(&rHint);
if ( pSimpleHint && pSimpleHint->GetId() == SFX_HINT_DYING && &rMod == GetRegisteredIn() )
{
- SwSectionFrm::MoveCntntAndDelete( this, sal_True );
+ SwSectionFrm::MoveCntntAndDelete( this, sal_False );
}
}
--
1.7.3.4
--=-ycMPxtGEwWhMckIpCf3V--
More information about the LibreOffice
mailing list