diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-02 13:36:12 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-02 17:56:14 +0100 |
commit | 54ebae0eae8829a9325170002120b984e8934cdf (patch) | |
tree | ca03ecb823357c953e6b18055b8575aed1f4b91d /sax/source/fastparser | |
parent | make more places aware of OOXML strict relations (diff) | |
download | core-54ebae0eae8829a9325170002120b984e8934cdf.tar.gz core-54ebae0eae8829a9325170002120b984e8934cdf.zip |
remove whitespaces
Change-Id: I624ca41c3e51ba785e359649c429feb61cc9a647
Diffstat (limited to 'sax/source/fastparser')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 06af72cc5d68..917a757e45cb 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -350,31 +350,24 @@ sal_Int32 SAL_CALL FastLocatorImpl::getColumnNumber(void) throw (RuntimeExceptio return XML_GetCurrentColumnNumber( mpParser->getEntity().mpParser ); } - - sal_Int32 SAL_CALL FastLocatorImpl::getLineNumber(void) throw (RuntimeException, std::exception) { checkDispose(); return XML_GetCurrentLineNumber( mpParser->getEntity().mpParser ); } - - OUString SAL_CALL FastLocatorImpl::getPublicId(void) throw (RuntimeException, std::exception) { checkDispose(); return mpParser->getEntity().maStructSource.sPublicId; } - OUString SAL_CALL FastLocatorImpl::getSystemId(void) throw (RuntimeException, std::exception) { checkDispose(); return mpParser->getEntity().maStructSource.sSystemId; } - - ParserData::ParserData() : mpTokenHandler( NULL ) {} @@ -382,8 +375,6 @@ ParserData::ParserData() ParserData::~ParserData() {} - - Entity::Entity(const ParserData& rData) : ParserData(rData) , mnProducedEventsSize(0) @@ -632,16 +623,12 @@ FastSaxParserImpl::FastSaxParserImpl( FastSaxParser* pFront ) : mxDocumentLocator.set( new FastLocatorImpl( this ) ); } - - FastSaxParserImpl::~FastSaxParserImpl() { if( mxDocumentLocator.is() ) mxDocumentLocator->dispose(); } - - void FastSaxParserImpl::DefineNamespace( const OString& rPrefix, const sal_Char* pNamespaceURL ) { Entity& rEntity = getEntity(); @@ -658,8 +645,6 @@ void FastSaxParserImpl::DefineNamespace( const OString& rPrefix, const sal_Char* } } - - sal_Int32 FastSaxParserImpl::GetToken( const sal_Char* pToken, sal_Int32 nLen /* = 0 */ ) { return maTokenLookup.getTokenFromChars( getEntity().mxTokenHandler, @@ -667,8 +652,6 @@ sal_Int32 FastSaxParserImpl::GetToken( const sal_Char* pToken, sal_Int32 nLen /* pToken, nLen ); } - - sal_Int32 FastSaxParserImpl::GetTokenWithPrefix( const sal_Char*pPrefix, int nPrefixLen, const sal_Char* pName, int nNameLen ) throw (SAXException) { sal_Int32 nNamespaceToken = FastToken::DONTKNOW; @@ -699,8 +682,6 @@ sal_Int32 FastSaxParserImpl::GetTokenWithPrefix( const sal_Char*pPrefix, int nPr return FastToken::DONTKNOW; } - - sal_Int32 FastSaxParserImpl::GetNamespaceToken( const OUString& rNamespaceURL ) { NamespaceMap::iterator aIter( maNamespaceMap.find( rNamespaceURL ) ); @@ -710,8 +691,6 @@ sal_Int32 FastSaxParserImpl::GetNamespaceToken( const OUString& rNamespaceURL ) return FastToken::DONTKNOW; } - - OUString FastSaxParserImpl::GetNamespaceURL( const OString& rPrefix ) throw (SAXException) { Entity& rEntity = getEntity(); @@ -746,8 +725,6 @@ OUString FastSaxParserImpl::GetNamespaceURL( const sal_Char*pPrefix, int nPrefix throw SAXException(); // prefix that has no defined namespace url } - - sal_Int32 FastSaxParserImpl::GetTokenWithContextNamespace( sal_Int32 nNamespaceToken, const sal_Char* pName, int nNameLen ) { if( nNamespaceToken != FastToken::DONTKNOW ) @@ -760,8 +737,6 @@ sal_Int32 FastSaxParserImpl::GetTokenWithContextNamespace( sal_Int32 nNamespaceT return FastToken::DONTKNOW; } - - void FastSaxParserImpl::splitName( const XML_Char *pwName, const XML_Char *&rpPrefix, sal_Int32 &rPrefixLen, const XML_Char *&rpName, sal_Int32 &rNameLen ) { XML_Char *p; @@ -1086,12 +1061,7 @@ void FastSaxParserImpl::parse() produce( DONE ); } - - // The C-Callbacks - - - void FastSaxParserImpl::callbackStartElement( const XML_Char* pwName, const XML_Char** awAttributes ) { Entity& rEntity = getEntity(); @@ -1239,7 +1209,6 @@ void FastSaxParserImpl::callbackEndElement( SAL_UNUSED_PARAMETER const XML_Char* rEntity.endElement(); } - void FastSaxParserImpl::callbackCharacters( const XML_Char* s, int nLen ) { Entity& rEntity = getEntity(); |