Author: paveljanik Date: Wed Apr 10 19:29:37 2013 New Revision: 1466637 URL: http://svn.apache.org/r1466637 Log: Unname unused argument and reorder initializations properly to prevent WaE issues.
Modified: openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx Modified: openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx?rev=1466637&r1=1466636&r2=1466637&view=diff ============================================================================== --- openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx (original) +++ openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx Wed Apr 10 19:29:37 2013 @@ -40,20 +40,20 @@ static const sal_Int32 gnInitialVertical GalleryControl::GalleryControl ( - SfxBindings* pBindings, + SfxBindings* /* pBindings */, Window* pParentWindow) : Window(pParentWindow, GAL_RESID(RID_SVXDLG_GALLERYBROWSER)), mpGallery (Gallery::GetGalleryInstance()), + mpSplitter(new GallerySplitter( + this, + GAL_RESID(GALLERY_SPLITTER), + ::boost::bind(&GalleryControl::InitSettings, this))), mpBrowser1(new GalleryBrowser1( this, GAL_RESID(GALLERY_BROWSER1), mpGallery, ::boost::bind(&GalleryControl::KeyInput,this,_1,_2), ::boost::bind(&GalleryControl::ThemeSelectionHasChanged, this))), - mpSplitter(new GallerySplitter( - this, - GAL_RESID(GALLERY_SPLITTER), - ::boost::bind(&GalleryControl::InitSettings, this))), mpBrowser2(new GalleryBrowser2(this, GAL_RESID(GALLERY_BROWSER2), mpGallery)), maLastSize(GetOutputSizePixel()), mbIsInitialResize(true)