Tinderbox failure, last success: 2012-02-13 15:48:45

Stephan Bergmann sbergman at redhat.com
Mon Feb 13 10:39:08 PST 2012


On 02/13/2012 06:18 PM, Ivan Timofeev wrote:
> On 13.02.2012 21:08, nthiebaud at gmail.com wrote:
>> /Volumes/Raid0/core/solver/unxmacxi.pro/inc/svtools/ctrlbox.hxx: In
>> member function 'void FontSizeBox::SetUserValue(sal_Int64)':
>> /Volumes/Raid0/core/solver/unxmacxi.pro/inc/svtools/ctrlbox.hxx:563:
>> error: no matching function for call to
>> 'FontSizeBox::SetUserValue(sal_Int64&, FieldUnit)'
>> /Volumes/Raid0/core/solver/unxmacxi.pro/inc/svtools/ctrlbox.hxx:563:
>> note: candidates are: void FontSizeBox::SetUserValue(sal_Int64)
>
>
> - void SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit );
> void SetUserValue( sal_Int64 nNewValue ) { SetUserValue( nNewValue,
> FUNIT_NONE ); }
>
> Noob's question:
> A function that is only used by an inline function will be treated as
> unused by callcatcher? Or is it a result of compiler's optimizations?

I guess the magic here was that the remaining SetUserValue was an 
override of an inherited overloaded virtual function, so that callers 
that go via a FontSizeBox instance effectively only saw one of the two 
overloads.  Anyway, fixed with a follow up commit by Michael.

Stephan


More information about the LibreOffice mailing list