diff options
author | Noel Grandin <noel@peralex.com> | 2012-10-12 13:47:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-23 13:10:20 +0200 |
commit | 694562874b5b439cbace1b1f0ccb07c574f676a3 (patch) | |
tree | e94004733245c45e96c2b209582617c44091ef05 /xmlsecurity | |
parent | b30ee83058793ea8fbb020e5ac8f118bd20853d5 (diff) |
fdo#46808, Adapt packages::manifest::ManifestReader UNO service to new style
The service already existed, it just did not have an IDL file.
Change-Id: Idad85ab23f6650c89ba3095d10568a302503613b
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index aa58d93ddb7b..eb67af93f76d 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -39,7 +39,7 @@ #include <com/sun/star/security/SerialNumberAdapter.hpp> #include <com/sun/star/security/XDocumentDigitalSignatures.hpp> #include <com/sun/star/xml/dom/XDocumentBuilder.hpp> -#include <com/sun/star/packages/manifest/XManifestReader.hpp> +#include <com/sun/star/packages/manifest/ManifestReader.hpp> #include <rtl/ustrbuf.hxx> @@ -268,9 +268,8 @@ void DigitalSignaturesDialog::SetStorage( const com::sun::star::uno::Reference < mxStore = rxStore; maSignatureHelper.SetStorage( mxStore, m_sODFVersion); - Reference < css::packages::manifest::XManifestReader > xReader( - mxCtx->getServiceManager()->createInstanceWithContext( - OUSTR("com.sun.star.packages.manifest.ManifestReader"), mxCtx), UNO_QUERY_THROW); + Reference < css::packages::manifest::XManifestReader > xReader = + css::packages::manifest::ManifestReader::create(mxCtx); //Get the manifest.xml Reference < css::embed::XStorage > xSubStore(rxStore->openStorageElement( |