summaryrefslogtreecommitdiff
path: root/scaddins/source/pricing
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 16:19:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-09 08:11:05 +0200
commit1ab27f9ae6f32c7502884c02c2217bbdcf035c48 (patch)
tree3d8d074f96d32cd2f8d486c7bd991a07067adb04 /scaddins/source/pricing
parent453879cfd8f4a8e22847043231a0929e4d50f238 (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/pricing')
-rw-r--r--scaddins/source/pricing/pricing.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx
index 6ee27108c2ba..76257fbd8e78 100644
--- a/scaddins/source/pricing/pricing.hxx
+++ b/scaddins/source/pricing/pricing.hxx
@@ -66,23 +66,23 @@ struct ScaFuncDataBase
// (English) function names again.
// see also: GetExcelName() or GetCompNames() or getCompatibilityNames()
const char* pCompName;
- 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);