From 5d86154f49d713dada4aaa541755076cfeefa2c6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Sep 2018 09:57:26 +0200 Subject: 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 --- include/svtools/ctrlbox.hxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/svtools') 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); -- cgit