diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-07-10 14:46:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-07-10 15:30:34 +0200 |
commit | d18308cf3b25ee30815bcaae73d49b5f5b8e734e (patch) | |
tree | 84c41e7cc85a1b842051af439d3ba28a668ca767 /xmloff | |
parent | 2292f0026284b69ad3351e7a45dfc36fc41dd1a2 (diff) |
fdo#79358: ODF export: fix index boolean property export
Due to inverted conditional, only the default values were exported, not
the non-default ones...
(regression from 8a81f542a6ca566661305c53899b7e422cbaa432)
Change-Id: I0b1fc828230695709db49e1643801842d947403c
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/XMLSectionExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLSectionExport.cxx b/xmloff/source/text/XMLSectionExport.cxx index adff8dd46d5c..fb5ee6f9003d 100644 --- a/xmloff/source/text/XMLSectionExport.cxx +++ b/xmloff/source/text/XMLSectionExport.cxx @@ -1608,7 +1608,7 @@ void XMLSectionExport::ExportBoolean( // value = value ^ bInvert // omit if value == default - if ( (bTmp != bInvert) == bDefault ) + if ( (bTmp != bInvert) != bDefault ) { // export non-default value (since default is omitted) GetExport().AddAttribute(XML_NAMESPACE_TEXT, |