From a27f2397f091d37cb9cf1ab98b0e96ca8dfa7406 Mon Sep 17 00:00:00 2001 From: Juergen Funk Date: Sun, 6 Dec 2015 14:26:51 +0100 Subject: unused Picture::Type() and removed unused TxtBox::Type(), too Change-Id: I4a1d7f1cbbc5bb4d929fe7420db8f827dd8b142d Reviewed-on: https://gerrit.libreoffice.org/20424 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- hwpfilter/source/hbox.cxx | 6 ------ hwpfilter/source/hbox.h | 6 ------ 2 files changed, 12 deletions(-) (limited to 'hwpfilter/source') diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index db247fa6ddde..fb3037d4eefb 100644 --- a/hwpfilter/source/hbox.cxx +++ b/hwpfilter/source/hbox.cxx @@ -405,12 +405,6 @@ Picture::~Picture() } -int Picture::Type() -{ - return pictype; -} - - // line(14) // hidden(15) Hidden::~Hidden() diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h index 8e5dcaa2ccbe..f8fbd6e6c305 100644 --- a/hwpfilter/source/hbox.h +++ b/hwpfilter/source/hbox.h @@ -380,11 +380,6 @@ struct TxtBox: public FBox * @returns Count of cell. */ int NCell() { return nCell; } -/** - * This is one of table, text-box, equalizer and button - * @returns Type of this object. - */ - int Type() { return type; } virtual bool Read(HWPFile &hwpf) override; }; @@ -654,7 +649,6 @@ struct Picture: public FBox Picture(); virtual ~Picture(); - int Type (); virtual bool Read (HWPFile &hwpf) override; }; -- cgit v1.2.3