summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-03-07 14:41:55 +0200
committerTor Lillqvist <tml@collabora.com>2019-03-07 15:24:06 +0100
commit4396123b4f7998dafe5246d9721ef3e686626abe (patch)
tree83e18390b4c913e8a7055d903c56605004792778 /extensions
parent754c6af45ac64e2fec04e0bbea571c2892a672d8 (diff)
Generate more specific names for unknown members than just "Unknown"
Include the numeric member id in the name. Hopefully makes it a bit easier to interpret log files produced by LibreOffice or by the COLEAT tool. Change-Id: I7270b9538cf1a75db8972fb91eb57b931fe8e320 Reviewed-on: https://gerrit.libreoffice.org/68859 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoobjw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 8f1130905ea7..8a9408be3ec2 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -892,7 +892,7 @@ HRESULT STDMETHODCALLTYPE CXTypeInfo::GetDocumentation(MEMBERID memid,
}
else
{
- *pBstrName = SysAllocString(L"Unknown");
+ *pBstrName = SysAllocString(o3tl::toW(OUString(OUString("UnknownNameOfMember#") + OUString::number(memid)).getStr()));
}
}
if (pBstrDocString)