Kaydet (Commit) 4098e3e8 authored tarafından Noel Power's avatar Noel Power

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 )
üst 46ed13bd
...@@ -332,9 +332,9 @@ namespace sw { namespace mark ...@@ -332,9 +332,9 @@ namespace sw { namespace mark
} }
void CheckboxFieldmark::SetChecked(bool checked) void CheckboxFieldmark::SetChecked(bool checked)
{ {
(*GetParameters())[::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ODF_FORMCHECKBOX_RESULT))] = makeAny(checked);
if ( IsChecked() != checked ) if ( IsChecked() != checked )
{ {
(*GetParameters())[::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ODF_FORMCHECKBOX_RESULT))] = makeAny(checked);
// mark document as modified // mark document as modified
SwDoc *const pDoc( GetMarkPos().GetDoc() ); SwDoc *const pDoc( GetMarkPos().GetDoc() );
if ( pDoc ) if ( pDoc )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment