diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-25 15:09:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-28 08:32:56 +0200 |
commit | 3a36cf434fb4a967c9ea767cb7ac5f4da0502a0d (patch) | |
tree | ab1747ff3e977ad322cf05b68626879f2c68e6e0 /vcl/inc | |
parent | 74ccd02eda2d6325a27266fd935aba29b3d75020 (diff) |
loplugin:checkunusedparams in configmgr and vcl
Change-Id: I7226d01f38e6edaf3868d7267d9b02dbdbc9e5ba
Reviewed-on: https://gerrit.libreoffice.org/36975
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/headless/svpframe.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/cupsmgr.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/glyphcache.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkdata.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/unx/i18n_ic.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/unx/printergfx.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/salbmp.h | 2 |
8 files changed, 9 insertions, 13 deletions
diff --git a/vcl/inc/headless/svpframe.hxx b/vcl/inc/headless/svpframe.hxx index c5245899c748..a045683991b9 100644 --- a/vcl/inc/headless/svpframe.hxx +++ b/vcl/inc/headless/svpframe.hxx @@ -58,8 +58,7 @@ class VCL_DLLPUBLIC SvpSalFrame : public SalFrame public: SvpSalFrame( SvpSalInstance* pInstance, SalFrame* pParent, - SalFrameStyleFlags nSalFrameStyle, - SystemParentData* pSystemParent = nullptr ); + SalFrameStyleFlags nSalFrameStyle ); virtual ~SvpSalFrame() override; void GetFocus(); diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 1f546b0dd240..2eb39b084018 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -131,7 +131,7 @@ public: void DrawLineSegment(float x1, float y1, float x2, float y2); void DrawPolyPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, bool blockAA = false ); void DrawRegionBand( const RegionBand& rRegion ); - void DrawTextureRect( OpenGLTexture& rTexture, const SalTwoRect& rPosAry, bool bInverted = false ); + void DrawTextureRect( const SalTwoRect& rPosAry ); void DrawTexture( OpenGLTexture& rTexture, const SalTwoRect& rPosAry, bool bInverted = false ); void DrawTransformedTexture( OpenGLTexture& rTexture, OpenGLTexture& rMask, const basegfx::B2DPoint& rNull, const basegfx::B2DPoint& rX, const basegfx::B2DPoint& rY ); void DrawAlphaTexture( OpenGLTexture& rTexture, const SalTwoRect& rPosAry, bool bInverted, bool pPremultiplied ); diff --git a/vcl/inc/unx/cupsmgr.hxx b/vcl/inc/unx/cupsmgr.hxx index 6f6e64c83f6a..2890d5dcffb1 100644 --- a/vcl/inc/unx/cupsmgr.hxx +++ b/vcl/inc/unx/cupsmgr.hxx @@ -74,7 +74,7 @@ public: /// wraps cupsGetPPD, so unlink after use ! const PPDParser* createCUPSParser( const OUString& rPrinter ); - const char* authenticateUser( const char* ); + const char* authenticateUser(); virtual FILE* startSpool( const OUString& rPrinterName, bool bQuickCommand ) override; virtual bool endSpool( const OUString& rPrinterName, const OUString& rJobTitle, FILE* pFile, const JobData& rDocumentJobData, bool bBanner, const OUString& rFaxNumber ) override; diff --git a/vcl/inc/unx/glyphcache.hxx b/vcl/inc/unx/glyphcache.hxx index d244daf67c59..eb350ef0abd1 100644 --- a/vcl/inc/unx/glyphcache.hxx +++ b/vcl/inc/unx/glyphcache.hxx @@ -73,9 +73,9 @@ public: private: friend class FreetypeFont; // used by FreetypeFont class only - void AddedGlyph( FreetypeFont&, GlyphData& ); + void AddedGlyph( GlyphData& ); void RemovingGlyph(); - void UsingGlyph( FreetypeFont&, GlyphData& ); + void UsingGlyph( GlyphData& ); private: void GarbageCollect(); diff --git a/vcl/inc/unx/gtk/gtkdata.hxx b/vcl/inc/unx/gtk/gtkdata.hxx index 69ff7f479478..8e8719a8a174 100644 --- a/vcl/inc/unx/gtk/gtkdata.hxx +++ b/vcl/inc/unx/gtk/gtkdata.hxx @@ -166,8 +166,7 @@ public: virtual ScreenData *initScreen( SalX11Screen nXScreen ) const override; #endif - GdkFilterReturn filterGdkEvent( GdkXEvent* sys_event, - GdkEvent* event ); + GdkFilterReturn filterGdkEvent( GdkXEvent* sys_event ); void startupNotificationCompleted() { m_bStartupCompleted = true; } void screenSizeChanged( GdkScreen* ); diff --git a/vcl/inc/unx/i18n_ic.hxx b/vcl/inc/unx/i18n_ic.hxx index 28ec8ccfec93..17e973f2d429 100644 --- a/vcl/inc/unx/i18n_ic.hxx +++ b/vcl/inc/unx/i18n_ic.hxx @@ -65,8 +65,8 @@ public: void UnsetICFocus( SalFrame* pFrame ); void HandleDestroyIM(); - void EndExtTextInput( EndExtTextInputFlags nFlags ); // unused - void CommitKeyEvent( sal_Unicode* pText, std::size_t nLength ); + void EndExtTextInput(); + void CommitKeyEvent( sal_Unicode* pText, std::size_t nLength ); int UpdateSpotLocation(); void Map( SalFrame *pFrame ); diff --git a/vcl/inc/unx/printergfx.hxx b/vcl/inc/unx/printergfx.hxx index 59c2f338d2bd..41a5f843cc39 100644 --- a/vcl/inc/unx/printergfx.hxx +++ b/vcl/inc/unx/printergfx.hxx @@ -269,7 +269,7 @@ public: // clip region void ResetClipRegion (); - void BeginSetClipRegion (sal_uInt32); + void BeginSetClipRegion(); void UnionClipRegion (sal_Int32 nX, sal_Int32 nY, sal_Int32 nDX, sal_Int32 nDY); void EndSetClipRegion (); diff --git a/vcl/inc/unx/salbmp.h b/vcl/inc/unx/salbmp.h index 6b0e722dd7d6..1a4c9d015568 100644 --- a/vcl/inc/unx/salbmp.h +++ b/vcl/inc/unx/salbmp.h @@ -163,7 +163,6 @@ private: Drawable aSrcDrawable, long nSrcDrawableDepth, Drawable aDstDrawable, - long nDstDrawableDepth, long nSrcX, long nSrcY, long nDestWidth, @@ -208,7 +207,6 @@ public: void ImplDraw( Drawable aDrawable, - long nDrawableDepth, const SalTwoRect& rTwoRect, const GC& rGC ) const; |