diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-09-27 13:52:00 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-09-27 13:56:10 +0200 |
commit | e06907afab0c80557465cce64c2157f611e9f2b5 (patch) | |
tree | f658f4cde149119ae018111a01a0bcf440c43001 /oox | |
parent | a9a0933ec67eab0ec31c8fadb60fb8e8e3e90485 (diff) |
oox: fix off-by-one error in SimpleShape::implConvertAndInsert()
Change-Id: I52741c344fc04b82db650927e4223dc325afabdf
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/vml/vmlshape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx index b50551d78d84..a9ef5f838349 100644 --- a/oox/source/vml/vmlshape.cxx +++ b/oox/source/vml/vmlshape.cxx @@ -567,7 +567,7 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes { sal_Int32 nLength = aGrabBag.getLength(); aGrabBag.realloc(nLength + 1); - aGrabBag[nLength + 1] = aPair; + aGrabBag[nLength] = aPair; } else { |