Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


License LGPLv3+/MPL

Luke
From e327343b79c36f03ccf25b99195cbf7c582dde8e Mon Sep 17 00:00:00 2001
From: Luke Petrolekas <luke.petrolekas@gmail.com>
Date: Thu, 26 May 2011 18:55:51 -0400
Subject: [PATCH] Delete commented out code.

---
 xmlsecurity/source/framework/buffernode.cxx        |    6 ------
 xmlsecurity/source/framework/elementcollector.cxx  |    7 -------
 xmlsecurity/source/framework/elementcollector.hxx  |    1 -
 xmlsecurity/source/framework/securityengine.hxx    |    1 -
 .../source/framework/xmlencryptiontemplateimpl.cxx |    3 ---
 .../source/framework/xmlsignaturetemplateimpl.cxx  |    3 ---
 6 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/xmlsecurity/source/framework/buffernode.cxx 
b/xmlsecurity/source/framework/buffernode.cxx
index e6f1c63..2ba40f2 100644
--- a/xmlsecurity/source/framework/buffernode.cxx
+++ b/xmlsecurity/source/framework/buffernode.cxx
@@ -286,12 +286,6 @@ rtl::OUString BufferNode::printChildren() const
         }
         
         rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "(" ));
-        /*
-        if (((ElementCollector*)(*ii))->isInternalNotificationSuppressed())
-        {
-            rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "*IN-Suppressed* " ));
-        }
-        */
         rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SecID=" ));
         rc += rtl::OUString::valueOf(((ElementCollector*)(*ii))->getSecurityId());
         rc += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ")" ));
diff --git a/xmlsecurity/source/framework/elementcollector.cxx 
b/xmlsecurity/source/framework/elementcollector.cxx
index bff96c6..841900a 100644
--- a/xmlsecurity/source/framework/elementcollector.cxx
+++ b/xmlsecurity/source/framework/elementcollector.cxx
@@ -91,13 +91,6 @@ ElementCollector::ElementCollector(
     m_type = cssxc::sax::ElementMarkType_ELEMENTCOLLECTOR;
 }
 
-/*
-bool ElementCollector::isInternalNotificationSuppressed() const
-{
-    return m_bInternalNotificationSuppressed;
-}
-*/
-
 cssxc::sax::ElementMarkPriority ElementCollector::getPriority() const
 {
     return m_nPriority;
diff --git a/xmlsecurity/source/framework/elementcollector.hxx 
b/xmlsecurity/source/framework/elementcollector.hxx
index 6a6ae55..41bb054 100644
--- a/xmlsecurity/source/framework/elementcollector.hxx
+++ b/xmlsecurity/source/framework/elementcollector.hxx
@@ -86,7 +86,6 @@ public:
             xReferenceResolvedListener);
     virtual ~ElementCollector() {};
     
-    //bool isInternalNotificationSuppressed() const;
     com::sun::star::xml::crypto::sax::ElementMarkPriority getPriority() const;
     bool getModify() const;
     void notifyListener();
diff --git a/xmlsecurity/source/framework/securityengine.hxx 
b/xmlsecurity/source/framework/securityengine.hxx
index 71cc2eb..fb4c3cd 100644
--- a/xmlsecurity/source/framework/securityengine.hxx
+++ b/xmlsecurity/source/framework/securityengine.hxx
@@ -105,7 +105,6 @@ protected:
     /*
      * the status of the operation
      */
-    //bool      m_bOperationSucceed;
     com::sun::star::xml::crypto::SecurityOperationStatus m_nStatus;
     
     /*
diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx 
b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
index 73404b2..243d4dc 100644
--- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
+++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
@@ -135,9 +135,6 @@ Reference< XInterface > SAL_CALL XMLEncryptionTemplateImpl :: impl_createInstanc
 }
 
 Reference< XSingleServiceFactory > XMLEncryptionTemplateImpl :: impl_createFactory( const 
Reference< XMultiServiceFactory >& aServiceManager ) {
-    //Reference< XSingleServiceFactory > xFactory ;
-    //xFactory = ::cppu::createSingleFactory( aServiceManager , impl_getImplementationName , 
impl_createInstance , impl_getSupportedServiceNames ) ;
-    //return xFactory ;
     return ::cppu::createSingleFactory( aServiceManager , impl_getImplementationName() , 
impl_createInstance , impl_getSupportedServiceNames() ) ;
 }
 
diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx 
b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
index 30fcd04..c4358d6 100644
--- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
+++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
@@ -160,9 +160,6 @@ Reference< XInterface > SAL_CALL XMLSignatureTemplateImpl :: impl_createInstance
 }
 
 Reference< XSingleServiceFactory > XMLSignatureTemplateImpl :: impl_createFactory( const 
Reference< XMultiServiceFactory >& aServiceManager ) {
-    //Reference< XSingleServiceFactory > xFactory ;
-    //xFactory = ::cppu::createSingleFactory( aServiceManager , impl_getImplementationName , 
impl_createInstance , impl_getSupportedServiceNames ) ;
-    //return xFactory ;
     return ::cppu::createSingleFactory( aServiceManager , impl_getImplementationName() , 
impl_createInstance , impl_getSupportedServiceNames() ) ;
 }
 
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.