summaryrefslogtreecommitdiff
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
commite682973efdbd98e7d9ebc561e3ab5f9fb8e5e9ea (patch)
tree76e905f264fd4a281814591f49fab89ef9fd9962
parent0497e45fe2fc0f6dfd0ed0243c21add87edbfca7 (diff)
INTEGRATION: CWS jl51 (1.4.30); FILE MERGED
2007/02/05 13:54:19 jl 1.4.30.1: #i69228 warning free code
-rw-r--r--xmlsecurity/source/framework/elementmark.cxx8
-rw-r--r--xmlsecurity/source/framework/saxeventkeeperimpl.cxx28
2 files changed, 17 insertions, 19 deletions
diff --git a/xmlsecurity/source/framework/elementmark.cxx b/xmlsecurity/source/framework/elementmark.cxx
index 6adcdeeb2..2f95e5aa0 100644
--- a/xmlsecurity/source/framework/elementmark.cxx
+++ b/xmlsecurity/source/framework/elementmark.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: elementmark.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 14:37:33 $
+ * last change: $Author: ihi $ $Date: 2007-04-17 10:17:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -42,9 +42,9 @@
namespace cssxc = com::sun::star::xml::crypto;
ElementMark::ElementMark(sal_Int32 nSecurityId, sal_Int32 nBufferId)
- :m_nSecurityId(nSecurityId),
+ :m_pBufferNode(NULL),
+ m_nSecurityId(nSecurityId),
m_nBufferId(nBufferId),
- m_pBufferNode(NULL),
m_type(cssxc::sax::ElementMarkType_ELEMENTMARK)
/****** ElementMark/ElementMark ***********************************************
*
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
index 09c32d0c4..8e20eeb7d 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();