diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-08 16:19:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-09 08:11:05 +0200 |
commit | 1ab27f9ae6f32c7502884c02c2217bbdcf035c48 (patch) | |
tree | 3d8d074f96d32cd2f8d486c7bd991a07067adb04 /scaddins/source/datefunc | |
parent | 453879cfd8f4a8e22847043231a0929e4d50f238 (diff) |
loplugin:constfields in scaddins,sccomp
Change-Id: I4d21cfcc65c099fbddbe5146fc1b8a6257971e32
Reviewed-on: https://gerrit.libreoffice.org/61555
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scaddins/source/datefunc')
-rw-r--r-- | scaddins/source/datefunc/datefunc.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index 51b2899daeef..10e98c0c8e30 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -50,23 +50,23 @@ struct ScaFuncDataBase const char* pUINameID; // resource ID to UI name const char** pDescrID; // resource ID to description, parameter names and ~ description const char** pCompListID; // list of valid names - sal_uInt16 nParamCount; // number of named / described parameters - ScaCategory eCat; // function category - bool bDouble; // name already exist in Calc - bool bWithOpt; // first parameter is internal + sal_uInt16 const nParamCount; // number of named / described parameters + ScaCategory const eCat; // function category + bool const bDouble; // name already exist in Calc + bool const bWithOpt; // first parameter is internal }; class ScaFuncData final { private: - OUString aIntName; // internal name (get***) + OUString const aIntName; // internal name (get***) const char* pUINameID; // resource ID to UI name const char** pDescrID; // leads also to parameter descriptions! - sal_uInt16 nParamCount; // num of parameters + sal_uInt16 const nParamCount; // num of parameters std::vector<OUString> aCompList; // list of all valid names - ScaCategory eCat; // function category - bool bDouble; // name already exist in Calc - bool bWithOpt; // first parameter is internal + ScaCategory const eCat; // function category + bool const bDouble; // name already exist in Calc + bool const bWithOpt; // first parameter is internal public: ScaFuncData(const ScaFuncDataBase& rBaseData); |