https://bugs.freedesktop.org/show_bug.cgi?id=66049
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |[email protected] --- Comment #3 from Julien Nabet <[email protected]> --- Noel/Lionel: by trying to dig a little with warn:legacy.osl:28639:1:svx/source/fmcomp/gridcell.cxx:255: caught an exception! I noticed this commit: http://cgit.freedesktop.org/libreoffice/core/commit/?id=6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 When put back xNormalized with the patch below I don't have these errors but still it doesn't solve the problem so I suppose there's no link. diff --git a/svx/source/form/fmtools.cxx b/svx/source/form/fmtools.cxx index da7f05f..adc662b 100644 --- a/svx/source/form/fmtools.cxx +++ b/svx/source/form/fmtools.cxx @@ -180,6 +180,10 @@ sal_Int32 getElementPos(const Reference< ::com::sun::star::container::XIndexAcce DBG_ASSERT( xElement.is(), "getElementPos: invalid element!" ); if ( xElement.is() ) { + Reference< XInterface > xNormalized( xElement, UNO_QUERY ); + if (!xNormalized.is() ) + return nIndex; + // Feststellen an welcher Position sich das Kind befindet nIndex = xCont->getCount(); while (nIndex--) @@ -189,7 +193,7 @@ sal_Int32 getElementPos(const Reference< ::com::sun::star::container::XIndexAcce Reference< XInterface > xCurrent(xCont->getByIndex( nIndex ),UNO_QUERY); DBG_ASSERT( xCurrent.get() == Reference< XInterface >( xCurrent, UNO_QUERY ).get(), "getElementPos: container element not normalized!" ); - if ( xElement.get() == xCurrent.get() ) + if ( xNormalized.get() == xCurrent.get() ) break; } catch(Exception&) Any idea? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
