summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-24 12:54:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-25 07:00:51 +0200
commit8f254a45d78dee53764321244aca108e2a1d344c (patch)
tree0de6c2591e041e3e75085880b84e9c80afaa5f26 /vcl/inc
parente4f28aea21ce7e8f960cc2062f83715549be215e (diff)
loplugin:checkunusedparams in vcl
Change-Id: I26661684e634aa15a18f78442de15c9db832f319 Reviewed-on: https://gerrit.libreoffice.org/36886 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/brdwin.hxx4
-rw-r--r--vcl/inc/printdlg.hxx2
-rw-r--r--vcl/inc/salgdi.hxx3
-rw-r--r--vcl/inc/salobj.hxx4
-rw-r--r--vcl/inc/salwtype.hxx3
5 files changed, 7 insertions, 9 deletions
diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx
index 43341841a399..ab9c965202a9 100644
--- a/vcl/inc/brdwin.hxx
+++ b/vcl/inc/brdwin.hxx
@@ -138,7 +138,7 @@ public:
void InvalidateBorder();
using Window::Draw;
- void Draw( const tools::Rectangle& rRect, OutputDevice* pDev, const Point& rPos );
+ void Draw( OutputDevice* pDev, const Point& rPos );
void SetDisplayActive( bool bActive );
void SetTitleType( BorderWindowTitleType nTitleType, const Size& rSize );
@@ -237,7 +237,7 @@ public:
class ImplNoBorderWindowView : public ImplBorderWindowView
{
public:
- ImplNoBorderWindowView( ImplBorderWindow* pBorderWindow );
+ ImplNoBorderWindowView();
virtual void Init( OutputDevice* pDev, long nWidth, long nHeight ) override;
virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
diff --git a/vcl/inc/printdlg.hxx b/vcl/inc/printdlg.hxx
index b8129dcd8b93..2371eaa5469b 100644
--- a/vcl/inc/printdlg.hxx
+++ b/vcl/inc/printdlg.hxx
@@ -215,7 +215,7 @@ namespace vcl
void updateNup();
void updateNupFromPages();
void preparePreview( bool i_bPrintChanged = true, bool i_bMayUseCache = false );
- void setPreviewText( sal_Int32 );
+ void setPreviewText();
void updatePrinterText();
void checkControlDependencies();
void checkOptionalControlDependencies();
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx
index e914b6493dff..e3892a381bed 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -268,8 +268,7 @@ public:
bool DrawGradient(
const tools::PolyPolygon& rPolyPoly,
- const Gradient& rGradient,
- OutputDevice* );
+ const Gradient& rGradient );
// CopyArea --> No RasterOp, but ClipRegion
diff --git a/vcl/inc/salobj.hxx b/vcl/inc/salobj.hxx
index b1005fb87846..3d2105fcb008 100644
--- a/vcl/inc/salobj.hxx
+++ b/vcl/inc/salobj.hxx
@@ -52,8 +52,8 @@ public:
void SetCallback( void* pInst, SALOBJECTPROC pProc )
{ m_pInst = pInst; m_pCallback = pProc; }
- void CallCallback( SalObjEvent nEvent, const void* pEvent )
- { if (m_pCallback) m_pCallback( m_pInst, this, nEvent, pEvent ); }
+ void CallCallback( SalObjEvent nEvent )
+ { if (m_pCallback) m_pCallback( m_pInst, nEvent ); }
void SetMouseTransparent( bool bMouseTransparent )
{ m_bMouseTransparent = bMouseTransparent; }
diff --git a/vcl/inc/salwtype.hxx b/vcl/inc/salwtype.hxx
index 4b27a3e99c6b..316165f3d44c 100644
--- a/vcl/inc/salwtype.hxx
+++ b/vcl/inc/salwtype.hxx
@@ -224,8 +224,7 @@ enum class SalObjEvent {
ToTop = 3
};
-typedef long (*SALOBJECTPROC)( void* pInst, SalObject* pObject,
- SalObjEvent nEvent, const void* pEvent );
+typedef long (*SALOBJECTPROC)( void* pInst, SalObjEvent nEvent );
struct SalFrameState
{