summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/formula.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-11 13:31:05 +0200
committerNoel Grandin <noel@peralex.com>2016-01-11 13:49:59 +0200
commitbdeb15881f2439665ec52bbfe7f55712eb57c163 (patch)
treea387f5c1594abc9ad068228d81b09c1c5bbd8eb1 /hwpfilter/source/formula.cxx
parenttdf#96888 Kill internal vcl dog-tags .. (diff)
downloadcore-bdeb15881f2439665ec52bbfe7f55712eb57c163.tar.gz
core-bdeb15881f2439665ec52bbfe7f55712eb57c163.zip
loplugin:unusedmethods unused return value in hwpfilter
Change-Id: Ib225db89e60708f6b55b3cb86f8e881386fab86f
Diffstat (limited to 'hwpfilter/source/formula.cxx')
-rw-r--r--hwpfilter/source/formula.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/hwpfilter/source/formula.cxx b/hwpfilter/source/formula.cxx
index d12c6cbce0ab..0022efe1f8ca 100644
--- a/hwpfilter/source/formula.cxx
+++ b/hwpfilter/source/formula.cxx
@@ -568,10 +568,10 @@ void Formula::makeBlock(Node *res)
#endif
}
-int Formula::parse()
+void Formula::parse()
{
Node *res = nullptr;
- if( !eq ) return 0;
+ if( !eq ) return;
if( isHwpEQ ){
MzString a;
// fprintf(stderr,"\n\n[BEFORE]\n[%s]\n",eq);
@@ -627,8 +627,6 @@ int Formula::parse()
nodelist.pop_front();
delete tmpNode;
}
-
- return 0;
}
void Formula::trim()