[Libreoffice-commits] core.git: svx/source

Tamás Zolnai tamas.zolnai at collabora.com
Sun Aug 20 11:08:31 UTC 2017


 svx/source/xoutdev/_xpoly.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 804cd889cdd3d3ec3978a5639b8f5cff8f50da90
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Sat Aug 19 20:54:35 2017 +0200

    Crash when drawing freeform line
    
    Change-Id: I31b3e2c7cff5a7898fbc40e77f1d997d840a9546
    Reviewed-on: https://gerrit.libreoffice.org/41354
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
    Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>

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();


More information about the Libreoffice-commits mailing list