summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-25 01:49:02 +0800
committerMichael Meeks <michael.meeks@suse.com>2012-02-25 20:33:57 +0000
commit0333d2101acf36c9f44e5cc51ff6964d8a98920d (patch)
tree8069ae0040dd44a7a6c7d6a1356da6fd470ae1b2 /comphelper/source
parent552a9862f8a11d8e3b86eef710d91a322a3a2946 (diff)
Remove unused code in basegfx, comphelper
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/misc/accimplaccess.cxx12
-rw-r--r--comphelper/source/misc/mimeconfighelper.cxx16
2 files changed, 0 insertions, 28 deletions
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index f7a0da3bc141..18fac987d578 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -107,18 +107,6 @@ namespace comphelper
m_pImpl->m_nForeignControlledStates &= ~nBitMask;
}
- //---------------------------------------------------------------------
- sal_Bool OAccessibleImplementationAccess::setForeignControlledState( const Reference< XAccessibleContext >& _rxComponent, const sal_Int16 _nState,
- const sal_Bool _bSet )
- {
- OAccessibleImplementationAccess* pImplementation = getImplementation( _rxComponent );
-
- if ( pImplementation )
- pImplementation->setStateBit( _nState, _bSet );
-
- return ( NULL != pImplementation );
- }
-
namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, lcl_ImplId > {}; }
//---------------------------------------------------------------------
diff --git a/comphelper/source/misc/mimeconfighelper.cxx b/comphelper/source/misc/mimeconfighelper.cxx
index 4416415a6444..168c27909a74 100644
--- a/comphelper/source/misc/mimeconfighelper.cxx
+++ b/comphelper/source/misc/mimeconfighelper.cxx
@@ -705,22 +705,6 @@ uno::Sequence< beans::NamedValue > MimeConfigurationHelper::GetObjectPropsByDocu
return UpdateMediaDescriptorWithFilterName( aMediaDescr, sal_True );
}
-sal_Bool MimeConfigurationHelper::AddFilterNameCheckOwnFile(
- uno::Sequence< beans::PropertyValue >& aMediaDescr )
-{
- sal_Bool bResult = sal_False;
-
- ::rtl::OUString aFilterName = UpdateMediaDescriptorWithFilterName( aMediaDescr, sal_False );
- if ( !aFilterName.isEmpty() )
- {
- sal_Int32 nFlags = GetFilterFlags( aFilterName );
- // check the OWN flag
- bResult = ( nFlags & SFX_FILTER_OWN );
- }
-
- return bResult;
-}
-
//-----------------------------------------------------------
::rtl::OUString MimeConfigurationHelper::GetDefaultFilterFromServiceName( const ::rtl::OUString& aServiceName, sal_Int32 nVersion )
{