summaryrefslogtreecommitdiff
path: root/vcl/source/uitest/uno/uiobject_uno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/uitest/uno/uiobject_uno.cxx')
-rw-r--r--vcl/source/uitest/uno/uiobject_uno.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcl/source/uitest/uno/uiobject_uno.cxx b/vcl/source/uitest/uno/uiobject_uno.cxx
index 9907e7bc4ecc..c3db38a3a57e 100644
--- a/vcl/source/uitest/uno/uiobject_uno.cxx
+++ b/vcl/source/uitest/uno/uiobject_uno.cxx
@@ -112,4 +112,13 @@ css::uno::Sequence<OUString> UIObjectUnoObj::getSupportedServiceNames()
return aServiceNames;
}
+OUString SAL_CALL UIObjectUnoObj::getHierarchy()
+{
+ if (!mpObj)
+ throw css::uno::RuntimeException();
+
+ SolarMutexGuard aGuard;
+ return mpObj->dumpHierarchy();
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */