You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2017/08/03 02:25:22 UTC
svn commit: r1803944 -
/openoffice/branches/AOO414/main/sw/source/filter/ww8/ww8par2.cxx
Author: jim
Date: Thu Aug 3 02:25:21 2017
New Revision: 1803944
URL: http://svn.apache.org/viewvc?rev=1803944&view=rev
Log:
old styles fix
Modified:
openoffice/branches/AOO414/main/sw/source/filter/ww8/ww8par2.cxx
Modified: openoffice/branches/AOO414/main/sw/source/filter/ww8/ww8par2.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/AOO414/main/sw/source/filter/ww8/ww8par2.cxx?rev=1803944&r1=1803943&r2=1803944&view=diff
==============================================================================
--- openoffice/branches/AOO414/main/sw/source/filter/ww8/ww8par2.cxx (original)
+++ openoffice/branches/AOO414/main/sw/source/filter/ww8/ww8par2.cxx Thu Aug 3 02:25:21 2017
@@ -4532,17 +4532,17 @@ void WW8RStyle::ImportOldFormatStyles()
rSt >> cb;
nByteCount++;
- aCHPXOffsets[stcp].mnSize = 0;
+ aCHPXOffsets.at(stcp).mnSize = 0;
if (cb != 0xFF)
{
sal_uInt8 nRemainder = cb;
- aCHPXOffsets[stcp].mnOffset = rSt.Tell();
- aCHPXOffsets[stcp].mnSize = nRemainder;
+ aCHPXOffsets.at(stcp).mnOffset = rSt.Tell();
+ aCHPXOffsets.at(stcp).mnSize = nRemainder;
- Word2CHPX aChpx = ReadWord2Chpx(rSt, aCHPXOffsets[stcp].mnOffset,
- aCHPXOffsets[stcp].mnSize);
+ Word2CHPX aChpx = ReadWord2Chpx(rSt, aCHPXOffsets.at(stcp).mnOffset,
+ aCHPXOffsets.at(stcp).mnSize);
aConvertedChpx.push_back( ChpxToSprms(aChpx) );
nByteCount += nRemainder;