summaryrefslogtreecommitdiffstats
path: root/basic/source/comp/exprnode.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-03 11:47:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-03 15:14:00 +0200
commitf1ec3c675f1fcb04de564861c24f26b2bac4244c (patch)
treed324611d26b069d29cb5ca9308a997d6b0f853fa /basic/source/comp/exprnode.cxx
parentResolves: tdf#127120 double selection in B&N dialog (diff)
downloadcore-f1ec3c675f1fcb04de564861c24f26b2bac4244c.tar.gz
core-f1ec3c675f1fcb04de564861c24f26b2bac4244c.zip
loplugin:constmethod in basic
Change-Id: Ib2056ab8437e163c7ae42e3ab7a4a3f8b6cb80a2 Reviewed-on: https://gerrit.libreoffice.org/78547 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/comp/exprnode.cxx')
-rw-r--r--basic/source/comp/exprnode.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/exprnode.cxx b/basic/source/comp/exprnode.cxx
index ca341228d113..6b712a639046 100644
--- a/basic/source/comp/exprnode.cxx
+++ b/basic/source/comp/exprnode.cxx
@@ -161,17 +161,17 @@ void SbiExprNode::ConvertToIntConstIfPossible()
}
}
-bool SbiExprNode::IsNumber()
+bool SbiExprNode::IsNumber() const
{
return eNodeType == SbxNUMVAL;
}
-bool SbiExprNode::IsVariable()
+bool SbiExprNode::IsVariable() const
{
return eNodeType == SbxVARVAL;
}
-bool SbiExprNode::IsLvalue()
+bool SbiExprNode::IsLvalue() const
{
return IsVariable();
}