diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-02-10 17:38:14 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-02-12 05:01:03 +0100 |
commit | c66461dca48665b54b7f9da748c87a32676a780d (patch) | |
tree | d17ba52c46f962c54549a06778948c7548f7dbf8 /sfx2 | |
parent | 5809b0a41bda8f749c4af7eec411077364b4da65 (diff) |
devtools: show if it is a struct or object as a value (for now)
Change-Id: I9edf2b29941ab9810dd52f6ad52f7856f2e8f61f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110740
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/devtools/ObjectInspectorTreeHandler.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx index c4e3a67e916f..b536c4a084f4 100644 --- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx +++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx @@ -63,6 +63,16 @@ OUString AnyToString(const uno::Any& aValue) OUString aRetStr; switch (eType) { + case uno::TypeClass_INTERFACE: + { + aRetStr = "<Object>"; + break; + } + case uno::TypeClass_STRUCT: + { + aRetStr = "<Struct>"; + break; + } case uno::TypeClass_BOOLEAN: { bool bBool = aValue.get<bool>(); |