summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-08 09:49:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-08 09:49:50 +0200
commit3bb2c23f5b03120f71ac8ed8f9a00b4d30666c82 (patch)
tree5814db7a396a2d60818c80e1697628a73979bcbd /oox
parentb75c3bd0faf00112b26ee3e3e1ac572011d0c6e3 (diff)
loplugin:implicitboolconversion
Change-Id: I6caec8c11fab5fc8f1318be676e4bdf5f9cdbac5
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/xmlfilterbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 0f0ac4cbb127..4ab32f8972bc 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -742,7 +742,7 @@ writeCustomProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xP
{
bool val ;
val = *( sal_Bool * )( aprop[n].Value ).getValue();
- writeElement( pAppProps, FSNS( XML_vt, XML_bool ), val);
+ writeElement( pAppProps, FSNS( XML_vt, XML_bool ), val ? 1 : 0);
}
break;
default: