On 02/13/2012 06:18 PM, Ivan Timofeev wrote:
On 13.02.2012 21:08, [email protected] 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
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice