summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-01 13:56:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-02 06:20:35 +0000
commitd68a0fc050ea4d57e15246f8e71781cd42ebdaa1 (patch)
treed8f8e8823de13253a1bb41a8a4804dfec042694b /stoc/source/corereflection
parentde020fc9c3c67541067bc7e0b72ed41eae650288 (diff)
loplugin:unusedmethods
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c Reviewed-on: https://gerrit.libreoffice.org/19072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'stoc/source/corereflection')
-rw-r--r--stoc/source/corereflection/base.hxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx
index c4f5d36f2638..217b55ce854b 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -69,15 +69,6 @@ inline bool td_equals( typelib_TypeDescription * pTD, typelib_TypeDescriptionRef
rtl_ustr_compare( pTD->pTypeName->buffer, pType->pTypeName->buffer ) == 0));
}
-inline typelib_TypeDescription * getTypeByName( const OUString & rName )
-{
- typelib_TypeDescription * pTypeDescr = 0;
- typelib_typedescription_getByName( &pTypeDescr, rName.pData );
- if (! pTypeDescr->bComplete)
- typelib_typedescription_complete( &pTypeDescr );
- return pTypeDescr;
-}
-
typedef std::unordered_map< OUString, css::uno::WeakReference< css::reflection::XIdlField >,
OUStringHash > OUString2Field;
typedef std::unordered_map< OUString, css::uno::WeakReference< css::reflection::XIdlMethod >,