[Libreoffice-commits] .: sw/source

Noel Power noelp at kemper.freedesktop.org
Wed Mar 2 04:41:22 PST 2011


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

New commits:
commit 636fa8da77e438fa04d331d96c4a8ebc5317560f
Author: Noel Power <noel.power at novell.com>
Date:   Wed Mar 2 12:24:11 2011 +0000

    minor tweak to existing fix for ( bnc#660816 & fdo#34908
    
    it seems the orig commit ( af4d6062b7e676ed56dc84927fb99b79aa03a7b5 ) when tweaked for libreoffice3.3 had a little mistake introduced ( which then go ported into master )

diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx
index 3e5e39f..b4e0635 100644
--- a/sw/source/core/crsr/bookmrk.cxx
+++ b/sw/source/core/crsr/bookmrk.cxx
@@ -332,9 +332,9 @@ namespace sw { namespace mark
     }
     void CheckboxFieldmark::SetChecked(bool checked)
     {
-        (*GetParameters())[::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ODF_FORMCHECKBOX_RESULT))] = makeAny(checked);
         if ( IsChecked() != checked )
         {
+            (*GetParameters())[::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ODF_FORMCHECKBOX_RESULT))] = makeAny(checked);
             // mark document as modified
             SwDoc *const pDoc( GetMarkPos().GetDoc() );
             if ( pDoc )


More information about the Libreoffice-commits mailing list