summaryrefslogtreecommitdiff
path: root/include/unotools/sharedunocomponent.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/unotools/sharedunocomponent.hxx')
-rw-r--r--include/unotools/sharedunocomponent.hxx33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/unotools/sharedunocomponent.hxx b/include/unotools/sharedunocomponent.hxx
index 9a293dee9759..0d7921b75a1f 100644
--- a/include/unotools/sharedunocomponent.hxx
+++ b/include/unotools/sharedunocomponent.hxx
@@ -194,11 +194,8 @@ namespace utl
inline bool set( const css::uno::BaseReference& _rRef, css::uno::UnoReference_Query _query );
- inline void set( const css::uno::XInterface* _pInterface, css::uno::UnoReference_QueryThrow _queryThrow );
inline void set( const css::uno::BaseReference & _rRef, css::uno::UnoReference_QueryThrow _queryThrow );
- inline void set( const css::uno::Any& _rAny, css::uno::UnoReference_QueryThrow _queryThrow );
- inline void set( const INTERFACE* _pInterface, css::uno::UnoReference_SetThrow _setThrow );
inline void set( const css::uno::Reference< INTERFACE >& _rRef, css::uno::UnoReference_SetThrow _setThrow );
inline void set( const SharedUNOComponent& _rComp, css::uno::UnoReference_SetThrow _setThrow );
@@ -241,11 +238,6 @@ namespace utl
}
// comparison operators
- template < class INTERFACE, class COMPONENT >
- bool operator==( const css::uno::Reference< INTERFACE >& _rLHS, const SharedUNOComponent< INTERFACE, COMPONENT >& _rRHS )
- {
- return _rLHS == _rRHS.getTyped();
- }
template < class INTERFACE, class COMPONENT >
bool operator==( const SharedUNOComponent< INTERFACE, COMPONENT >& _rLHS, const css::uno::Reference< INTERFACE >& _rRHS )
@@ -253,13 +245,6 @@ namespace utl
return _rLHS.getTyped() == _rRHS;
}
- // conversion to Any
- template < class INTERFACE, class COMPONENT >
- inline void SAL_CALL operator <<= ( css::uno::Any & rAny, const SharedUNOComponent< INTERFACE, COMPONENT >& value )
- {
- rAny <<= value.getTyped();
- }
-
template < class INTERFACE, class COMPONENT >
inline css::uno::Any SAL_CALL makeAny( const SharedUNOComponent< INTERFACE, COMPONENT >& value )
{
@@ -267,30 +252,12 @@ namespace utl
}
template < class INTERFACE, class COMPONENT >
- void SharedUNOComponent< INTERFACE, COMPONENT >::set( const css::uno::XInterface* _pInterface, css::uno::UnoReference_QueryThrow _queryThrow )
- {
- reset( css::uno::Reference< INTERFACE >( _pInterface, _queryThrow ), TakeOwnership );
- }
-
- template < class INTERFACE, class COMPONENT >
void SharedUNOComponent< INTERFACE, COMPONENT >::set( const css::uno::BaseReference & _rRef, css::uno::UnoReference_QueryThrow _queryThrow )
{
reset( css::uno::Reference< INTERFACE >( _rRef, _queryThrow ), TakeOwnership );
}
template < class INTERFACE, class COMPONENT >
- void SharedUNOComponent< INTERFACE, COMPONENT >::set( const css::uno::Any& _rAny, css::uno::UnoReference_QueryThrow _queryThrow )
- {
- reset( css::uno::Reference< INTERFACE >( _rAny, _queryThrow ), TakeOwnership );
- }
-
- template < class INTERFACE, class COMPONENT >
- void SharedUNOComponent< INTERFACE, COMPONENT >::set( const INTERFACE* _pInterface, css::uno::UnoReference_SetThrow _setThrow )
- {
- reset( css::uno::Reference< INTERFACE >( _pInterface, _setThrow ), TakeOwnership );
- }
-
- template < class INTERFACE, class COMPONENT >
void SharedUNOComponent< INTERFACE, COMPONENT >::set( const css::uno::Reference< INTERFACE >& _rRef, css::uno::UnoReference_SetThrow _setThrow )
{
reset( css::uno::Reference< INTERFACE >( _rRef, _setThrow ), TakeOwnership );