From 884e970b8c5b56b640eac1120522f77aac0eae60 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 19 Aug 2015 13:45:59 +0200 Subject: Remove unused comphelper::isAReference Change-Id: I7033e1e60f67e93a31d19ea08513982643dd61ae --- include/comphelper/types.hxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include') 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 - bool isAReference(const css::uno::Any& _rVal, TYPE*) - { - return _rVal.getValueType().equals( - cppu::getTypeFavourUnsigned( - static_cast*>(NULL))); - } - - /** ask the given object for an XComponent interface and dispose on it */ template -- cgit