summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-04-17 09:18:25 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-04-17 09:18:25 +0000
commit6c36ec2ea5b55b31d1430a889cd65944e493b7c3 (patch)
treeb456d6cea140dc6ab9e3bc0852a2efe45bf1533e /xmlsecurity/source/framework/saxeventkeeperimpl.cxx
parentd692c376f660f801b646788fbf19fd9a81ac3bca (diff)
INTEGRATION: CWS jl51 (1.4.30); FILE MERGED
2007/02/05 13:54:19 jl 1.4.30.1: #i69228 warning free code
Diffstat (limited to 'xmlsecurity/source/framework/saxeventkeeperimpl.cxx')
-rw-r--r--xmlsecurity/source/framework/saxeventkeeperimpl.cxx28
1 files changed, 13 insertions, 15 deletions
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
index ab7b274bdeca..8d63ec11d21b 100644
--- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
+++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: saxeventkeeperimpl.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 14:38:19 $
+ * last change: $Author: ihi $ $Date: 2007-04-17 10:18:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -61,13 +61,13 @@ namespace cssxs = com::sun::star::xml::sax;
#define _USECOMPRESSEDDOCUMENTHANDLER
SAXEventKeeperImpl::SAXEventKeeperImpl( )
- :m_nNextElementMarkId(1),
+ :m_pRootBufferNode(NULL),
+ m_pCurrentBufferNode(NULL),
+ m_nNextElementMarkId(1),
m_pNewBlocker(NULL),
m_pCurrentBlockingBufferNode(NULL),
- m_pRootBufferNode(NULL),
- m_pCurrentBufferNode(NULL),
- m_bIsForwarding(false),
- m_bIsReleasing(false)
+ m_bIsReleasing(false),
+ m_bIsForwarding(false)
{
m_vElementMarkBuffers.reserve(2);
m_vNewElementCollectors.reserve(2);
@@ -1216,8 +1216,8 @@ void SAL_CALL SAXEventKeeperImpl::addReferenceResolvedListener(
}
void SAL_CALL SAXEventKeeperImpl::removeReferenceResolvedListener(
- sal_Int32 referenceId,
- const cssu::Reference< cssxc::sax::XReferenceResolvedListener >& listener )
+ sal_Int32 /*referenceId*/,
+ const cssu::Reference< cssxc::sax::XReferenceResolvedListener >&)
throw (cssu::RuntimeException)
{
}
@@ -1231,7 +1231,7 @@ void SAL_CALL SAXEventKeeperImpl::addSAXEventKeeperStatusChangeListener(
}
void SAL_CALL SAXEventKeeperImpl::removeSAXEventKeeperStatusChangeListener(
- const cssu::Reference< cssxc::sax::XSAXEventKeeperStatusChangeListener >& listener )
+ const cssu::Reference< cssxc::sax::XSAXEventKeeperStatusChangeListener >&)
throw (cssu::RuntimeException)
{
}
@@ -1409,7 +1409,7 @@ void SAL_CALL SAXEventKeeperImpl::processingInstruction(
}
}
-void SAL_CALL SAXEventKeeperImpl::setDocumentLocator( const cssu::Reference< cssxs::XLocator >& xLocator )
+void SAL_CALL SAXEventKeeperImpl::setDocumentLocator( const cssu::Reference< cssxs::XLocator >&)
throw (cssxs::SAXException, cssu::RuntimeException)
{
}
@@ -1418,9 +1418,7 @@ void SAL_CALL SAXEventKeeperImpl::setDocumentLocator( const cssu::Reference< css
void SAL_CALL SAXEventKeeperImpl::initialize( const cssu::Sequence< cssu::Any >& aArguments )
throw (cssu::Exception, cssu::RuntimeException)
{
- sal_Int32 nLength = aArguments.getLength();
-
- OSL_ASSERT(nLength == 1);
+ OSL_ASSERT(aArguments.getLength() == 1);
aArguments[0] >>= m_xXMLDocument;
m_xDocumentHandler = cssu::Reference< cssxs::XDocumentHandler >(
@@ -1455,7 +1453,7 @@ cssu::Sequence< rtl::OUString > SAL_CALL SAXEventKeeperImpl_getSupportedServiceN
#undef SERVICE_NAME
cssu::Reference< cssu::XInterface > SAL_CALL SAXEventKeeperImpl_createInstance(
- const cssu::Reference< cssl::XMultiServiceFactory > & rSMgr)
+ const cssu::Reference< cssl::XMultiServiceFactory > &)
throw( cssu::Exception )
{
return (cppu::OWeakObject*) new SAXEventKeeperImpl();