From a45827b2308febc7369db27fb489a6d1389534e1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 28 Jul 2015 08:39:57 +0200 Subject: loplugin:unusedmethods Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins Reviewed-by: Noel Grandin --- hwpfilter/source/hpara.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'hwpfilter') diff --git a/hwpfilter/source/hpara.h b/hwpfilter/source/hpara.h index 193dcced637c..4b082eaf5efe 100644 --- a/hwpfilter/source/hpara.h +++ b/hwpfilter/source/hpara.h @@ -136,7 +136,6 @@ class DLLEXPORT HWPPara HWPPara *Next(void) { return _next;} int HomePos(int line) const; - int EndPos(int line) const; private: HBox *readHBox(HWPFile &); @@ -151,13 +150,6 @@ inline int HWPPara::HomePos(int line) const } -inline int HWPPara::EndPos(int line) const -{ - if( nline <= line + 1 ) return nch; - else return HomePos(line + 1); -} - - #endif // INCLUDED_HWPFILTER_SOURCE_HPARA_H /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit