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 <quikee@gmail.com>
This commit is contained in:
parent
4acad9bad5
commit
ee88afa23e
@ -366,6 +366,10 @@ public:
|
|||||||
switch (maAny.getValueType().getTypeClass())
|
switch (maAny.getValueType().getTypeClass())
|
||||||
{
|
{
|
||||||
case uno::TypeClass_INTERFACE:
|
case uno::TypeClass_INTERFACE:
|
||||||
|
{
|
||||||
|
uno::Reference<uno::XInterface> xInterface(maAny, uno::UNO_QUERY);
|
||||||
|
return xInterface.is();
|
||||||
|
}
|
||||||
case uno::TypeClass_SEQUENCE:
|
case uno::TypeClass_SEQUENCE:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user