sfx2/source/devtools/ObjectInspectorTreeHandler.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit ee88afa23e86c20a355ccf00e5d7321d44ad56db Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Thu Mar 4 22:11:56 2021 +0900 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Fri Mar 12 16:00:58 2021 +0100 devtools: don't show the expander if the object has no value Change-Id: I2aa742c70ed3eab8b56d16e9d846d5bc21223c4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112113 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx index ea864bb7a8f1..42d5f163e75b 100644 --- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx +++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx @@ -366,6 +366,10 @@ public: switch (maAny.getValueType().getTypeClass()) { case uno::TypeClass_INTERFACE: + { + uno::Reference<uno::XInterface> xInterface(maAny, uno::UNO_QUERY); + return xInterface.is(); + } case uno::TypeClass_SEQUENCE: return true; default: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits