diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-23 18:14:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-23 18:14:00 +0200 |
commit | 8c16cd5e2f9515b441f087238936a5ade2962dfb (patch) | |
tree | f12f3e1ab9c8287da3a62a4596ff546caf24f31c | |
parent | e5261dbd9317fc249f5ea07be6e9acbb86d78a5e (diff) |
nVerticesPos starts off six bytes into aVertices.pBuf
Change-Id: I823cba772812d68a6c73fec6e35a232eb79dce8b
-rw-r--r-- | sw/source/filter/ww8/rtfsdrexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index 86989b868de9..c64629c36bf3 100644 --- a/sw/source/filter/ww8/rtfsdrexport.cxx +++ b/sw/source/filter/ww8/rtfsdrexport.cxx @@ -264,7 +264,7 @@ void RtfSdrExport::Commit( EscherPropertyContainer& rProps, const Rectangle& rRe rProps.GetOpt( ESCHER_Prop_pSegmentInfo, aSegments ) ) { const sal_uInt8 *pVerticesIt = aVertices.pBuf + 6; - sal_Size nVerticesPos = 0; + sal_Size nVerticesPos = 6; const sal_uInt8 *pSegmentIt = aSegments.pBuf; OStringBuffer aSegmentInfo( 512 ); |