diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-03-07 14:41:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-03-07 15:24:06 +0100 |
commit | 4396123b4f7998dafe5246d9721ef3e686626abe (patch) | |
tree | 83e18390b4c913e8a7055d903c56605004792778 | |
parent | 754c6af45ac64e2fec04e0bbea571c2892a672d8 (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>
-rw-r--r-- | extensions/source/ole/unoobjw.cxx | 2 |
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) |