diff options
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/exp_share.hxx')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/exp_share.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlscript/source/xmldlg_imexp/exp_share.hxx b/xmlscript/source/xmldlg_imexp/exp_share.hxx index 5a42ad3abdc1..93be668a1a27 100644 --- a/xmlscript/source/xmldlg_imexp/exp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/exp_share.hxx @@ -163,7 +163,7 @@ public: void readDataAwareAttr( OUString const & rAttrName ); inline void addBoolAttr( - OUString const & rAttrName, sal_Bool bValue ) + OUString const & rAttrName, bool bValue ) { addAttribute( rAttrName, OUString::boolean(bValue) ); } void addNumberFormatAttr( css::uno::Reference< css::beans::XPropertySet > @@ -254,7 +254,7 @@ inline void ElementDescriptor::read<sal_Bool>( _xPropState->getPropertyState( propName )) { css::uno::Any a( _xProps->getPropertyValue( propName ) ); - sal_Bool v = sal_Bool(); + bool v; if (a >>= v) addAttribute( attrName, OUString::boolean(v) ); else |