summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlnum.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-20 16:36:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-21 07:18:38 +0000
commit90d892664a6c49a8ae25a72ddccf54dba9d0e429 (patch)
treed9bb4a7307e349b88a4d528854abb44e4323f563 /sw/source/filter/html/htmlnum.hxx
parentea6fdbaeeb51ad695f1c3754b796b7273eb4baad (diff)
loplugin: unused return values
Change-Id: I4eb1f0c9245c04058fd5e47046f043f8840a79c7 Reviewed-on: https://gerrit.libreoffice.org/21628 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/filter/html/htmlnum.hxx')
-rw-r--r--sw/source/filter/html/htmlnum.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlnum.hxx b/sw/source/filter/html/htmlnum.hxx
index 6ef008b2dd0d..944a9e2ac510 100644
--- a/sw/source/filter/html/htmlnum.hxx
+++ b/sw/source/filter/html/htmlnum.hxx
@@ -71,8 +71,8 @@ public:
void SetDepth( sal_uInt16 nDepth ) { nDeep = nDepth; }
sal_uInt16 GetDepth() const { return nDeep; }
- sal_uInt16 IncDepth() { return ++nDeep; }
- sal_uInt16 DecDepth() { return nDeep==0 ? 0 : --nDeep; }
+ void IncDepth() { ++nDeep; }
+ void DecDepth() { if (nDeep!=0) --nDeep; }
inline sal_uInt8 GetLevel() const;
bool IsRestart() const { return bRestart; }