summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/extract.hxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/comphelper/extract.hxx b/include/comphelper/extract.hxx
index 6d401e66ae16..07acf4258417 100644
--- a/include/comphelper/extract.hxx
+++ b/include/comphelper/extract.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_COMPHELPER_EXTRACT_HXX
#include <com/sun/star/lang/IllegalArgumentException.hpp>
-#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/TypeClass.hpp>
#include <com/sun/star/uno/Type.hxx>
#include <com/sun/star/uno/Any.hxx>
@@ -101,24 +100,6 @@ inline ::com::sun::star::uno::Any SAL_CALL enum2any( E eEnum )
}
/**
- * Extracts interface from an any. If given any does not hold the demanded interface,
- * it will be queried for it.
- * If no interface is available, the out ref will be cleared.
- *<BR>
- * @param rxOut [out] demanded interface
- * @param rAny interface
- * @return sal_True if any reference (including the null ref) was retrieved from any else sal_False.
- */
-template< class T >
-inline bool SAL_CALL extractInterface(
- ::com::sun::star::uno::Reference< T > & rxOut,
- const ::com::sun::star::uno::Any & rAny )
-{
- rxOut.clear();
- return (rAny >>= rxOut);
-}
-
-/**
* extracts a boolean either as a sal_Bool or an integer from
* an any. If there is no sal_Bool or integer inside the any
* a ::com::sun::star::lang::IllegalArgumentException is thrown