[Libreoffice-commits] core.git: sfx2/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Fri Feb 26 07:06:25 UTC 2021
sfx2/source/devtools/ObjectInspectorTreeHandler.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 3e88599efb38e3b9f7b4d18d62627b5ecffa0bf3
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Wed Feb 24 15:56:54 2021 +0900
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Fri Feb 26 08:05:35 2021 +0100
devtools: support showing type's name as value
Change-Id: Ifd99e884efe229dee2d0b42c6c66d3d9c3c90e7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111531
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
index 52e6111a65f4..54cebc87c2a4 100644
--- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
+++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
@@ -159,6 +159,12 @@ OUString AnyToString(const uno::Any& aValue, const uno::Reference<uno::XComponen
aRetStr = OUString::number(aNumber);
break;
}
+ case uno::TypeClass_TYPE:
+ {
+ auto aType = aValue.get<uno::Type>();
+ aRetStr = aType.getTypeName();
+ break;
+ }
case uno::TypeClass_ENUM:
{
sal_Int32 nIntValue = 0;
More information about the Libreoffice-commits
mailing list