[Libreoffice-commits] core.git: Branch 'aoo/trunk' - basegfx/source

Pavel Janík paveljanik at apache.org
Thu Aug 15 03:08:54 PDT 2013


 basegfx/source/polygon/b2dpolypolygoncutter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b2875a134bfa4a98061c95fd2b56cc790d69d8c8
Author: Pavel Janík <paveljanik at apache.org>
Date:   Thu Aug 15 09:24:25 2013 +0000

    WaE: Initialize boolean variable to false to prevent compiler warning about uninitialized variable.

diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index 918f4ff..0eaeec7 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -690,7 +690,7 @@ namespace basegfx
                     {
                         basegfx::B2DPolygon aTemp(aRetval.getB2DPolygon(a));
                         const sal_uInt32 nPointCount(aTemp.count());
-                        bool bChanged;
+                        bool bChanged(false);
 
                         for(sal_uInt32 b(0); b < nPointCount; b++)
                         {


More information about the Libreoffice-commits mailing list