From a7ea18ffe715776cb0e2b39e98569c75605ee332 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Oct 2016 15:53:44 +0200 Subject: loplugin:expandablemethods in sw Change-Id: Ibc9edc28f4041235ab30c026bd3774bd74b7e960 Reviewed-on: https://gerrit.libreoffice.org/30287 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/core/inc/swfont.hxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'sw/source/core/inc/swfont.hxx') diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index 857719bf9863..fd41e411aca9 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -993,13 +993,8 @@ public: sal_uInt16 nDrawStretchText; sal_uInt16 nChangeFont; - inline void Reset() - { - nGetTextSize = nDrawText = nGetStretchTextSize = - nDrawStretchText = nChangeFont = 0; - } - - inline SvStatistics() { Reset(); } + SvStatistics() + { nGetTextSize = nDrawText = nGetStretchTextSize = nDrawStretchText = nChangeFont = 0; } }; // global variable, implemented in swfont.cxx -- cgit v1.2.3