[Libreoffice-commits] .: xmlsecurity/source
Noel Power
noelp at kemper.freedesktop.org
Fri May 27 02:45:50 PDT 2011
xmlsecurity/source/framework/buffernode.cxx | 6 ------
xmlsecurity/source/framework/elementcollector.cxx | 7 -------
xmlsecurity/source/framework/elementcollector.hxx | 1 -
xmlsecurity/source/framework/securityengine.hxx | 1 -
xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx | 3 ---
xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx | 3 ---
6 files changed, 21 deletions(-)
New commits:
commit 121fae3f21b958c60c8d411ce20c19236eada463
Author: Luke Petrolekas <luke.petrolekas at gmail.com>
Date: Thu May 26 18:55:51 2011 -0400
Delete commented out code.
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() ) ;
}
More information about the Libreoffice-commits
mailing list