summaryrefslogtreecommitdiff
path: root/formula/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:26:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:26:38 +0200
commitb37fa7fc97a9009933319aae568dda5a5054b4a6 (patch)
tree335251e8ccb701d5f7d9f5894840840102c5a7aa /formula/source
parent7d8526962f3760c03432f605e1b49b21d5c0c9fa (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Iaefaeebcccade616329e4d8e29f3c4f53cb739c1
Diffstat (limited to 'formula/source')
-rw-r--r--formula/source/core/api/token.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index c054db217d20..e1f97fb1b093 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1482,7 +1482,7 @@ FormulaToken* FormulaTokenArray::AddOpCode( OpCode eOp )
nJump[ 0 ] = FORMULA_MAXJUMPCOUNT + 1;
else
nJump[ 0 ] = 2;
- pRet = new FormulaJumpToken( eOp, (short*)nJump );
+ pRet = new FormulaJumpToken( eOp, nJump );
}
break;
default: