Kaydet (Commit) 1cb0443c authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Power

sal_Bool -> bool

Change-Id: I92e5f4f52ab19b607b5ed0314ee0d6c2334998c6
üst 0b7e226e
...@@ -122,8 +122,8 @@ OUString XmlChar2OUString( const XML_Char *p ) ...@@ -122,8 +122,8 @@ OUString XmlChar2OUString( const XML_Char *p )
) );\ ) );\
}\ }\
catch( const com::sun::star::uno::RuntimeException &e ) {\ catch( const com::sun::star::uno::RuntimeException &e ) {\
pThis->bExceptionWasThrown = sal_True; \ pThis->bExceptionWasThrown = true; \
pThis->bRTExceptionWasThrown = sal_True; \ pThis->bRTExceptionWasThrown = true; \
pImpl->rtexception = e; \ pImpl->rtexception = e; \
}\ }\
}\ }\
...@@ -249,8 +249,8 @@ public: // module scope ...@@ -249,8 +249,8 @@ public: // module scope
// therefor the exception must be saved somewhere. // therefor the exception must be saved somewhere.
SAXParseException exception; SAXParseException exception;
RuntimeException rtexception; RuntimeException rtexception;
sal_Bool bExceptionWasThrown; bool bExceptionWasThrown;
sal_Bool bRTExceptionWasThrown; bool bRTExceptionWasThrown;
Locale locale; Locale locale;
...@@ -443,8 +443,8 @@ SaxExpatParser::SaxExpatParser( ) ...@@ -443,8 +443,8 @@ SaxExpatParser::SaxExpatParser( )
m_pImpl->pAttrList = new AttributeList; m_pImpl->pAttrList = new AttributeList;
m_pImpl->rAttrList = Reference< XAttributeList > ( m_pImpl->pAttrList ); m_pImpl->rAttrList = Reference< XAttributeList > ( m_pImpl->pAttrList );
m_pImpl->bExceptionWasThrown = sal_False; m_pImpl->bExceptionWasThrown = false;
m_pImpl->bRTExceptionWasThrown = sal_False; m_pImpl->bRTExceptionWasThrown = false;
} }
SaxExpatParser::~SaxExpatParser() SaxExpatParser::~SaxExpatParser()
...@@ -862,7 +862,7 @@ void SaxExpatParser_Impl::callbackEntityDecl( ...@@ -862,7 +862,7 @@ void SaxExpatParser_Impl::callbackEntityDecl(
pImpl->rDocumentLocator->getSystemId(), pImpl->rDocumentLocator->getSystemId(),
pImpl->rDocumentLocator->getLineNumber(), pImpl->rDocumentLocator->getLineNumber(),
pImpl->rDocumentLocator->getColumnNumber() ); pImpl->rDocumentLocator->getColumnNumber() );
pImpl->bExceptionWasThrown = sal_True; pImpl->bExceptionWasThrown = true;
} else { } else {
if( pImpl->rDTDHandler.is() ) { if( pImpl->rDTDHandler.is() ) {
CALL_ELEMENT_HANDLER_AND_CARE_FOR_EXCEPTIONS( CALL_ELEMENT_HANDLER_AND_CARE_FOR_EXCEPTIONS(
...@@ -1008,12 +1008,12 @@ void SaxExpatParser_Impl::callErrorHandler( SaxExpatParser_Impl *pImpl , ...@@ -1008,12 +1008,12 @@ void SaxExpatParser_Impl::callErrorHandler( SaxExpatParser_Impl *pImpl ,
} }
else { else {
pImpl->exception = e; pImpl->exception = e;
pImpl->bExceptionWasThrown = sal_True; pImpl->bExceptionWasThrown = true;
} }
} }
catch( const SAXParseException & ex ) { catch( const SAXParseException & ex ) {
pImpl->exception = ex; pImpl->exception = ex;
pImpl->bExceptionWasThrown = sal_True; pImpl->bExceptionWasThrown = true;
} }
catch( const SAXException & ex ) { catch( const SAXException & ex ) {
pImpl->exception = SAXParseException( pImpl->exception = SAXParseException(
...@@ -1025,7 +1025,7 @@ void SaxExpatParser_Impl::callErrorHandler( SaxExpatParser_Impl *pImpl , ...@@ -1025,7 +1025,7 @@ void SaxExpatParser_Impl::callErrorHandler( SaxExpatParser_Impl *pImpl ,
pImpl->rDocumentLocator->getLineNumber(), pImpl->rDocumentLocator->getLineNumber(),
pImpl->rDocumentLocator->getColumnNumber() pImpl->rDocumentLocator->getColumnNumber()
); );
pImpl->bExceptionWasThrown = sal_True; pImpl->bExceptionWasThrown = true;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment