https://bugs.documentfoundation.org/show_bug.cgi?id=54021
Caolán McNamara <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #49 from Caolán McNamara <[email protected]> ---
Using https://bugs.documentfoundation.org/attachment.cgi?id=112455 and digging
into what is different between old working state and current state I strangely
see that:
back in the working case we get a FmXGridControl from a sControlServiceName of
"com.sun.star.form.control.GridControl" in
ViewObjectContactOfUnoControl_Impl::createControlForDevice
now we get a SbaXGridControl from "com.sun.star.form.control.GridControl"
instead. (SbaXGridControl inherits from FmXGridControl)
looks to me that SbaXGridControl has drag and drop support that FmXGridControl
does not, and that this is the difference that has triggered all this
com.sun.star.form.control.GridControl appears in dbaccess/util/dbu.component
and SbaXGridControl::getSupportedServiceNames
but
svx/source/form/fmservs.cxx has ImplSmartRegisterUnoServices and the last entry
of REGISTER_SERVICE(FmXGridControl, FM_SUN_CONTROL_GRIDCONTROL);
expands to...
uno::Reference< lang::XMultiServiceFactory > xServiceFactory =
::comphelper::getProcessServiceFactory();
uno::Reference< container::XSet > xSet(xServiceFactory, uno::UNO_QUERY);
OUString sString = "com.sun.star.form.control.GridControl";
xSingleFactory = ::cppu::createSingleFactory(xServiceFactory,
OUString(), FmXGridControl_NewInstance_Impl,
uno::Sequence< OUString>(&sString, 1));
xSet->insert(uno::makeAny(xSingleFactory));
which sort of looks like it wants to replace the default target of
"com.sun.star.form.control.GridControl" with a replacement
caolam->sberg: IYO what is ImplSmartRegisterUnoServices trying to do ?
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs