[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Wed Apr 23 09:14:35 PDT 2014
sw/source/filter/ww8/rtfsdrexport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8c16cd5e2f9515b441f087238936a5ade2962dfb
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 23 18:14:00 2014 +0200
nVerticesPos starts off six bytes into aVertices.pBuf
Change-Id: I823cba772812d68a6c73fec6e35a232eb79dce8b
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx
index 86989b8..c64629c 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 );
More information about the Libreoffice-commits
mailing list