diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-11 13:55:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-13 08:34:55 +0200 |
commit | e7cc6b253f5a1fd1205da231f6a14011501ed74e (patch) | |
tree | 3fd0da2100e6b3049d5f4f927d9ae169aa0b70ad /hwpfilter/source/hwpfile.cxx | |
parent | 7a5d2b3cdb448998e6aef1f12f0a70c400a434d2 (diff) |
loplugin:returnconstant in hwpfilter,test
Change-Id: I7c7c450f1da4ac3205148d2de8b344f0735f92ba
Reviewed-on: https://gerrit.libreoffice.org/58881
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter/source/hwpfile.cxx')
-rw-r--r-- | hwpfilter/source/hwpfile.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx index 552233dd853d..d3bd660e77fd 100644 --- a/hwpfilter/source/hwpfile.cxx +++ b/hwpfilter/source/hwpfile.cxx @@ -253,7 +253,7 @@ void HWPFile::ReadParaList(std::vector < HWPPara* > &aplist) } } -bool HWPFile::ReadParaList(std::vector< std::unique_ptr<HWPPara> > &aplist, unsigned char flag) +void HWPFile::ReadParaList(std::vector< std::unique_ptr<HWPPara> > &aplist, unsigned char flag) { std::unique_ptr<HWPPara> spNode( new HWPPara ); unsigned char tmp_etcflag; @@ -284,8 +284,6 @@ bool HWPFile::ReadParaList(std::vector< std::unique_ptr<HWPPara> > &aplist, unsi aplist.push_back(std::move(spNode)); spNode.reset( new HWPPara ); } - - return true; } void HWPFile::TagsRead() |