summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/component
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/component')
-rw-r--r--xmlsecurity/source/component/documentdigitalsignatures.cxx4
-rw-r--r--xmlsecurity/source/component/documentdigitalsignatures.hxx5
2 files changed, 8 insertions, 1 deletions
diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx
index 08da227b3ebd..4320a88dc59e 100644
--- a/xmlsecurity/source/component/documentdigitalsignatures.cxx
+++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx
@@ -57,6 +57,10 @@ DocumentDigitalSignatures::DocumentDigitalSignatures( const Reference< XComponen
{
}
+DocumentDigitalSignatures::~DocumentDigitalSignatures()
+{
+}
+
void DocumentDigitalSignatures::initialize( const Sequence< Any >& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
diff --git a/xmlsecurity/source/component/documentdigitalsignatures.hxx b/xmlsecurity/source/component/documentdigitalsignatures.hxx
index bd07304ed20c..8f6515c9d570 100644
--- a/xmlsecurity/source/component/documentdigitalsignatures.hxx
+++ b/xmlsecurity/source/component/documentdigitalsignatures.hxx
@@ -45,7 +45,9 @@ class DocumentDigitalSignatures : public cppu::WeakImplHelper
{
private:
css::uno::Reference< css::uno::XComponentContext > mxCtx;
- // will be set by XInitialization. If not we assume true. false means an earlier version.
+ // will be set by XInitialization. If not we assume true. false means an earlier version (whatever that means,
+ // this is a string, not a boolean).
+ // Note that the code talks about "ODF version" even if this class is also used to sign OOXML.
OUString m_sODFVersion;
//The number of arguments which were passed in XInitialization::initialize
int m_nArgumentsCount;
@@ -58,6 +60,7 @@ private:
public:
explicit DocumentDigitalSignatures( const css::uno::Reference< css::uno::XComponentContext>& rxCtx );
+ virtual ~DocumentDigitalSignatures() override;
// for service registration...
static OUString GetImplementationName() throw (css::uno::RuntimeException);