summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Santiago Jiménez Sarmiento <jimenezsarmiento@gmail.com>2012-04-25 17:12:01 +0200
committerJesús Corrius <jesus@softcatala.org>2012-04-25 17:14:15 +0200
commitf33ed937b675540a0fec71822c3e55568065a433 (patch)
tree2c48115461530272bf83bb8a713a4fe10e696886
parentfd257f9e1936b0bc9bc9116bd73eaa04a7dbd060 (diff)
Remove unused methods
-rw-r--r--svtools/inc/svtools/framestatuslistener.hxx1
-rw-r--r--svtools/source/uno/framestatuslistener.cxx28
-rwxr-xr-xunusedcode.easy2
-rw-r--r--xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.cxx8
-rw-r--r--xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.hxx3
5 files changed, 1 insertions, 41 deletions
diff --git a/svtools/inc/svtools/framestatuslistener.hxx b/svtools/inc/svtools/framestatuslistener.hxx
index 3e5b8713e893..8c3fbd1e9bef 100644
--- a/svtools/inc/svtools/framestatuslistener.hxx
+++ b/svtools/inc/svtools/framestatuslistener.hxx
@@ -58,7 +58,6 @@ class SVT_DLLPUBLIC FrameStatusListener : public ::com::sun::star::frame::XStatu
// methods to support status forwarder, known by the old sfx2 toolbox controller implementation
void addStatusListener( const rtl::OUString& aCommandURL );
- void removeStatusListener( const rtl::OUString& aCommandURL );
void bindListener();
void unbindListener();
sal_Bool isBound() const;
diff --git a/svtools/source/uno/framestatuslistener.cxx b/svtools/source/uno/framestatuslistener.cxx
index 502211d3fb33..6579c26feae2 100644
--- a/svtools/source/uno/framestatuslistener.cxx
+++ b/svtools/source/uno/framestatuslistener.cxx
@@ -233,34 +233,6 @@ void FrameStatusListener::addStatusListener( const rtl::OUString& aCommandURL )
}
}
-void FrameStatusListener::removeStatusListener( const rtl::OUString& aCommandURL )
-{
- SolarMutexGuard aSolarMutexGuard;
-
- URLToDispatchMap::iterator pIter = m_aListenerMap.find( aCommandURL );
- if ( pIter != m_aListenerMap.end() )
- {
- Reference< XDispatch > xDispatch( pIter->second );
- Reference< XStatusListener > xStatusListener( static_cast< OWeakObject* >( this ), UNO_QUERY );
- m_aListenerMap.erase( pIter );
-
- try
- {
- Reference< XURLTransformer > xURLTransformer( m_xServiceManager->createInstance(
- rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.util.URLTransformer" ))),
- UNO_QUERY );
- com::sun::star::util::URL aTargetURL;
- aTargetURL.Complete = aCommandURL;
- xURLTransformer->parseStrict( aTargetURL );
-
- if ( xDispatch.is() && xStatusListener.is() )
- xDispatch->removeStatusListener( xStatusListener, aTargetURL );
- }
- catch (const Exception&)
- {
- }
- }
-}
void FrameStatusListener::bindListener()
{
diff --git a/unusedcode.easy b/unusedcode.easy
index fb7136148941..5e0fc8c18ad2 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,4 +1,3 @@
-CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
EditEngine::GetNextVisPortion(ParaPortion const*) const
FmFieldWinMgr::GetChildWindowId()
FmPropBrwMgr::GetChildWindowId()
@@ -719,7 +718,6 @@ std::__cxx1998::multimap<_xmlNode*, com::sun::star::uno::Reference<com::sun::sta
std::__cxx1998::vector<OrderedEntry*, std::allocator<OrderedEntry*> >::~vector()
std::__cxx1998::vector<ServiceInfo*, std::allocator<ServiceInfo*> >::~vector()
std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector()
-svt::FrameStatusListener::removeStatusListener(rtl::OUString const&)
svxform::DataNavigatorManager::GetChildWindowId()
svxform::FmFilterNavigatorWinMgr::GetChildWindowId()
svxform::NavigatorFrameManager::GetChildWindowId()
diff --git a/xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.cxx b/xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.cxx
index 63589b39cbb8..fd43387d4979 100644
--- a/xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.cxx
+++ b/xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.cxx
@@ -62,13 +62,6 @@ sal_Bool SAL_CALL CertificateExtension_XmlSecImpl :: isCritical() throw( ::com::
return m_xExtnValue ;
}
-//Helper method
-void CertificateExtension_XmlSecImpl :: setCertExtn( ::com::sun::star::uno::Sequence< sal_Int8 > extnId, ::com::sun::star::uno::Sequence< sal_Int8 > extnValue, sal_Bool critical ) {
- m_critical = critical ;
- m_xExtnId = extnId ;
- m_xExtnValue = extnValue ;
-}
-
void CertificateExtension_XmlSecImpl :: setCertExtn( unsigned char* value, unsigned int vlen, unsigned char* id, unsigned int idlen, sal_Bool critical ) {
unsigned int i ;
if( value != NULL && vlen != 0 ) {
@@ -94,4 +87,5 @@ void CertificateExtension_XmlSecImpl :: setCertExtn( unsigned char* value, unsig
m_critical = critical ;
}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.hxx b/xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.hxx
index bbfecbbcd760..d26666c03117 100644
--- a/xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.hxx
+++ b/xmlsecurity/source/xmlsec/certificateextension_xmlsecimpl.hxx
@@ -56,9 +56,6 @@ class CertificateExtension_XmlSecImpl : public ::cppu::WeakImplHelper1<
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getExtensionValue() throw( ::com::sun::star::uno::RuntimeException ) ;
- //Helper method
- void setCertExtn( ::com::sun::star::uno::Sequence< sal_Int8 > extnId, ::com::sun::star::uno::Sequence< sal_Int8 > extnValue, sal_Bool critical ) ;
-
void setCertExtn( unsigned char* value, unsigned int vlen, unsigned char* id, unsigned int idlen, sal_Bool critical ) ;
} ;