diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-18 09:57:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-18 15:19:04 +0200 |
commit | 5d86154f49d713dada4aaa541755076cfeefa2c6 (patch) | |
tree | 25c34f4a032526de9798e6f3a69a76d993d739db /include/svtools | |
parent | 469892f65d9717fcee7996a040b32d713a83b412 (diff) |
loplugin:unusedfields improve search for unused collection fields
look for collection-like fields that are never added to, and are
therefore effectively unused
Change-Id: Id52c5500ea5e3d2436fb5915aebb86278bf2d925
Reviewed-on: https://gerrit.libreoffice.org/60661
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/ctrlbox.hxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index 87822fc0a1fc..535fa0859ccc 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -498,8 +498,6 @@ class SVT_DLLPUBLIC SvtFontSizeBox FontMetric aFontMetric; const FontList* pFontList; int nSavedValue; - int nMin; - int nMax; FieldUnit eUnit; sal_uInt16 nDecimalDigits; sal_uInt16 nRelMin; @@ -519,7 +517,6 @@ class SVT_DLLPUBLIC SvtFontSizeBox void SetDecimalDigits(sal_uInt16 nDigits) { nDecimalDigits = nDigits; } FieldUnit GetUnit() const { return eUnit; } void SetUnit(FieldUnit _eUnit) { eUnit = _eUnit; } - void SetRange(int nNewMin, int nNewMax) { nMin = nNewMin; nMax = nNewMax; } void SetValue(int nNewValue, FieldUnit eInUnit); void InsertValue(int i); |