diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 09:47:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 13:29:03 +0100 |
commit | 7383ab517030db0c2d7bf4f393f38743fbcaba04 (patch) | |
tree | 7d984b86256ea53d10d305d3ce392dca68b59347 /hwpfilter | |
parent | 29adb38857d1b1cfb486d5da958b12895a1e6120 (diff) |
loplugin:constantparam in f*
Change-Id: I87145db3af6c3eb180cea6b4244f98b00205a306
Reviewed-on: https://gerrit.libreoffice.org/44095
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-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, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx index a93e03f3023a..62006be23a34 100644 --- a/hwpfilter/source/hwpfile.cxx +++ b/hwpfilter/source/hwpfile.cxx @@ -232,12 +232,12 @@ void HWPFile::ParaListRead() ReadParaList(plist); } -bool HWPFile::ReadParaList(std::vector < HWPPara* > &aplist, unsigned char flag) +bool HWPFile::ReadParaList(std::vector < HWPPara* > &aplist) { std::unique_ptr<HWPPara> spNode( new HWPPara ); unsigned char tmp_etcflag; unsigned char prev_etcflag = 0; - while (spNode->Read(*this, flag)) + while (spNode->Read(*this, 0)) { if( !(spNode->etcflag & 0x04) ){ tmp_etcflag = spNode->etcflag; diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h index cb6074c4f869..bfa6da1b97e6 100644 --- a/hwpfilter/source/hwpfile.h +++ b/hwpfilter/source/hwpfile.h @@ -161,7 +161,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, unsigned char flag = 0); + bool ReadParaList(std::vector<HWPPara*> &aplist); /** * Sets if the stream is compressed */ |