You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pa...@apache.org on 2013/06/14 09:53:37 UTC

svn commit: r1492988 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx

Author: paveljanik
Date: Fri Jun 14 07:53:37 2013
New Revision: 1492988

URL: http://svn.apache.org/r1492988
Log:
Reorder initializations (and unify formatting) to prevent compiler warnings.

Modified:
    openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx

Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx?rev=1492988&r1=1492987&r2=1492988&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx (original)
+++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx Fri Jun 14 07:53:37 2013
@@ -54,39 +54,39 @@ namespace svx { namespace sidebar {
 
 
 ParaLineSpacingControl::ParaLineSpacingControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel)
-:	PopupControl( pParent,SVX_RES(RID_POPUPPANEL_PARAPAGE_LINESPACING))
-,	mrParaPropertyPanel(rPanel)
-,	mpBindings(NULL)
-,aLineDist				( this, SVX_RES( LB_LINE_SPACING )),
-aLineDistAtPercentBox	( this, SVX_RES( ED_SBINDE_LINEDISTPERCENT ) ),
-aLineDistAtMetricBox	( this, SVX_RES( ED_SBINDE_LINEDISTPOINT ) ),
-maCustomFT        ( this, SVX_RES( FT_CUSTOM ) ),
-maLSpacingFT      ( this, SVX_RES( FT_LINE_SPACING ) ),
-maOfFT            ( this, SVX_RES( FT_OF ) ),
-maSpacing1       (SVX_RES(IMG_SPACING1)),
-maSpacing115     (SVX_RES(IMG_SPACING115)),
-maSpacing15      (SVX_RES(IMG_SPACING15)),
-maSpacing2       (SVX_RES(IMG_SPACING2)),
-maSelSpacing1    (SVX_RES(IMG_SEL_SPACING1)),
-maSelSpacing115  (SVX_RES(IMG_SEL_SPACING115)),
-maSelSpacing15   (SVX_RES(IMG_SEL_SPACING15)),
-maSelSpacing2    (SVX_RES(IMG_SEL_SPACING2)),
-maImgCusGrey	 (SVX_RES(IMG_CUSTOM_GRAY)),
-maImgCus		 (SVX_RES(IMG_CUSTOM)),
-maStrCus		 (SVX_RES(STR_LCVALUE)),
-pActLineDistFld 		( &aLineDistAtPercentBox ),
-nMinFixDist			    ( BEGIN_VALUE ),
-maValue                 ( 0 ),
-maPos                   ( 0 ),
-maLineSpacing		(ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES( LINE_SPACING ) ),
-mpImg			(NULL),
-mpImgSel		(NULL),
-mpStr			(NULL),
-mpStrTip		(NULL),
-maLine			(SVX_RES(STR_LSPACING)),
-maOf			(SVX_RES(STR_LS_OF))
-, mbUseLineSPCustom             (0)
-, mbLineSPDisable               (0)
+:	PopupControl( pParent,SVX_RES(RID_POPUPPANEL_PARAPAGE_LINESPACING)),
+	mbUseLineSPCustom	(0),
+	mbLineSPDisable		(0),
+	mrParaPropertyPanel	(rPanel),
+	mpBindings		(NULL),
+	nMinFixDist		(BEGIN_VALUE),
+	pActLineDistFld 	(&aLineDistAtPercentBox),
+	maLineSpacing		(ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES(LINE_SPACING)),
+	maCustomFT		(this, SVX_RES(FT_CUSTOM)),
+	maLSpacingFT		(this, SVX_RES(FT_LINE_SPACING)),
+	aLineDist		(this, SVX_RES(LB_LINE_SPACING)),
+	maOfFT			(this, SVX_RES(FT_OF)),
+	aLineDistAtPercentBox	(this, SVX_RES(ED_SBINDE_LINEDISTPERCENT)),
+	aLineDistAtMetricBox	(this, SVX_RES(ED_SBINDE_LINEDISTPOINT)),
+	maSpacing1		(SVX_RES(IMG_SPACING1)),
+	maSpacing115		(SVX_RES(IMG_SPACING115)),
+	maSpacing15		(SVX_RES(IMG_SPACING15)),
+	maSpacing2		(SVX_RES(IMG_SPACING2)),
+	maSelSpacing1		(SVX_RES(IMG_SEL_SPACING1)),
+	maSelSpacing115		(SVX_RES(IMG_SEL_SPACING115)),
+	maSelSpacing15		(SVX_RES(IMG_SEL_SPACING15)),
+	maSelSpacing2		(SVX_RES(IMG_SEL_SPACING2)),
+	maImgCus		(SVX_RES(IMG_CUSTOM)),
+	maImgCusGrey		(SVX_RES(IMG_CUSTOM_GRAY)),
+	maStrCus		(SVX_RES(STR_LCVALUE)),
+	mpImg			(NULL),
+	mpImgSel		(NULL),
+	mpStr			(NULL),
+	mpStrTip		(NULL),
+	maLine			(SVX_RES(STR_LSPACING)),
+	maOf			(SVX_RES(STR_LS_OF)),
+	maValue                 (0),
+	maPos                   (0)
 {
 	initial();
 	FreeResource();