oox: fix off-by-one error in SimpleShape::implConvertAndInsert()
Change-Id: I52741c344fc04b82db650927e4223dc325afabdf
This commit is contained in:
parent
a9a0933ec6
commit
e06907afab
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue