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

Change-Id: I52741c344fc04b82db650927e4223dc325afabdf
This commit is contained in:
Miklos Vajna 2013-09-27 13:52:00 +02:00
parent a9a0933ec6
commit e06907afab

View file

@ -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
{