[Libreoffice-commits] core.git: sc/inc
Eike Rathke
erack at redhat.com
Fri Nov 17 11:36:04 UTC 2017
sc/inc/compiler.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2337797936eb53ac088ad7b5243d5fd8dfbfa31e
Author: Eike Rathke <erack at redhat.com>
Date: Fri Nov 17 12:30:11 2017 +0100
coverity#1422192 include param field in string field
Change-Id: Ia2ef910fd9b4b74c8cf227717fde93c562bbb1b6
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
};
More information about the Libreoffice-commits
mailing list