diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-09-09 23:20:45 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-09-09 23:21:42 +0200 |
commit | ac015eb157d8d4ac548880f8321400834ff3d02d (patch) | |
tree | be95c23064367684abfbe6613890d507b7b56ca6 /lotuswordpro/source/filter/tocread.cxx | |
parent | Work around a problem when building with system libwpd and libwpg (diff) | |
download | core-ac015eb157d8d4ac548880f8321400834ff3d02d.tar.gz core-ac015eb157d8d4ac548880f8321400834ff3d02d.zip |
Some cppcheck cleaning
Diffstat (limited to 'lotuswordpro/source/filter/tocread.cxx')
-rw-r--r-- | lotuswordpro/source/filter/tocread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/tocread.cxx b/lotuswordpro/source/filter/tocread.cxx index 42d376bcf15b..95027bbed9f6 100644 --- a/lotuswordpro/source/filter/tocread.cxx +++ b/lotuswordpro/source/filter/tocread.cxx @@ -151,11 +151,11 @@ CBenTOCReader::SearchForLabel(BenByte * pLabel) if (Length - CurrOffset > MAX_SEARCH_AMOUNT) break; - unsigned long UsedBufferSize; // If before beginning of buffer if (CurrOffset - BEN_MAGIC_BYTES_SIZE < BufferStartOffset) { + unsigned long UsedBufferSize; if (CurrOffset < LABEL_READ_BUFFER_SIZE) UsedBufferSize = CurrOffset; else UsedBufferSize = LABEL_READ_BUFFER_SIZE; |