summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-29 00:10:42 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-29 00:11:30 +0900
commit3ac9b7af766f166a9cd8089ec49e54a48b31194b (patch)
tree8b2c68df4980e520d4463c9d2725e19ea3879a6a /cppuhelper
parent1a5aae96bdb20e36a17d77ec60da874037544628 (diff)
removed dead code
Change-Id: Ic70d66befc90450aeb276d53f6da7e81aef85478
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/propshlp.cxx74
1 files changed, 0 insertions, 74 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 082341941cb0..ce8ff96253ac 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -1057,65 +1057,10 @@ void OPropertySetHelper2::enableChangeListenerNotification( sal_Bool bEnable )
m_pReserved->m_bFireEvents = bEnable;
}
-#ifdef xdvnsdfln
-// XPropertyState
-PropertyState OPropertySetHelper::getPropertyState( const OUString& PropertyName )
-{
- PropertyState aState;
- return aState;
-}
-
-// XPropertyState
-Sequence< PropertyState > OPropertySetHelper::getPropertyStates( const Sequence< OUString >& PropertyNames )
-{
- ULONG nNames = PropertyNames.getLength();
-
- Sequence< PropertyState > aStates( nNames );
- return aStates;
-
-}
-
-void OPropertySetHelper::setPropertyToDefault( const OUString& aPropertyName )
-{
- setPropertyValue( aPropertyName, Any() );
-}
-
-Any OPropertySetHelper::getPropertyDefault( const OUString& aPropertyName ) const
-{
- return Any();
-}
-
-void OPropertySetHelper::addPropertyStateChangeListener( const OUString& aPropertyName, const XPropertyStateChangeListenerRef& Listener )
-{
-}
-
-void OPropertySetHelper::removePropertyStateChangeListener( const OUString& aPropertyName, const XPropertyStateChangeListenerRef& Listener )
-{
-}
-#endif
-
//========================================================================
//== OPropertyArrayHelper ================================================
//========================================================================
-//========================================================================
-
-// static OUString makeOUString( sal_Char *p )
-// {
-// sal_Int32 nLen = strlen(p);
-// sal_Unicode *pw = new sal_Unicode[nLen];
-
-// for( int i = 0 ; i < nLen ; i ++ ) {
-
-// // Only ascii strings allowed with this helper !
-// OSL_ASSERT( p[i] < 127 );
-// pw[i] = p[i];
-// }
-// OUString ow( pw , nLen );
-// delete pw;
-// return ow;
-// }
-
extern "C" {
static int compare_Property_Impl( const void *arg1, const void *arg2 )
@@ -1222,18 +1167,6 @@ sal_Bool OPropertyArrayHelper::fillPropertyMembersByHandle
//========================================================================
Sequence< Property > OPropertyArrayHelper::getProperties(void)
{
- /*if( aInfos.getLength() != nElements )
- {
- ((OPropertyArrayHelper *)this)->aInfos.realloc( nElements );
- Property * pProps = ((OPropertyArrayHelper *)this)->aInfos.getArray();
- for( sal_Int32 i = 0; i < nElements; i++ )
- {
- pProps[i].Name = pProperties[i].Name;
- pProps[i].Handle = pProperties[i].Handle;
- pProps[i].Type = pProperties[i].Type;
- pProps[i].Attributes = pProperties[i].Attributes;
- }
- }*/
return aInfos;
}
@@ -1248,13 +1181,6 @@ Property OPropertyArrayHelper::getPropertyByName(const OUString& aPropertyName)
if( !pR ) {
throw UnknownPropertyException();
}
-
- /*Property aProp;
- aProp.Name = pR->Name;
- aProp.Handle = pR->Handle;
- aProp.Type = pR->Type;
- aProp.Attributes = pR->Attributes;
- return aProp;*/
return *pR;
}