summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-30 20:52:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-02 14:53:47 +0100
commitb26df89e6c9405c5818a6f31f2c012ab657c421d (patch)
tree2ffbd0eb473f70da7f03685528b479640bfbe7b2 /comphelper
parent54bc03051702ad279dfd17471a3d5c30003c892d (diff)
callcatcher: remove some unused code
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/comphelper/propertycontainerhelper.hxx7
-rw-r--r--comphelper/source/property/propertycontainerhelper.cxx16
2 files changed, 0 insertions, 23 deletions
diff --git a/comphelper/inc/comphelper/propertycontainerhelper.hxx b/comphelper/inc/comphelper/propertycontainerhelper.hxx
index e6439ea34e96..1ad37df570bb 100644
--- a/comphelper/inc/comphelper/propertycontainerhelper.hxx
+++ b/comphelper/inc/comphelper/propertycontainerhelper.hxx
@@ -184,13 +184,6 @@ protected:
*/
void describeProperties(::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps) const;
- /** modify the attributes of an already registered property.
-
- You may want to use this if you're a derived from OPropertyContainer indirectly and want to override
- some settings your base class did.
- */
- void modifyAttributes(sal_Int32 _nHandle, sal_Int32 _nAddAttrib, sal_Int32 _nRemoveAttrib);
-
/** retrieves the description for a registered property
@throw com::sun::star::beans::UnknownPropertyException
if no property with the given name is registered
diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx
index 64aa82ea0130..f9d625df6531 100644
--- a/comphelper/source/property/propertycontainerhelper.cxx
+++ b/comphelper/source/property/propertycontainerhelper.cxx
@@ -487,22 +487,6 @@ const Property& OPropertyContainerHelper::getProperty( const ::rtl::OUString& _r
}
//--------------------------------------------------------------------------
-void OPropertyContainerHelper::modifyAttributes(sal_Int32 _nHandle, sal_Int32 _nAddAttrib, sal_Int32 _nRemoveAttrib)
-{
- // get the property somebody is asking for
- PropertiesIterator aPos = searchHandle(_nHandle);
- if (aPos == m_aProperties.end())
- {
- OSL_FAIL( "OPropertyContainerHelper::modifyAttributes: unknown handle!" );
- // should not happen if the derived class has built a correct property set info helper to be used by
- // our base class OPropertySetHelper
- return;
- }
- aPos->aProperty.Handle |= _nAddAttrib;
- aPos->aProperty.Handle &= ~_nRemoveAttrib;
-}
-
-//--------------------------------------------------------------------------
void OPropertyContainerHelper::describeProperties(Sequence< Property >& _rProps) const
{
Sequence< Property > aOwnProps(m_aProperties.size());