diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-04 11:57:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 06:40:10 +0000 |
commit | 3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (patch) | |
tree | bc18d71a94b1a9015d45155ad79179e61e6aa3c0 /include/vcl | |
parent | cedbc4031f26ea13b188a4ecc5b90cc9646095fb (diff) |
loplugin:constantparam
Change-Id: I1996319e5b664dff95f7a9b2346aea6092d333ec
Reviewed-on: https://gerrit.libreoffice.org/36070
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/FilterConfigItem.hxx | 3 | ||||
-rw-r--r-- | include/vcl/ImageTree.hxx | 3 | ||||
-rw-r--r-- | include/vcl/gdimtf.hxx | 3 | ||||
-rw-r--r-- | include/vcl/layout.hxx | 2 | ||||
-rw-r--r-- | include/vcl/lstbox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/menu.hxx | 2 | ||||
-rw-r--r-- | include/vcl/splitwin.hxx | 2 |
7 files changed, 7 insertions, 10 deletions
diff --git a/include/vcl/FilterConfigItem.hxx b/include/vcl/FilterConfigItem.hxx index 61bf5e366fd5..654afae901ff 100644 --- a/include/vcl/FilterConfigItem.hxx +++ b/include/vcl/FilterConfigItem.hxx @@ -42,8 +42,7 @@ class VCL_DLLPUBLIC FilterConfigItem static bool ImplGetPropertyValue( css::uno::Any& rAny, const css::uno::Reference< css::beans::XPropertySet >& rXPropSet, - const OUString& rPropName, - bool bTestPropertyAvailability ); + const OUString& rPropName ); void ImpInitTree( const OUString& rTree ); diff --git a/include/vcl/ImageTree.hxx b/include/vcl/ImageTree.hxx index 43df2c9a43d8..ecbd6ff0fdaa 100644 --- a/include/vcl/ImageTree.hxx +++ b/include/vcl/ImageTree.hxx @@ -61,8 +61,7 @@ public: bool loadDefaultImage( OUString const & style, - BitmapEx& bitmap, - const ImageLoadFlags eFlags = ImageLoadFlags::NONE); + BitmapEx& bitmap); VCL_DLLPUBLIC css::uno::Reference<css::container::XNameAccess> getNameAccess(); diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx index 5ce2f9514afb..383c7b3de445 100644 --- a/include/vcl/gdimtf.hxx +++ b/include/vcl/gdimtf.hxx @@ -190,9 +190,8 @@ public: friend VCL_DLLPUBLIC SvStream& ReadGDIMetaFile( SvStream& rIStm, GDIMetaFile& rGDIMetaFile ); friend VCL_DLLPUBLIC SvStream& WriteGDIMetaFile( SvStream& rOStm, const GDIMetaFile& rGDIMetaFile ); - /// Creates an antialiased thumbnail, with maximum width or height of nMaximumExtent. + /// Creates an antialiased thumbnail bool CreateThumbnail(BitmapEx& rBitmapEx, - sal_uInt32 nMaximumExtent = 256, BmpConversion nColorConversion = BmpConversion::N24Bit, BmpScaleFlag nScaleFlag = BmpScaleFlag::BestQuality) const; diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 1673605373eb..f401fcda888c 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -376,7 +376,7 @@ private: DECL_LINK(SplitHdl, Splitter*, void); void arrange(const Size& rAllocation, long nFirstHeight, long nSecondHeight); public: - VclVPaned(vcl::Window *pParent, WinBits nStyle = WB_HIDE | WB_CLIPCHILDREN); + VclVPaned(vcl::Window *pParent); virtual ~VclVPaned() override { disposeOnce(); } virtual void dispose() override; virtual Size calculateRequisition() const override; diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index c5f3bf0c6eb4..16d2f302c481 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -218,7 +218,7 @@ public: void EnableUserDraw( bool bUserDraw ); - void DrawEntry( const UserDrawEvent& rEvt, bool bDrawImage, bool bDrawTextAtImagePos ); + void DrawEntry( const UserDrawEvent& rEvt ); void SetSelectHdl( const Link<ListBox&,void>& rLink ) { maSelectHdl = rLink; } const Link<ListBox&,void>& GetSelectHdl() const { return maSelectHdl; } diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 4e11b3d2e0da..7b844deba3c0 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -186,7 +186,7 @@ protected: SAL_DLLPRIVATE void ImplFillLayoutData() const; SAL_DLLPRIVATE SalMenu* ImplGetSalMenu() { return mpSalMenu; } - SAL_DLLPRIVATE void ImplSetSalMenu( SalMenu *pMenu ); + SAL_DLLPRIVATE void ImplClearSalMenu(); SAL_DLLPRIVATE OUString ImplGetHelpText( sal_uInt16 nItemId ) const; // returns native check and option menu symbol height in rCheckHeight and rRadioHeight diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx index 18d40e6431bc..144ecc7c8a7a 100644 --- a/include/vcl/splitwin.hxx +++ b/include/vcl/splitwin.hxx @@ -89,7 +89,7 @@ private: SAL_DLLPRIVATE void ImplUpdate(); SAL_DLLPRIVATE void ImplSetWindowSize( long nDelta ); SAL_DLLPRIVATE void ImplSplitMousePos( Point& rMousePos ); - SAL_DLLPRIVATE void ImplGetButtonRect( tools::Rectangle& rRect, long nEx, bool bTest ) const; + SAL_DLLPRIVATE void ImplGetButtonRect( tools::Rectangle& rRect, bool bTest ) const; SAL_DLLPRIVATE void ImplGetFadeInRect( tools::Rectangle& rRect, bool bTest = false ) const; SAL_DLLPRIVATE void ImplGetFadeOutRect( tools::Rectangle& rRect, bool bTest = false ) const; SAL_DLLPRIVATE void ImplDrawFadeIn(vcl::RenderContext& rRenderContext); |