[Libreoffice-commits] .: vcl/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sun Aug 5 08:47:38 PDT 2012


 vcl/source/control/button.cxx |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

New commits:
commit a4e937d5b04b10c2d6ebecce6e77c57a02a95d17
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Aug 5 17:45:17 2012 +0200

    Declare all the members in ImplCommonButtonData ctor
    
    Change-Id: Ie3bb75617eef66ea5af77c8013d42a49dd69d2d0

diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 37752bb..13e3abd 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -86,13 +86,9 @@ public:
 };
 
 // -----------------------------------------------------------------------
-ImplCommonButtonData::ImplCommonButtonData()
+ImplCommonButtonData::ImplCommonButtonData() : maFocusRect(), mnSeparatorX(0), mnButtonState(0),
+mbSmallSymbol(sal_False), maImage(), meImageAlign(IMAGEALIGN_TOP), meSymbolAlign(SYMBOLALIGN_LEFT)
 {
-    mnButtonState   = 0;
-    mbSmallSymbol = sal_False;
-
-    meImageAlign = IMAGEALIGN_TOP;
-    meSymbolAlign = SYMBOLALIGN_LEFT;
 }
 
 // -----------------------------------------------------------------------


More information about the Libreoffice-commits mailing list