diff options
author | Laurent Charrière <lcharriere@gmail.com> | 2010-10-13 22:28:40 -0700 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-14 10:54:58 +0100 |
commit | fee1a2b79e3478473fdbac8b2e626606e2e2128e (patch) | |
tree | 97384dedaa9afb6a5fda05e9cacb7cb7d0c93907 | |
parent | a22e62641abbbb7e11cc8b1baaaa03d333debb66 (diff) |
Delete commented out code in ure/cppuhelper
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
-rw-r--r-- | cppuhelper/inc/cppuhelper/interfacecontainer.hxx | 1 | ||||
-rw-r--r-- | cppuhelper/source/factory.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/interfacecontainer.cxx | 1 | ||||
-rw-r--r-- | cppuhelper/source/weak.cxx | 10 |
4 files changed, 0 insertions, 14 deletions
diff --git a/cppuhelper/inc/cppuhelper/interfacecontainer.hxx b/cppuhelper/inc/cppuhelper/interfacecontainer.hxx index 15f93640dc51..4304b7c4a32f 100644 --- a/cppuhelper/inc/cppuhelper/interfacecontainer.hxx +++ b/cppuhelper/inc/cppuhelper/interfacecontainer.hxx @@ -157,7 +157,6 @@ void OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::dispos { typedef OInterfaceContainerHelper* ppp; ppListenerContainers = new ppp[nSize]; - //ppListenerContainers = new (ListenerContainer*)[nSize]; typename InterfaceMap::iterator iter = m_pMap->begin(); typename InterfaceMap::iterator end = m_pMap->end(); diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index b4d6848a0ad9..c7b492e9a626 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -1084,8 +1084,6 @@ Reference<XSingleServiceFactory > SAL_CALL createOneInstanceFactory( { return new OFactoryComponentHelper( rServiceManager, rImplementationName, pCreateFunction, 0, &rServiceNames, pModCount, sal_True ); -// return new OFactoryUnloadableComponentHelper( -// rServiceManager, rImplementationName, pCreateFunction, 0, &rServiceNames, pModCount, sal_True ); } // global function diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx index f1b249d7a018..ec4b48da8646 100644 --- a/cppuhelper/source/interfacecontainer.cxx +++ b/cppuhelper/source/interfacecontainer.cxx @@ -686,7 +686,6 @@ void OMultiTypeInterfaceContainerHelperInt32::disposeAndClear( const EventObject { typedef OInterfaceContainerHelper* ppp; ppListenerContainers = new ppp[nSize]; - //ppListenerContainers = new (ListenerContainer*)[nSize]; t_long2ptr::iterator iter = pMap->begin(); t_long2ptr::iterator end = pMap->end(); diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index e61670afc498..04bc1f3a05f7 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -289,16 +289,6 @@ Any OWeakAggObject::queryInterface( const Type & rType ) throw(::com::sun::star: { Reference< XInterface > x( xDelegator ); // harden ref return (x.is() ? x->queryInterface( rType ) : queryAggregation( rType )); - -// // set rOut to zero, if failed -// if( !xDelegator.queryHardRef( aUik, rOut ) ) -// { -// XInterfaceRef x; -// if( !xDelegator.queryHardRef( ((XInterface*)0)->getSmartUik(), x ) ) -// // reference is not valid -// queryAggregation( aUik, rOut ); -// } -// return rOut.is(); } // XAggregation |