summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/gpg
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-06-23 10:37:47 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-06-23 12:36:11 +0200
commite2fc3f0fb591ba044ad8862c14afea5f0dc6a069 (patch)
tree6bc7e84521aa73275384d6fde5bf438a219e7774 /xmlsecurity/source/gpg
parent80bb0a4fe8953ab90dfaf75ad19e46aa5aad00a8 (diff)
XMLSignature_GpgImpl: Clean up namespaces
Change-Id: I34aa59171b5d440bdd6bdec80badf7a3eb42bd3f
Diffstat (limited to 'xmlsecurity/source/gpg')
-rw-r--r--xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx20
1 files changed, 6 insertions, 14 deletions
diff --git a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
index 40248ee3a9e8..9972482bdaf1 100644
--- a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
+++ b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
@@ -35,18 +35,10 @@
#include "SecurityEnvironment.hxx"
#include "xmlsec-wrapper.h"
-using namespace ::com::sun::star::uno ;
-using namespace ::com::sun::star::lang ;
-using ::com::sun::star::lang::XMultiServiceFactory ;
-using ::com::sun::star::lang::XSingleServiceFactory ;
-
-using ::com::sun::star::xml::wrapper::XXMLElementWrapper ;
-using ::com::sun::star::xml::wrapper::XXMLDocumentWrapper ;
-using ::com::sun::star::xml::crypto::XSecurityEnvironment ;
-using ::com::sun::star::xml::crypto::XXMLSignature ;
-using ::com::sun::star::xml::crypto::XXMLSignatureTemplate ;
-using ::com::sun::star::xml::crypto::XXMLSecurityContext ;
-using ::com::sun::star::xml::crypto::XUriBinding ;
+using namespace css::uno;
+using namespace css::lang;
+using namespace css::xml::wrapper;
+using namespace css::xml::crypto;
XMLSignature_GpgImpl::XMLSignature_GpgImpl() {
}
@@ -223,7 +215,7 @@ SAL_CALL XMLSignature_GpgImpl::generate(
// TODO some assert would be good...
xmlNodeSetContentLen(cur, &buf2[0], len);
- aTemplate->setStatus(css::xml::crypto::SecurityOperationStatus_OPERATION_SUCCEEDED);
+ aTemplate->setStatus(SecurityOperationStatus_OPERATION_SUCCEEDED);
// done
xmlSecDSigCtxDestroy( pDsigCtx ) ;
@@ -392,7 +384,7 @@ SAL_CALL XMLSignature_GpgImpl::validate(
}
// TODO - also verify manifest (only relevant for ooxml)?
- aTemplate->setStatus(css::xml::crypto::SecurityOperationStatus_OPERATION_SUCCEEDED);
+ aTemplate->setStatus(SecurityOperationStatus_OPERATION_SUCCEEDED);
// done
xmlSecDSigCtxDestroy( pDsigCtx ) ;