summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/swfont.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-25 15:53:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 06:08:51 +0000
commita7ea18ffe715776cb0e2b39e98569c75605ee332 (patch)
tree1e32da87f2ad0e8d111ba8ed99180bb6b4cf2a77 /sw/source/core/inc/swfont.hxx
parenteca5ea9f79181d45cd7fbabe2313617d3025818a (diff)
loplugin:expandablemethods in sw
Change-Id: Ibc9edc28f4041235ab30c026bd3774bd74b7e960 Reviewed-on: https://gerrit.libreoffice.org/30287 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc/swfont.hxx')
-rw-r--r--sw/source/core/inc/swfont.hxx9
1 files changed, 2 insertions, 7 deletions
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