[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sw/source

Noel Power noelp at kemper.freedesktop.org
Thu May 12 08:38:06 PDT 2011


 sw/source/core/layout/sectfrm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 07aedcbb2492e2e47167c8e059467ece5f01d383
Author: Cédric Bosdonnat <cedric.bosdonnat.ooo at free.fr>
Date:   Thu May 12 17:08:32 2011 +0200

    fdo#36524: Fixed remaining SwSectionFrm after deleting TOX
    
    false transformed to true restored the SwSectionFrm after deleting it.

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 );
     }
 }
 


More information about the Libreoffice-commits mailing list