diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-23 13:21:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-24 07:57:07 +0100 |
commit | ec02714d6cd5be67d03e333efddb42ab572cae77 (patch) | |
tree | 9e28e8a87c823b39a334830fcb6dfb564a967a08 /hwpfilter | |
parent | 945a119675788f7c8f0a133ac0271f9340c1653a (diff) |
loplugin:unused-returns in drawinglayer..svx
Change-Id: I033a78cc7fe7d8e5086f1c855c4aa371cc98dc7c
Reviewed-on: https://gerrit.libreoffice.org/48400
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpfile.cxx | 4 | ||||
-rw-r--r-- | hwpfilter/source/hwpfile.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx index 13d1416ece4b..f10334707130 100644 --- a/hwpfilter/source/hwpfile.cxx +++ b/hwpfilter/source/hwpfile.cxx @@ -218,7 +218,7 @@ void HWPFile::ParaListRead() ReadParaList(plist); } -bool HWPFile::ReadParaList(std::vector < HWPPara* > &aplist) +void HWPFile::ReadParaList(std::vector < HWPPara* > &aplist) { std::unique_ptr<HWPPara> spNode( new HWPPara ); unsigned char tmp_etcflag; @@ -249,8 +249,6 @@ bool HWPFile::ReadParaList(std::vector < HWPPara* > &aplist) aplist.push_back(spNode.release()); spNode.reset( new HWPPara ); } - - return true; } bool HWPFile::ReadParaList(std::vector< std::unique_ptr<HWPPara> > &aplist, unsigned char flag) diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h index 0f569d358257..645219216ab5 100644 --- a/hwpfilter/source/hwpfile.h +++ b/hwpfilter/source/hwpfile.h @@ -162,7 +162,7 @@ class DLLEXPORT HWPFile * Reads main paragraph list */ bool ReadParaList(std::vector<std::unique_ptr<HWPPara>> &aplist, unsigned char flag = 0); - bool ReadParaList(std::vector<HWPPara*> &aplist); + void ReadParaList(std::vector<HWPPara*> &aplist); /** * Sets if the stream is compressed */ |