sal_Bool -> bool

Change-Id: I770a8507cdc1ee56456642b1f878381d6cf9d0b3
This commit is contained in:
Stephan Bergmann 2016-05-04 12:53:44 +02:00
parent f153d5cb12
commit 2894df68fe
2 changed files with 4 additions and 4 deletions

View File

@ -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() )

View File

@ -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 );