diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 13:45:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 14:48:27 +0200 |
commit | 884e970b8c5b56b640eac1120522f77aac0eae60 (patch) | |
tree | 9e547fda7507bb90affe716e526b44749dda38bf | |
parent | d0f18382c59a54fcbbe8419b43e264a0c48fa6ec (diff) |
Remove unused comphelper::isAReference
Change-Id: I7033e1e60f67e93a31d19ea08513982643dd61ae
-rw-r--r-- | include/comphelper/types.hxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/comphelper/types.hxx b/include/comphelper/types.hxx index 561144601091..142cee946d93 100644 --- a/include/comphelper/types.hxx +++ b/include/comphelper/types.hxx @@ -69,17 +69,6 @@ namespace comphelper return _rType.equals(cppu::getTypeFavourUnsigned(pDummy)); } - /** check if a type you have at hand at runtime is equal to another type you have at compile time - */ - template <class TYPE> - bool isAReference(const css::uno::Any& _rVal, TYPE*) - { - return _rVal.getValueType().equals( - cppu::getTypeFavourUnsigned( - static_cast<css::uno::Reference<TYPE>*>(NULL))); - } - - /** ask the given object for an XComponent interface and dispose on it */ template <class TYPE> |