summaryrefslogtreecommitdiffstats
path: root/sc/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-11-17 12:30:11 +0100
committerEike Rathke <erack@redhat.com>2017-11-17 12:35:20 +0100
commit2337797936eb53ac088ad7b5243d5fd8dfbfa31e (patch)
treea02742b138d7d3395965c13ec16e9a457573d153 /sc/inc
parentNotebookbar: PriorityMergedHBox, OptionalBox (diff)
downloadcore-2337797936eb53ac088ad7b5243d5fd8dfbfa31e.tar.gz
core-2337797936eb53ac088ad7b5243d5fd8dfbfa31e.zip
coverity#1422192 include param field in string field
Change-Id: Ia2ef910fd9b4b74c8cf227717fde93c562bbb1b6
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/compiler.hxx2
1 files changed, 1 insertions, 1 deletions
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
};