From b37fa7fc97a9009933319aae568dda5a5054b4a6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 2 Jun 2015 11:26:38 +0200 Subject: loplugin:cstylecast: deal with those that are (technically) const_cast Change-Id: Iaefaeebcccade616329e4d8e29f3c4f53cb739c1 --- formula/source/core/api/token.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'formula/source') 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: -- cgit