summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-04 12:53:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-04 12:53:44 +0200
commit2894df68fee2eff2ce960dfeebc6b263ccae645f (patch)
tree9c7de3c52db1178a28b8d393944c32ad56493374 /xmlscript
parentf153d5cb12372dddaaceaaaa0c0892f4ba3d12aa (diff)
sal_Bool -> bool
Change-Id: I770a8507cdc1ee56456642b1f878381d6cf9d0b3
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_import.cxx6
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_import.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
index 095267b98266..736afd5a6829 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
@@ -62,7 +62,7 @@ namespace xmlscript
m_pParent->release();
}
- bool BasicElementBase::getBoolAttr( sal_Bool* pRet, const OUString& rAttrName,
+ bool BasicElementBase::getBoolAttr( bool* pRet, const OUString& rAttrName,
const css::uno::Reference< css::xml::input::XAttributes >& xAttributes,
sal_Int32 nUid )
{
@@ -180,7 +180,7 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const
OUString aStorageURL = xAttributes->getValueByUidName(m_pImport->XMLNS_XLINK_UID, "href" );
- sal_Bool bReadOnly = false;
+ bool bReadOnly = false;
getBoolAttr( &bReadOnly,"readonly", xAttributes, m_pImport->XMLNS_UID );
if ( m_xLibContainer.is() )
@@ -211,7 +211,7 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const
{
OUString aName = xAttributes->getValueByUidName( m_pImport->XMLNS_UID, "name" );
- sal_Bool bReadOnly = false;
+ bool bReadOnly = false;
getBoolAttr( &bReadOnly, "readonly", xAttributes, m_pImport->XMLNS_UID );
if ( m_xLibContainer.is() )
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
index 49292541c8ff..0eecb0dd1cd3 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
@@ -48,7 +48,7 @@ namespace xmlscript
OUString m_aLocalName;
css::uno::Reference< css::xml::input::XAttributes > m_xAttributes;
- static bool getBoolAttr( sal_Bool* pRet, const OUString& rAttrName,
+ static bool getBoolAttr( bool* pRet, const OUString& rAttrName,
const css::uno::Reference< css::xml::input::XAttributes >& xAttributes,
sal_Int32 nUid );