diff options
author | Noel Grandin <noel@peralex.com> | 2012-09-25 14:39:01 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-09-26 11:20:35 +0100 |
commit | 1cb0443ccd3d8d0281bf7b00d3efdbf5cd550bd4 (patch) | |
tree | 211940c25c97ca383c43be5aa1b89c4961bd86b8 /sax | |
parent | 0b7e226ee59f5f18a24a366f5f93e85d13e454df (diff) |
sal_Bool -> bool
Change-Id: I92e5f4f52ab19b607b5ed0314ee0d6c2334998c6
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index 33707c440d9b..db17402d1e51 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -122,8 +122,8 @@ OUString XmlChar2OUString( const XML_Char *p ) ) );\ }\ catch( const com::sun::star::uno::RuntimeException &e ) {\ - pThis->bExceptionWasThrown = sal_True; \ - pThis->bRTExceptionWasThrown = sal_True; \ + pThis->bExceptionWasThrown = true; \ + pThis->bRTExceptionWasThrown = true; \ pImpl->rtexception = e; \ }\ }\ @@ -249,8 +249,8 @@ public: // module scope // therefor the exception must be saved somewhere. SAXParseException exception; RuntimeException rtexception; - sal_Bool bExceptionWasThrown; - sal_Bool bRTExceptionWasThrown; + bool bExceptionWasThrown; + bool bRTExceptionWasThrown; Locale locale; @@ -443,8 +443,8 @@ SaxExpatParser::SaxExpatParser( ) m_pImpl->pAttrList = new AttributeList; m_pImpl->rAttrList = Reference< XAttributeList > ( m_pImpl->pAttrList ); - m_pImpl->bExceptionWasThrown = sal_False; - m_pImpl->bRTExceptionWasThrown = sal_False; + m_pImpl->bExceptionWasThrown = false; + m_pImpl->bRTExceptionWasThrown = false; } SaxExpatParser::~SaxExpatParser() @@ -862,7 +862,7 @@ void SaxExpatParser_Impl::callbackEntityDecl( pImpl->rDocumentLocator->getSystemId(), pImpl->rDocumentLocator->getLineNumber(), pImpl->rDocumentLocator->getColumnNumber() ); - pImpl->bExceptionWasThrown = sal_True; + pImpl->bExceptionWasThrown = true; } else { if( pImpl->rDTDHandler.is() ) { CALL_ELEMENT_HANDLER_AND_CARE_FOR_EXCEPTIONS( @@ -1008,12 +1008,12 @@ void SaxExpatParser_Impl::callErrorHandler( SaxExpatParser_Impl *pImpl , } else { pImpl->exception = e; - pImpl->bExceptionWasThrown = sal_True; + pImpl->bExceptionWasThrown = true; } } catch( const SAXParseException & ex ) { pImpl->exception = ex; - pImpl->bExceptionWasThrown = sal_True; + pImpl->bExceptionWasThrown = true; } catch( const SAXException & ex ) { pImpl->exception = SAXParseException( @@ -1025,7 +1025,7 @@ void SaxExpatParser_Impl::callErrorHandler( SaxExpatParser_Impl *pImpl , pImpl->rDocumentLocator->getLineNumber(), pImpl->rDocumentLocator->getColumnNumber() ); - pImpl->bExceptionWasThrown = sal_True; + pImpl->bExceptionWasThrown = true; } } |