summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpfile.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 09:47:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 13:29:03 +0100
commit7383ab517030db0c2d7bf4f393f38743fbcaba04 (patch)
tree7d984b86256ea53d10d305d3ce392dca68b59347 /hwpfilter/source/hwpfile.cxx
parent29adb38857d1b1cfb486d5da958b12895a1e6120 (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/source/hwpfile.cxx')
-rw-r--r--hwpfilter/source/hwpfile.cxx4
1 files changed, 2 insertions, 2 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;