About tdf#106732 (autocaption)

Caolán McNamara caolanm at redhat.com
Mon Apr 10 13:54:17 UTC 2017


On Fri, 2017-03-24 at 03:31 -0700, julien2412 wrote:
> Hello,
> 
> On the bugtracker about autocaption tdf#106732 I created (see
> https://bugs.documentfoundation.org/show_bug.cgi?id=106732), I
> noticed that 
> in sw/source/ui/config/optload.cxx, in SwCaptionOptPage::Reset,
> behaviour I
> got could be fixed if I first created a variable corresponding to
> SvGlobalName(SO3_OUT_CLASSID) then compare rOleId with it. (see
> http://opengrok.libreoffice.org/xref/core/sw/source/ui/config/optload
> .cxx#624)
> 
> I must confirm it by adding some traces but it seems depending the
> case, the SvGlobalName constructor used isn't the same.

I think this is resolved now, or at least everything currently works.
There was a SvObjectServerList which returned a copy of a
SvObjectServer instead of a reference to one. Then the SvGloblName
member of that has some magic copy on write stuff, and its all very
confusing, but the result is that the temp was trash so comparisons
with it failed.


More information about the LibreOffice mailing list