On 02/13/2012 06:18 PM, Ivan Timofeev wrote:
On 13.02.2012 21:08, nthiebaud@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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.