summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 11:21:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-30 12:55:56 +0200
commitf657ab7bbb36219f6270236ae0e6b8238b7dd9b5 (patch)
tree304a8c1f4ed88b2f836b49fd0706e09ad483b91b /hwpfilter
parent2340536cf478f95e33b718d3f69da5345fc4d2b4 (diff)
loplugin:virtualdown in various
Change-Id: I4db71fda953ea1d20712ae8033f6fc09b3b2855d Reviewed-on: https://gerrit.libreoffice.org/52068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hbox.cxx8
-rw-r--r--hwpfilter/source/hbox.h5
2 files changed, 2 insertions, 11 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index ca94bf27fe57..7be2c61db81e 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -63,14 +63,6 @@ int HBox::WSize()
}
-hchar_string HBox::GetString()
-{
- hchar_string ret;
- ret.push_back(hh);
- return ret;
-}
-
-
// skip block
SkipData::SkipData(hchar hch)
: HBox(hch)
diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h
index ce479c4c34dc..841143c53434 100644
--- a/hwpfilter/source/hbox.h
+++ b/hwpfilter/source/hbox.h
@@ -63,7 +63,6 @@ struct HBox
*/
virtual bool Read(HWPFile &hwpf);
- virtual hchar_string GetString();
private:
static int boxCount;
};
@@ -157,7 +156,7 @@ struct DateCode: public HBox
DateCode();
virtual bool Read(HWPFile &hwpf) override;
- virtual hchar_string GetString() override;
+ virtual hchar_string GetString();
};
/**
@@ -832,7 +831,7 @@ struct MailMerge: public HBox
MailMerge();
virtual bool Read(HWPFile &hwpf) override;
- virtual hchar_string GetString() override;
+ virtual hchar_string GetString();
};
// char composition(23)