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-09-20 11:49:16 +0200
commit0c33dfa8de7e4d9e08dd2b6f5293adb7ac22bca8 (patch)
tree92cd4ef2b458b8577b7a895b1de30054015b55e5 /extensions
parent053474e539c7724c8cfeb0c1dee1a6ede5f38c13 (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 (cherry picked from commit 29dab3f605c52e583d23b065499a3a3b72bd6490) Reviewed-on: https://gerrit.libreoffice.org/79178 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-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 03314e44f506..0f00d2c9d06f 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)