summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-06-05 17:26:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-06-05 17:29:14 +0200
commit496a2c2e46ca2afdb6a81a2b60b7b1bd89b21d1d (patch)
treee8dacc9dd83caeed061d7fd0b837d734b95d9508 /xmlsecurity
parent3d4609d944b6bba3a135233054a0c396b29d7679 (diff)
Drop unused XInitialization from implementation
...now that it has been dropped from the service declaration with 6a12e13870f15df93d2627f1538f7c64ca46e9e5 "fdo#46808, Convert XMLSignatureTemplate service to new style"---appears to be nonsense that had been in there "since the beginning." Change-Id: I4e4d3649f1aa0dacebdc8bdcee0348cee294ab89
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx5
-rw-r--r--xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx11
2 files changed, 2 insertions, 14 deletions
diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
index 15cb47c18268..4e095e0c7eb0 100644
--- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
+++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
@@ -104,11 +104,6 @@ void SAL_CALL XMLSignatureTemplateImpl::setStatus(
return m_nStatus;
}
-/* XInitialization */
-void SAL_CALL XMLSignatureTemplateImpl :: initialize( const Sequence< Any >& /*aArguments*/ ) throw( Exception, RuntimeException ) {
- // TBD
-} ;
-
/* XServiceInfo */
OUString SAL_CALL XMLSignatureTemplateImpl :: getImplementationName() throw( RuntimeException ) {
return impl_getImplementationName() ;
diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx
index 87dba97b1efc..e471e9700007 100644
--- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx
+++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx
@@ -23,22 +23,20 @@
#include <sal/config.h>
#include <rtl/ustring.hxx>
#include <cppuhelper/factory.hxx>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase2.hxx>
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/xml/crypto/XXMLSignatureTemplate.hpp>
#include <com/sun/star/xml/wrapper/XXMLElementWrapper.hpp>
#include <vector>
-class XMLSignatureTemplateImpl : public ::cppu::WeakImplHelper3<
+class XMLSignatureTemplateImpl : public ::cppu::WeakImplHelper2<
::com::sun::star::xml::crypto::XXMLSignatureTemplate ,
- ::com::sun::star::lang::XInitialization ,
::com::sun::star::lang::XServiceInfo >
{
private :
@@ -83,11 +81,6 @@ class XMLSignatureTemplateImpl : public ::cppu::WeakImplHelper3<
SAL_CALL getStatus( )
throw (::com::sun::star::uno::RuntimeException);
- //Methods from XInitialization
- virtual void SAL_CALL initialize(
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments
- ) throw( ::com::sun::star::uno::Exception , ::com::sun::star::uno::RuntimeException ) ;
-
//Methods from XServiceInfo
virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException ) ;