diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-08-19 20:54:35 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-08-20 13:05:59 +0200 |
commit | 804cd889cdd3d3ec3978a5639b8f5cff8f50da90 (patch) | |
tree | 9868fcdab7f1a64464283c842564bb21d7160085 /svx | |
parent | a7e8c5304b740cb4e03e25b7217ce6071c29c09b (diff) |
Crash when drawing freeform line
Change-Id: I31b3e2c7cff5a7898fbc40e77f1d997d840a9546
Reviewed-on: https://gerrit.libreoffice.org/41354
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/xoutdev/_xpoly.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx index 12501770c85e..d5c4100e1605 100644 --- a/svx/source/xoutdev/_xpoly.cxx +++ b/svx/source/xoutdev/_xpoly.cxx @@ -96,7 +96,7 @@ void ImpXPolygon::Resize( sal_uInt16 nNewSize, bool bDeletePoints ) if( nNewSize == nSize ) return; - PolyFlags* pOldFlagAry = pFlagAry.get(); + PolyFlags* pOldFlagAry = pFlagAry.release(); sal_uInt16 nOldSize = nSize; CheckPointDelete(); |