diff options
author | Andreas Becker <atayoohoo@googlemail.com> | 2011-04-28 00:59:28 +0200 |
---|---|---|
committer | Katarina Machalkova <kmachalkova@suse.cz> | 2011-04-28 13:45:46 +0200 |
commit | 9ad4eeb4fa413b1a3e084d141c6eb01795f95b7f (patch) | |
tree | 031b7ad30c650665210cb5b63d59efe740fd57d1 /xmlsecurity/tools | |
parent | 8a9f54bc1283b7137a90506e29dba7962dd73f83 (diff) |
fixed cppcheck warnings
Diffstat (limited to 'xmlsecurity/tools')
-rw-r--r-- | xmlsecurity/tools/demo/performance.cxx | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/xmlsecurity/tools/demo/performance.cxx b/xmlsecurity/tools/demo/performance.cxx index 582f101957e6..c8ee45907703 100644 --- a/xmlsecurity/tools/demo/performance.cxx +++ b/xmlsecurity/tools/demo/performance.cxx @@ -244,7 +244,7 @@ public: struct AncestorEvent { - AncestorEvent( sal_Int32 nAttrNum ):aAttributeList(nAttrNum){}; + AncestorEvent(sal_Int32 nAttrNum) : aAttributeList(nAttrNum), bIsStartElement(false) {}; bool bIsStartElement; rtl::OUString ouName; @@ -357,27 +357,30 @@ private: const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler); - void XSecTester::sendAncestorStartElementEvent( + void sendAncestorStartElementEvent( const rtl::OUString& ouName, const com::sun::star::uno::Sequence< com::sun::star::xml::csax::XMLAttribute >& xAttrList, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler) const; - void XSecTester::sendAncestorEndElementEvent( + void sendAncestorEndElementEvent( const rtl::OUString& ouName, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler) const; - std::vector< AncestorEvent* >::const_iterator XSecTester::checkAncestorStartElementEvent( + std::vector< AncestorEvent* >::const_iterator checkAncestorStartElementEvent( const std::vector< AncestorEvent* >::const_iterator& ii, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler) const; public: - XSecTester(const com::sun::star::uno::Reference< - com::sun::star::lang::XMultiServiceFactory >& rxMSF) - :mxMSF( rxMSF ){}; + XSecTester(const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory >& rxMSF) + : mxMSF(rxMSF), m_bIsExporting(false), m_bIsBlocking(false), + m_bIsInsideCollectedElement(false), m_bIsSAXEventKeeperOnTheSAXChain(false) + { + }; + virtual ~XSecTester(){}; /* XSignatureCreationResultListener */ |