Author: paveljanik Date: Wed Apr 10 19:35:32 2013 New Revision: 1466641 URL: http://svn.apache.org/r1466641 Log: Unname unused arguments and reorder initializations properly to prevent WaE issues.
Modified: openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx?rev=1466641&r1=1466640&r2=1466641&view=diff ============================================================================== --- openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx Wed Apr 10 19:35:32 2013 @@ -194,10 +194,6 @@ TextPropertyPanel::TextPropertyPanel ( mpToolBoxHighlight(ControlFactory::CreateToolBox( mpToolBoxHighlightBackground.get(), SVX_RES(TB_HIGHLIGHT))), - maCharSpacePopup(this, ::boost::bind(&TextPropertyPanel::CreateCharacterSpacingControl, this, _1)), - maFontColorPopup(this, ::boost::bind(&TextPropertyPanel::CreateFontColorPopupControl, this, _1)), - maBrushColorPopup(this, ::boost::bind(&TextPropertyPanel::CreateBrushColorPopupControl, this, _1)), - maUnderlinePopup(this, ::boost::bind(&TextPropertyPanel::CreateUnderlinePopupControl, this, _1)), mpFontColorUpdater(), mpHighlightUpdater(), @@ -246,6 +242,10 @@ TextPropertyPanel::TextPropertyPanel ( mpFontList (NULL), mbMustDelete (false), mbFocusOnFontSizeCtrl(false), + maCharSpacePopup(this, ::boost::bind(&TextPropertyPanel::CreateCharacterSpacingControl, this, _1)), + maUnderlinePopup(this, ::boost::bind(&TextPropertyPanel::CreateUnderlinePopupControl, this, _1)), + maFontColorPopup(this, ::boost::bind(&TextPropertyPanel::CreateFontColorPopupControl, this, _1)), + maBrushColorPopup(this, ::boost::bind(&TextPropertyPanel::CreateBrushColorPopupControl, this, _1)), mxFrame(rxFrame), maContext(), mpBindings(pBindings), @@ -1556,7 +1556,7 @@ Color TextPropertyPanel::GetFontColor (v } void TextPropertyPanel::SetFontColor ( - const String& rsColorName, + const String& /* rsColorName */, const Color aColor) { SvxColorItem aColorItem(aColor, SID_ATTR_CHAR_COLOR); @@ -1570,7 +1570,7 @@ Color TextPropertyPanel::GetBrushColor ( } void TextPropertyPanel::SetBrushColor ( - const String& rsColorName, + const String& /* rsColorName */, const Color aColor) { SvxBrushItem aBrushItem(aColor, SID_ATTR_BRUSH_CHAR);