Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Le 06/05/2011 11:10, Michael Meeks a écrit :
Hi Julien,

On Thu, 2011-05-05 at 23:39 +0200, Julien Nabet wrote:
By digging into cppcheck logs, I saw this :
[chart2/source/model/template/BubbleChartType.cxx:69] Technically the
member function
'StaticBubbleChartTypeDefaults_Initializer::lcl_AddDefaultsToMap' can be
const
[chart2/source/model/template/BubbleChartTypeTemplate.cxx:76]:
Technically the member function
'StaticBubbleChartTypeTemplateDefaults_Initializer::lcl_AddDefaultsToMap' can
be const

But these functions are empty.
So :
- should they be removed ?
        They certainly could be - I guess if people are implementing them, they
will most likely look at other modules in chart2/ to see the pattern
that is used here.
The 2 methods have been removed, the patch was pushed on Master.
Generally speaking, if other methods like these are found, should they be removed too or each case should be analyzed specifically ?

Julien.


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.