summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-22 10:08:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-22 12:47:48 +0200
commitfd56d5fd409c832886bf42a020322e69b6a35d9e (patch)
tree3a1f291a52023ba8a37cec5215a426687dbdbb5d /svtools/source
parent76dd28afc9c0eb632a5dd20eb51704ee0bbc4b58 (diff)
loplugin:unusedfields improvemements
treat fields touched in operator== as not being important, which finds some more stuff (but also adds some false+) Change-Id: I3f5d504d7dec7945a917afbcd58c92df74f03645 Reviewed-on: https://gerrit.libreoffice.org/62020 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/control/ctrlbox.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index bad8ecee665d..4a8c98c046a1 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -1262,10 +1262,8 @@ void FontSizeBox::ImplInit()
{
EnableAutocomplete( false );
- bPtRelative = false;
bRelative = false;
bStdSize = false;
- pFontList = nullptr;
SetShowTrailingZeros( false );
SetDecimalDigits( 1 );
@@ -1289,9 +1287,6 @@ void FontSizeBox::Reformat()
void FontSizeBox::Fill( const FontMetric* pFontMetric, const FontList* pList )
{
- // remember for relative mode
- pFontList = pList;
-
// no font sizes need to be set for relative mode
if ( bRelative )
return;