diff options
Diffstat (limited to 'xmlsecurity/source')
5 files changed, 0 insertions, 34 deletions
diff --git a/xmlsecurity/source/component/certificatecontainer.cxx b/xmlsecurity/source/component/certificatecontainer.cxx index f96f7663e202..a1bd01b4775d 100644 --- a/xmlsecurity/source/component/certificatecontainer.cxx +++ b/xmlsecurity/source/component/certificatecontainer.cxx @@ -42,7 +42,6 @@ CertificateContainer::searchMap( const OUString & url, const OUString & certific return ret; } -// ------------------------------------------------------------------- sal_Bool CertificateContainer::isTemporaryCertificate ( const OUString & url, const OUString & certificate_name ) @@ -51,8 +50,6 @@ CertificateContainer::isTemporaryCertificate ( const OUString & url, const OUStr return searchMap( url, certificate_name, certMap); } -// ------------------------------------------------------------------- - sal_Bool CertificateContainer::isCertificateTrust ( const OUString & url, const OUString & certificate_name ) throw(::com::sun::star::uno::RuntimeException) @@ -60,7 +57,6 @@ CertificateContainer::isCertificateTrust ( const OUString & url, const OUString return searchMap( url, certificate_name, certTrustMap); } -// ------------------------------------------------------------------- sal_Bool CertificateContainer::addCertificate( const OUString & url, const OUString & certificate_name, ::sal_Bool trust ) throw(::com::sun::star::uno::RuntimeException) @@ -74,7 +70,6 @@ CertificateContainer::addCertificate( const OUString & url, const OUString & cer return true; } -//------------------------------------------------------------------------- ::security::CertificateContainerStatus CertificateContainer::hasCertificate( const OUString & url, const OUString & certificate_name ) throw(::com::sun::star::uno::RuntimeException) { @@ -89,7 +84,6 @@ CertificateContainer::hasCertificate( const OUString & url, const OUString & cer return security::CertificateContainerStatus_NOCERT; } } -//------------------------------------------------------------------------- OUString SAL_CALL CertificateContainer::getImplementationName( ) @@ -98,8 +92,6 @@ CertificateContainer::getImplementationName( ) return impl_getStaticImplementationName(); } -//------------------------------------------------------------------------- - sal_Bool SAL_CALL CertificateContainer::supportsService( const OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException) @@ -110,8 +102,6 @@ CertificateContainer::supportsService( const OUString& ServiceName ) return sal_False; } -//------------------------------------------------------------------------- - Sequence< OUString > SAL_CALL CertificateContainer::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) @@ -119,8 +109,6 @@ CertificateContainer::getSupportedServiceNames( ) return impl_getStaticSupportedServiceNames(); } -//------------------------------------------------------------------------- - Sequence< OUString > SAL_CALL CertificateContainer::impl_getStaticSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) @@ -130,8 +118,6 @@ CertificateContainer::impl_getStaticSupportedServiceNames( ) return aRet; } -//------------------------------------------------------------------------- - OUString SAL_CALL CertificateContainer::impl_getStaticImplementationName() throw(::com::sun::star::uno::RuntimeException) @@ -139,8 +125,6 @@ CertificateContainer::impl_getStaticImplementationName() return OUString("com.sun.star.security.CertificateContainer"); } -//------------------------------------------------------------------------- - Reference< XInterface > SAL_CALL CertificateContainer::impl_createInstance( const Reference< XMultiServiceFactory >& xServiceManager ) throw( RuntimeException ) { diff --git a/xmlsecurity/source/framework/xsec_framework.cxx b/xmlsecurity/source/framework/xsec_framework.cxx index 3f8434745e80..6f0c002204ff 100644 --- a/xmlsecurity/source/framework/xsec_framework.cxx +++ b/xmlsecurity/source/framework/xsec_framework.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <stdio.h> #include <osl/mutex.hxx> @@ -41,7 +40,6 @@ using namespace ::com::sun::star::registry; extern "C" { -//================================================================================================== SAL_DLLPUBLIC_EXPORT void * SAL_CALL xsec_fw_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { @@ -153,5 +151,4 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL xsec_fw_component_getFactory( } } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.cxx b/xmlsecurity/source/helper/xmlsignaturehelper2.cxx index 663ba8a19e31..95ba032a9610 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper2.cxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper2.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <xmlsecurity/xmlsignaturehelper.hxx> #include <xmlsignaturehelper2.hxx> @@ -63,9 +62,7 @@ void SAL_CALL ImplXMLSignatureListener::signatureVerified( sal_Int32 securityId, maVerifyResultListenerListener.Call( &aResult ); } -// --------------------------------------------------------------------------------- // XDocumentHandler -// --------------------------------------------------------------------------------- void SAL_CALL ImplXMLSignatureListener::startDocument( ) throw (com::sun::star::xml::sax::SAXException, com::sun::star::uno::RuntimeException) { @@ -143,9 +140,7 @@ void SAL_CALL ImplXMLSignatureListener::setDocumentLocator( const com::sun::star } } -// --------------------------------------------------------------------------------- // XUriBinding -// --------------------------------------------------------------------------------- UriBindingHelper::UriBindingHelper() { @@ -156,7 +151,6 @@ UriBindingHelper::UriBindingHelper( const com::sun::star::uno::Reference < com:: mxStorage = rxStorage; } - void SAL_CALL UriBindingHelper::setUriBinding( const OUString& /*uri*/, const uno::Reference< io::XInputStream >&) throw (uno::Exception, uno::RuntimeException) { @@ -217,5 +211,4 @@ uno::Reference < io::XInputStream > UriBindingHelper::OpenInputStream( const uno return xInStream; } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx index 53a216a1dd16..00571e98da52 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx @@ -36,7 +36,6 @@ namespace embed { class XStorage; } }}} - // MT: Not needed any more, remove later... class ImplXMLSignatureListener : public cppu::WeakImplHelper3 @@ -95,10 +94,7 @@ public: throw (com::sun::star::xml::sax::SAXException, com::sun::star::uno::RuntimeException); }; - -// --------------------------------------------------------------------------------- // XUriBinding -// --------------------------------------------------------------------------------- class UriBindingHelper : public cppu::WeakImplHelper1 < @@ -108,7 +104,6 @@ class UriBindingHelper : public cppu::WeakImplHelper1 private: com::sun::star::uno::Reference < com::sun::star::embed::XStorage > mxStorage; - public: UriBindingHelper(); UriBindingHelper( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rxStorage ); diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.cxx index c5117b7ec3ac..0cfe3e640601 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <sal/config.h> #include <rtl/uuid.h> #include "xmlencryption_mscryptimpl.hxx" @@ -281,7 +280,6 @@ XMLEncryption_MSCryptImpl :: decrypt( return aTemplate; } aTemplate->setStatus(::com::sun::star::xml::crypto::SecurityOperationStatus_OPERATION_SUCCEEDED); - /*---------------------------------------- if( pEncCtx->resultReplaced != 0 ) { pContent = pEncryptedData ; @@ -301,7 +299,6 @@ XMLEncryption_MSCryptImpl :: decrypt( xmlSecEncCtxDestroy( pEncCtx ) ; throw RuntimeException() ; } - ----------------------------------------*/ //Destroy the encryption context xmlSecEncCtxDestroy( pEncCtx ) ; |