Kaydet (Commit) e06907af authored tarafından Miklos Vajna's avatar Miklos Vajna

oox: fix off-by-one error in SimpleShape::implConvertAndInsert()

Change-Id: I52741c344fc04b82db650927e4223dc325afabdf
üst a9a0933e
...@@ -567,7 +567,7 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes ...@@ -567,7 +567,7 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes
{ {
sal_Int32 nLength = aGrabBag.getLength(); sal_Int32 nLength = aGrabBag.getLength();
aGrabBag.realloc(nLength + 1); aGrabBag.realloc(nLength + 1);
aGrabBag[nLength + 1] = aPair; aGrabBag[nLength] = aPair;
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment