summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-25 17:19:26 +0300
committerTor Lillqvist <tml@collabora.com>2018-06-25 17:23:11 +0300
commit37a2639842a8d86698f2f40e8216c6619c7fa4d8 (patch)
tree548e721c12e76cb9615220bb4f3e459c3e190712 /extensions
parent0ac1baf970a2f983071b56040996c0873d35b004 (diff)
Add a FIXME
Change-Id: I3771d6f4703bbd1f012389f5699928464875290f
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoobjw.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 123a4a914412..c0c33b92eff3 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -1038,6 +1038,10 @@ STDMETHODIMP InterfaceOleWrapper::GetTypeInfo(unsigned int iTInfo, LCID, ITypeIn
if (iTInfo != 0)
return E_NOTIMPL;
+ // FIXME: This is surely incorrect. Why is being able to handle GetTypeInfo() here coupled to
+ // being a source for outgoing events, i.e. implementing XConnectable? What would break if we
+ // would use XInterfaceWithIID and its getIID instead?
+
Reference<ooo::vba::XConnectable> xConnectable(m_xOrigin, UNO_QUERY);
if (!xConnectable.is())
return E_NOTIMPL;