summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-29 09:07:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-29 23:42:26 +0000
commit309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch)
treef8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /framework
parent20deac4903fc0697477e855feeff482b3da234f9 (diff)
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/classes/propertysethelper.hxx12
-rw-r--r--framework/source/fwi/classes/propertysethelper.cxx15
2 files changed, 0 insertions, 27 deletions
diff --git a/framework/inc/classes/propertysethelper.hxx b/framework/inc/classes/propertysethelper.hxx
index 1e022a3c5f16..a81499f5a264 100644
--- a/framework/inc/classes/propertysethelper.hxx
+++ b/framework/inc/classes/propertysethelper.hxx
@@ -112,18 +112,6 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet
throw(css::beans::PropertyExistException,
css::uno::Exception );
- /** remove an existing property info from the set of supported ones.
- *
- * @param sProperty
- * the name of the property.
- *
- * @throw [com::sun::star::beans::UnknownPropertyException]
- * if no property with the specified name exists.
- */
- void SAL_CALL impl_removePropertyInfo(const OUString& sProperty)
- throw(css::beans::UnknownPropertyException,
- css::uno::Exception );
-
/** mark the object as "useable for working" or "dead".
*
* This correspond to the lifetime handling implemented by the base class TransactionBase.
diff --git a/framework/source/fwi/classes/propertysethelper.cxx b/framework/source/fwi/classes/propertysethelper.cxx
index 9e7b04bb18a1..ce83b597c4ec 100644
--- a/framework/source/fwi/classes/propertysethelper.cxx
+++ b/framework/source/fwi/classes/propertysethelper.cxx
@@ -63,21 +63,6 @@ void SAL_CALL PropertySetHelper::impl_addPropertyInfo(const css::beans::Property
m_lProps[aProperty.Name] = aProperty;
}
-void SAL_CALL PropertySetHelper::impl_removePropertyInfo(const OUString& sProperty)
- throw(css::beans::UnknownPropertyException,
- css::uno::Exception )
-{
- TransactionGuard aTransaction(m_rTransactionManager, E_SOFTEXCEPTIONS);
-
- SolarMutexGuard g;
-
- PropertySetHelper::TPropInfoHash::iterator pIt = m_lProps.find(sProperty);
- if (pIt == m_lProps.end())
- throw css::beans::UnknownPropertyException();
-
- m_lProps.erase(pIt);
-}
-
void SAL_CALL PropertySetHelper::impl_enablePropertySet()
{
}