extensions/source/ole/unoobjw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4396123b4f7998dafe5246d9721ef3e686626abe Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Thu Mar 7 14:41:55 2019 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Thu Mar 7 15:24:06 2019 +0100 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 <t...@collabora.com> 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits