summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-02-22 09:15:39 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-02-22 06:29:27 +0100
commit460c778bd483fb0a61c4b0d46f5f876ce80dff26 (patch)
treeae61a40eda1f2ce1d4aad5f19f4692d8d67e9e50 /sfx2/source
parentfed778b1cf85b100d5744ceffabb08a3d1243271 (diff)
devtools: add implementation class to the methods category
Implementation class is the class where the method is implemented on. Change-Id: Ia415ce96a821b4335e1f378b6b7773548fd3e705 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111293 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/devtools/ObjectInspectorTreeHandler.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
index 39f2d70eb06a..e672d256fbe6 100644
--- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
+++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
@@ -301,12 +301,11 @@ public:
std::vector<std::pair<sal_Int32, OUString>> getColumnValues() override
{
- OUString aInString;
OUString aOutString;
-
auto xClass = mxMethod->getReturnType();
aOutString = simpleTypeName(xClass);
+ OUString aInString;
const auto aParameters = mxMethod->getParameterInfos();
bool bFirst = true;
for (auto const& rParameterInfo : aParameters)
@@ -334,9 +333,12 @@ public:
aInString += rParameterInfo.aName + " : " + simpleTypeName(rParameterInfo.aType);
}
+ OUString aImplementationClass = mxMethod->getDeclaringClass()->getName();
+
return {
{ 1, aOutString },
{ 2, aInString },
+ { 3, aImplementationClass },
};
}