summaryrefslogtreecommitdiff
path: root/include/comphelper/types.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-19 13:53:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-19 14:48:27 +0200
commit39ce314c12e3570c074475c7809c3b37b2241c41 (patch)
treee9cd7c0e2896d9724505a6b62d964ef19e56672e /include/comphelper/types.hxx
parent884e970b8c5b56b640eac1120522f77aac0eae60 (diff)
comphelper::isA(Type... -> Type == cppu::UnoType...
Change-Id: I1bfb99b1715a907a03af5a30df6c7a41f91fd2fb
Diffstat (limited to 'include/comphelper/types.hxx')
-rw-r--r--include/comphelper/types.hxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/comphelper/types.hxx b/include/comphelper/types.hxx
index 142cee946d93..0e506f392afc 100644
--- a/include/comphelper/types.hxx
+++ b/include/comphelper/types.hxx
@@ -55,20 +55,6 @@ namespace comphelper
/// returns sal_True if objects of the types given are "compatible"
COMPHELPER_DLLPUBLIC bool isAssignableFrom(const css::uno::Type& _rAssignable, const css::uno::Type& _rFrom);
-
- /** just a small shortcut ...
- check if a type you have at hand at runtime is equal to another type you have at compile time
- if all our compiler would accept function calls with explicit template arguments (like
- isA<classFoo>(runtimeType)), we wouldn't need the second parameter. But unfortunately at
- least the current solaris compiler doesn't allow this ....
- So this function is nearly senseless ....
- */
- template <class TYPE>
- bool isA(const css::uno::Type& _rType, TYPE* pDummy)
- {
- return _rType.equals(cppu::getTypeFavourUnsigned(pDummy));
- }
-
/** ask the given object for an XComponent interface and dispose on it
*/
template <class TYPE>