summaryrefslogtreecommitdiff
path: root/sc/uiconfig
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-23 15:16:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-23 18:14:37 +0200
commit1efe1f82fabb3b8566c0beca2ba5df21c54fa6d5 (patch)
tree81127fe6e74d0370d0ff7d59a1b61b0f05884bc1 /sc/uiconfig
parent00af5c36e16c233fe365b3da770cf420cd415c24 (diff)
In checkUnoObjectType, check for derived-from types too
As discussed in the mail thread starting at <https://listarchives.libreoffice.org/global/users/msg54775.html> "[libreoffice-users] Experimental macro features: How to determine object types?", it is confusing if a variable dim'ed as com.sun.star.util.XSearchDescriptor cannot hold an object whose css.lang.XTypeProvider::getTypes only reports css.util.XReplaceDescriptor (which is derived from XSearchDescriptor) but not XSearchDescriptor itself. At least for now, keep the odd endsWithIgnoreAsciiCase check intact (instead of checking for strict equality). Change-Id: Idd8ae8cb11b0f2e9c6369842629fc5a21e1c5cc5 Reviewed-on: https://gerrit.libreoffice.org/81386 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/uiconfig')
0 files changed, 0 insertions, 0 deletions