diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 12:15:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:48 +0100 |
commit | fb9470825cced21a4f46203eac7bf302b809abdf (patch) | |
tree | ae554fb60b5434de179c2ef8fff967ab8194e812 | |
parent | f121dd39251e9696ec601e29dc5077a3928e99d1 (diff) |
Use bool
Change-Id: Iae455f53f8317eecb8edc38d111c9ef7398a36fb
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 3472524f04d5..8f02e4f9b0a9 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -216,7 +216,7 @@ public: void callbackStartElement( const XML_Char* name, const XML_Char** atts ); void callbackEndElement( const XML_Char* name ); void callbackCharacters( const XML_Char* s, int nLen ); - int callbackExternalEntityRef( XML_Parser parser, const XML_Char *openEntityNames, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId); + bool callbackExternalEntityRef( XML_Parser parser, const XML_Char *openEntityNames, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId); void callbackEntityDecl(const XML_Char *entityName, int is_parameter_entity, const XML_Char *value, int value_length, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId, @@ -1270,7 +1270,7 @@ void FastSaxParserImpl::callbackEntityDecl( } } -int FastSaxParserImpl::callbackExternalEntityRef( +bool FastSaxParserImpl::callbackExternalEntityRef( XML_Parser parser, const XML_Char *context, SAL_UNUSED_PARAMETER const XML_Char * /*base*/, const XML_Char *systemId, const XML_Char *publicId ) |