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

Norbert Thiebaud nthiebaud at gmail.com
Tue May 14 06:41:09 PDT 2013


 svx/source/svdraw/svdotext.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit e3258713793f03d6cf96c19ff4c5d15a0cd666f1
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue May 14 04:28:09 2013 -0500

    coverity#705731 Resource leak
    
    Change-Id: Idbe476534025017d21e8af353e92a15cee902cca
    Reviewed-on: https://gerrit.libreoffice.org/3901
    Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
    Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>

diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 23b04e78..8cabf4c 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -601,7 +601,6 @@ void SdrTextObj::ImpSetContourPolygon( SdrOutliner& rOutliner, Rectangle& rAncho
     {
         // Take line width into account.
         // When doing the hit test, avoid this. (Performance!)
-        pContourPolyPolygon = new basegfx::B2DPolyPolygon();
 
         // test if shadow needs to be avoided for TakeContour()
         const SfxItemSet& rSet = GetObjectItemSet();


More information about the Libreoffice-commits mailing list