From 2337797936eb53ac088ad7b5243d5fd8dfbfa31e Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 17 Nov 2017 12:30:11 +0100 Subject: coverity#1422192 include param field in string field Change-Id: Ia2ef910fd9b4b74c8cf227717fde93c562bbb1b6 --- sc/inc/compiler.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/inc') diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index 6d1db7e8c1e1..b763f2d4d326 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -131,7 +131,7 @@ public: } sharedstring; ScMatrix* pMat; FormulaError nError; - sal_Unicode cStr[ MAXSTRLEN+1 ]; // string (up to MAXSTRLEN characters + 0) + sal_Unicode cStr[ 1+MAXSTRLEN+1 ]; // string (byteparam + up to MAXSTRLEN characters + 0) short nJump[ FORMULA_MAXJUMPCOUNT + 1 ]; // If/Chose token }; -- cgit