From 21dcef5388e8e5941380225ccb808daa7b1c5620 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Mar 2014 16:55:04 +0200 Subject: xmlscript: sal_Bool->bool Change-Id: I5d0041283637dddeac86c50917d77c7e3d005b20 --- xmlscript/source/xmllib_imexp/imp_share.hxx | 6 +++--- xmlscript/source/xmllib_imexp/xmllib_import.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'xmlscript/source/xmllib_imexp') diff --git a/xmlscript/source/xmllib_imexp/imp_share.hxx b/xmlscript/source/xmllib_imexp/imp_share.hxx index 2b355b718914..e975f1e5e1b8 100644 --- a/xmlscript/source/xmllib_imexp/imp_share.hxx +++ b/xmlscript/source/xmllib_imexp/imp_share.hxx @@ -53,7 +53,7 @@ inline sal_Int32 toInt32( OUString const & rStr ) SAL_THROW(()) return nVal; } inline bool getBoolAttr( - sal_Bool * pRet, OUString const & rAttrName, + bool * pRet, OUString const & rAttrName, Reference< xml::input::XAttributes > const & xAttributes, sal_Int32 uid ) { OUString aValue( @@ -62,12 +62,12 @@ inline bool getBoolAttr( { if ( aValue == "true" ) { - *pRet = sal_True; + *pRet = true; return true; } else if ( aValue == "false" ) { - *pRet = sal_False; + *pRet = false; return true; } else diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx index 9af39029da4c..4838004ba387 100644 --- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx +++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx @@ -154,7 +154,7 @@ Reference< xml::input::XElement > LibraryImport::startRootElement( else if ( mpLibDesc && rLocalName == "library" ) { LibDescriptor& aDesc = *mpLibDesc; - aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = aDesc.bPreload = sal_False; + aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = aDesc.bPreload = false; aDesc.aName = xAttributes->getValueByUidName(XMLNS_LIBRARY_UID, "name" ); getBoolAttr( &aDesc.bReadOnly, "readonly", xAttributes, XMLNS_LIBRARY_UID ); @@ -191,7 +191,7 @@ Reference< xml::input::XElement > LibrariesElement::startChildElement( else if ( rLocalName == "library" ) { LibDescriptor aDesc; - aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = aDesc.bPreload = sal_False; + aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = aDesc.bPreload = false; aDesc.aName = xAttributes->getValueByUidName(_pImport->XMLNS_LIBRARY_UID, "name" ); aDesc.aStorageURL = xAttributes->getValueByUidName( _pImport->XMLNS_XLINK_UID, "href" ); -- cgit