[Libreoffice-commits] .: 2 commits - editeng/source svx/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Mar 20 04:10:43 PDT 2011


 editeng/source/items/borderline.cxx |    2 +-
 svx/source/xoutdev/_xpoly.cxx       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c27c9a58dc6315851f2349fde4fd1614336877d8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Mar 20 11:10:36 2011 +0000

    WaE: uninit variable

diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index e429a04..d6b4efc 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -262,7 +262,7 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa
 
         int i = 0, len = sizeof( aDoubleStyles ) / sizeof( SvxBorderStyle );
         long nWidth = 0;
-        SvxBorderStyle nTestStyle;
+        SvxBorderStyle nTestStyle(NO_STYLE);
         while ( i < len && nWidth == 0 )
         {
             nTestStyle = aDoubleStyles[i];
commit 6d9971a6dafa8451bf2a1d409512b090f2ce74de
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Mar 18 21:10:46 2011 +0000

    WaE: silence these warnings again post merge

diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx
index 671d382..309bac9 100755
--- a/svx/source/xoutdev/_xpoly.cxx
+++ b/svx/source/xoutdev/_xpoly.cxx
@@ -1431,7 +1431,7 @@ bool ImpXPolyPolygon::operator==(const ImpXPolyPolygon& rImpXPolyPoly) const
 |*
 *************************************************************************/
 
-XPolyPolygon::XPolyPolygon( sal_uInt16 nInitSize, sal_uInt16 nResize )
+XPolyPolygon::XPolyPolygon( sal_uInt16 /*nInitSize*/, sal_uInt16 /*nResize*/ )
 {
     DBG_CTOR(XPolyPolygon,NULL);
     pImpXPolyPolygon = new ImpXPolyPolygon();


More information about the Libreoffice-commits mailing list