https://bugs.freedesktop.org/show_bug.cgi?id=75339
--- Comment #10 from Lionel Elie Mamane <[email protected]> --- Created attachment 101652 --> https://bugs.freedesktop.org/attachment.cgi?id=101652&action=edit compare the references instead of comparing the .get() This patch also works... Aha, this seems to be thanks to special-case code in "inline bool BaseReference::operator == ( XInterface * pInterface ) const" (file include/com/sun/star/uno/Reference.hxx): if (_pInterface == pInterface) return true; try { // only the query to XInterface must return the same pointer if they belong to same objects Reference< XInterface > x1( _pInterface, UNO_QUERY ); Reference< XInterface > x2( pInterface, UNO_QUERY ); return (x1._pInterface == x2._pInterface); } Stephan? Your opinion? Is this patch 100% robust, or should we go with the other patch (comparing XColumn pointers)? -- 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
