summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-11 13:52:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-13 08:34:21 +0200
commitff4d6a7e5b166bb98bbe8d0f59cc4db36e7002aa (patch)
tree47215924da6d8605d1790ca90b57b141b4cf3776 /include/formula
parent22828c32d1ae379782631a351aac34d0b1df95f4 (diff)
loplugin:returnconstant in forms..fpicker
Change-Id: I3f0bead636632682488cbe677fd7fee60350f04d Reviewed-on: https://gerrit.libreoffice.org/58876 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/FormulaCompiler.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx
index d50a2e2f8be1..fef6e82e39e1 100644
--- a/include/formula/FormulaCompiler.hxx
+++ b/include/formula/FormulaCompiler.hxx
@@ -182,7 +182,7 @@ public:
/** The value used in createSequenceOfAvailableMappings() and thus in
XFormulaOpCodeMapper::getMappings() for an unknown symbol. */
- static sal_Int32 getOpCodeUnknown();
+ static sal_Int32 getOpCodeUnknown() { return -1; }
private: