diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-07 20:51:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-07 21:57:03 +0000 |
commit | 1e50b35595b8e0b8d1dc03145f5ee33b7224fc31 (patch) | |
tree | 4132d8f4644c4d689cd33142ee6fc25fbba4f27c | |
parent | c962f1629213ed30fad355eb5168e212edc4e36a (diff) |
coverity#735796 Explicit null dereferenced
Change-Id: I7468fd9637421b8b854217c19969f94e9ab0cab4
-rw-r--r-- | sc/source/filter/excel/tokstack.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx index ae8c59b9009f..68993c2c21ab 100644 --- a/sc/source/filter/excel/tokstack.cxx +++ b/sc/source/filter/excel/tokstack.cxx @@ -553,6 +553,7 @@ bool TokenPool::GetElementRek( const sal_uInt16 nId ) } for( ; nAnz > 0 ; nAnz--, pAkt++ ) { + assert(pAkt); if( *pAkt < nScTokenOff ) {// recursion or not? if (*pAkt >= nElementAkt) |