[Libreoffice-commits] core.git: xmlscript/source
Stephan Bergmann
sbergman at redhat.com
Wed May 4 10:54:27 UTC 2016
xmlscript/source/xmlflat_imexp/xmlbas_import.cxx | 6 +++---
xmlscript/source/xmlflat_imexp/xmlbas_import.hxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 2894df68fee2eff2ce960dfeebc6b263ccae645f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 4 12:53:44 2016 +0200
sal_Bool -> bool
Change-Id: I770a8507cdc1ee56456642b1f878381d6cf9d0b3
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
index 095267b..736afd5 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 4929254..0eecb0d 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 );
More information about the Libreoffice-commits
mailing list