diff options
-rw-r--r-- | sw/source/filter/ww8/ww8toolbar.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index e33a8c50f0fc..bb0a00c3f48c 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -122,8 +122,7 @@ bool SwCTBWrapper::Read( SvStream& rS ) // but the size of a SwTBC element is dynamic ( and this relates to TBDelta's int nStart = rS.Tell(); - int bytesRead = 0; - int bytesToRead = cbDTBC - bytesRead; + int bytesToRead; // cbDTBC specifies the size ( in bytes ) taken by an array ( of unspecified size ) // of SwTBC records ( SwTBC records have dynamic length, so we need to check our position // after each read ) |