diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2019-09-07 01:14:48 +0300 |
---|---|---|
committer | Arkadiy Illarionov <qarkai@gmail.com> | 2019-09-07 12:34:16 +0200 |
commit | c1e1806c9c01d2ac2f62f95dd79cbb2037bc87af (patch) | |
tree | dc20681b01b9ea4ae4f168786926e25f7f2776ec /include/comphelper | |
parent | b9b39acea7ec3867b0d911128148b03bf24a66ca (diff) |
tdf#39593 drop comphelper::getImplementation
Replace with comphelper::getUnoTunnelImplementation.
Change-Id: I96277aa9c17532ea6e2781dbc3305b2dbaa4e5c2
Reviewed-on: https://gerrit.libreoffice.org/78733
Tested-by: Jenkins
Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/types.hxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/comphelper/types.hxx b/include/comphelper/types.hxx index e25c38d80d3c..b35fbef5f18f 100644 --- a/include/comphelper/types.hxx +++ b/include/comphelper/types.hxx @@ -51,16 +51,6 @@ namespace comphelper } } - template <class TYPE> - TYPE* getImplementation(const css::uno::Reference< css::uno::XInterface >& _rxIFace) - { - css::uno::Reference< css::lang::XUnoTunnel > xTunnel(_rxIFace, css::uno::UNO_QUERY); - if (xTunnel.is()) - return reinterpret_cast< TYPE* >(xTunnel->getSomething(TYPE::getUnoTunnelId())); - - return nullptr; - } - /** get a css::awt::FontDescriptor that is fully initialized with the XXX_DONTKNOW enum values (which isn't the case if you instantiate it |