summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmlflat_imexp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:21:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:32 +0200
commitef0161b649d54454bfb588a251d48ea9c3b79f79 (patch)
treeaf08e2955f13ad5c509d81c120df394f484ac844 /xmlscript/source/xmlflat_imexp
parent5ef76efb407a3dba8898a9a9b1b80cc548a94105 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I2f5c4c341c4c38e1603748fb7c1f50e42547d005
Diffstat (limited to 'xmlscript/source/xmlflat_imexp')
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_import.cxx8
1 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 c3f93e728a6a..81d7cbdfa6e3 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
@@ -73,12 +73,12 @@ namespace xmlscript
{
if ( aValue == "true" )
{
- *pRet = sal_True;
+ *pRet = true;
return true;
}
else if ( aValue == "false" )
{
- *pRet = sal_False;
+ *pRet = false;
return true;
}
else
@@ -180,7 +180,7 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const
OUString aStorageURL = xAttributes->getValueByUidName(m_pImport->XMLNS_XLINK_UID, "href" );
- sal_Bool bReadOnly = sal_False;
+ sal_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 = sal_False;
+ sal_Bool bReadOnly = false;
getBoolAttr( &bReadOnly, "readonly", xAttributes, m_pImport->XMLNS_UID );
if ( m_xLibContainer.is() )