summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-03-02 12:24:11 +0000
committerNoel Power <noel.power@novell.com>2011-03-02 12:27:52 +0000
commit636fa8da77e438fa04d331d96c4a8ebc5317560f (patch)
treefda46bf54bdcb24a4d8d5cf544e46fde5383ee35
parentf673812d6549db7c7b6fd295ddbf88fee162e8d7 (diff)
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 )
-rw-r--r--sw/source/core/crsr/bookmrk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx
index 3e5e39f5d2..b4e06357f9 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 )