unoxml/source/dom/node.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 694784687e502f2e68fde5c2e5d7fb860517cbf8 Author: Arkadiy Illarionov <qar...@gmail.com> AuthorDate: Sat Sep 7 15:09:33 2019 +0300 Commit: Arkadiy Illarionov <qar...@gmail.com> CommitDate: Sat Sep 7 14:54:03 2019 +0200 tdf#39593 use isUnoTunnelId in unoxml Change-Id: I8f29df9763030ff69791bf978a359f36d553dda4 Reviewed-on: https://gerrit.libreoffice.org/78742 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qar...@gmail.com> diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index 7171e6c2f791..cdeab8e2d419 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -993,9 +993,7 @@ namespace DOM ::sal_Int64 SAL_CALL CNode::getSomething(Sequence< ::sal_Int8 > const& rId) { - if ((rId.getLength() == 16) && - (0 == memcmp(getUnoTunnelId().getConstArray(), - rId.getConstArray(), 16))) + if (isUnoTunnelId<CNode>(rId)) { return ::sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >(this) ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits