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 xInterface(maAny, uno::UNO_QUERY); + return xInterface.is(); + } case uno::TypeClass_SEQUENCE: return true; default: