diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-17 09:50:25 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-17 11:17:22 +0000 |
commit | 302f25890b5ec409a003db5ed412a3b9fdbfb430 (patch) | |
tree | af88373ddbe9a54c6b058a9a6920ac897a37ba81 /xmlsecurity/inc/xsecctl.hxx | |
parent | 707f59b224fda6a0377960476fe35bab32fa4bc1 (diff) |
xmlsecurity: hold SAXEventKeeperImpl by rtl::Reference in XSecController
SAXEventKeeperImpl is the only implementation of the
css::xml::crypto::sax::XSecuritySAXEventKeeper interface, and this way
it's not necessary to cast to various interfaces explicitly at a lot of
places.
Change-Id: I25f76c88d5fefef42a6e8394a9d6de98c52b12c0
Reviewed-on: https://gerrit.libreoffice.org/35317
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmlsecurity/inc/xsecctl.hxx')
-rw-r--r-- | xmlsecurity/inc/xsecctl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlsecurity/inc/xsecctl.hxx b/xmlsecurity/inc/xsecctl.hxx index 322b1ddb801e..731004e5ddf2 100644 --- a/xmlsecurity/inc/xsecctl.hxx +++ b/xmlsecurity/inc/xsecctl.hxx @@ -61,6 +61,7 @@ class XSecParser; class XMLDocumentWrapper_XmlSecImpl; +class SAXEventKeeperImpl; class InternalSignatureInformation { @@ -118,7 +119,7 @@ private: /* * the SAX events keeper */ - css::uno::Reference< css::xml::crypto::sax::XSecuritySAXEventKeeper > m_xSAXEventKeeper; + rtl::Reference<SAXEventKeeperImpl> m_xSAXEventKeeper; /* * the bridge component which creates/verifies signature |