diff options
Diffstat (limited to 'xmlsecurity')
4 files changed, 11 insertions, 12 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx index c417eef17334..c16ae4bacb22 100644 --- a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx +++ b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx @@ -45,14 +45,13 @@ namespace xml { namespace dom { class XDocumentBuilder; } } }}} -namespace cssu = com::sun::star::uno; class HeaderBar; class DigitalSignaturesDialog : public ModalDialog { private: - cssu::Reference< cssu::XComponentContext >& mxCtx; + css::uno::Reference< css::uno::XComponentContext >& mxCtx; XMLSignatureHelper maSignatureHelper; css::uno::Reference < css::embed::XStorage > mxStore; @@ -114,8 +113,8 @@ private: bool canAddRemove(); public: - DigitalSignaturesDialog( Window* pParent, cssu::Reference< - cssu::XComponentContext >& rxCtx, DocumentSignatureMode eMode, + DigitalSignaturesDialog( Window* pParent, css::uno::Reference< + css::uno::XComponentContext >& rxCtx, DocumentSignatureMode eMode, bool bReadOnly, const OUString& sODFVersion, bool bHasDocumentSignature); virtual ~DigitalSignaturesDialog(); @@ -123,8 +122,8 @@ public: bool Init(); // Set the storage which should be signed or verified - void SetStorage( const cssu::Reference < css::embed::XStorage >& rxStore ); - void SetSignatureStream( const cssu::Reference < css::io::XStream >& rxStream ); + void SetStorage( const css::uno::Reference < css::embed::XStorage >& rxStore ); + void SetSignatureStream( const css::uno::Reference < css::io::XStream >& rxStream ); // Execute the dialog... short Execute() SAL_OVERRIDE; diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx index 20d6fae91c5b..2780bb241fae 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.cxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx @@ -47,8 +47,8 @@ #include <stdio.h> -using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; +using namespace css; +using namespace css::uno; DocumentDigitalSignatures::DocumentDigitalSignatures( const Reference< XComponentContext >& rxCtx ): mxCtx(rxCtx), diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index c0c08d7a88da..032e6d63135c 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -57,9 +57,9 @@ #include <vcl/layout.hxx> #include <unotools/configitem.hxx> -using namespace ::com::sun::star::security; -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star; +using namespace css::security; +using namespace css::uno; +using namespace css; namespace { diff --git a/xmlsecurity/workben/signaturetest.cxx b/xmlsecurity/workben/signaturetest.cxx index 4d1a6f4397a3..f3c4db858d7a 100644 --- a/xmlsecurity/workben/signaturetest.cxx +++ b/xmlsecurity/workben/signaturetest.cxx @@ -49,7 +49,7 @@ #include <com/sun/star/security/DocumentDigitalSignatures.hpp> -using namespace ::com::sun::star; +using namespace css; void Main(); |