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 14:54:56 +0200
commit29dab3f605c52e583d23b065499a3a3b72bd6490 (patch)
tree1cafe41de72571f789d49609ee29bd6348e10b81 /extensions
parent419fe71b494cc7f74035f2227bdb8d8b6f009308 (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
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 798418f482d7..9824b9ec4394 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -894,7 +894,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)