summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-14 10:39:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-14 09:48:46 +0000
commitfdf56e4b50b396884f67b841b82bca2ae8def848 (patch)
tree7b13a4c6370cb97ab04a327a6839302e010cac88 /vcl
parent2cee32bd4f90cc70a44755f9a8e4a6e9c6c6f2d9 (diff)
loplugin:unusedmethods
Checked a couple of them: StandardCheckVisisbilityRedirector is unused since commit b1f8cf37828d5f37527e54774aa4935610aa6325 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Wed Nov 2 10:57:21 2016 +0200 loplugin:singlevalfields SfxQueryStatus is unused since commit 64a708cba9b954afe3331f63c58218eb53b3d0ce Author: Caolán McNamara <caolanm@redhat.com> Date: Sat Nov 5 20:28:27 2016 +0000 Revert "Reverts a commit series that cripple windows ci." Change-Id: If1c9fe26c3ebc573d8c53c8f060b05c27f2711e5 Reviewed-on: https://gerrit.libreoffice.org/30840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/saldisp.hxx1
-rw-r--r--vcl/source/control/listbox.cxx7
-rw-r--r--vcl/source/window/toolbox2.cxx5
-rw-r--r--vcl/unx/generic/app/saldata.cxx6
4 files changed, 0 insertions, 19 deletions
diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx
index e1e6d5f9a2cc..64998df08332 100644
--- a/vcl/inc/unx/saldisp.hxx
+++ b/vcl/inc/unx/saldisp.hxx
@@ -182,7 +182,6 @@ public:
bool CheckTimeout( bool bExecuteTimers = true );
SalI18N_InputMethod* GetInputMethod() const { return m_pInputMethod; }
- void SetInputMethod( SalI18N_InputMethod *pInputMethod );
Display* GetDisplay() const { return m_pDisplay; }
};
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx
index 3482fcf7c245..d8f882bbf94a 100644
--- a/vcl/source/control/listbox.cxx
+++ b/vcl/source/control/listbox.cxx
@@ -1347,13 +1347,6 @@ void ListBox::DrawEntry(const UserDrawEvent& rEvt, bool bDrawImage, bool bDrawTe
mpImplWin->DrawEntry(*rEvt.GetRenderContext(), bDrawImage, bDrawTextAtImagePos);
}
-void ListBox::SetUserItemSize( const Size& rSz )
-{
- mpImplLB->GetMainWindow()->SetUserItemSize( rSz );
- if ( mpImplWin )
- mpImplWin->SetUserItemSize( rSz );
-}
-
void ListBox::EnableUserDraw( bool bUserDraw )
{
mpImplLB->GetMainWindow()->EnableUserDraw( bUserDraw );
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index f5c801625417..04ba01cd1603 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -845,11 +845,6 @@ Point ToolBox::ImplGetPopupPosition( const Rectangle& rRect, const Size& rSize )
return aPos;
}
-Point ToolBox::GetItemPopupPosition( sal_uInt16 nItemId, const Size& rSize ) const
-{
- return ImplGetPopupPosition( GetItemRect( nItemId ), rSize );
-}
-
Rectangle ToolBox::GetItemRect( sal_uInt16 nItemId ) const
{
if ( mbCalc || mbFormat )
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index d607bd700be1..9fe3422f3617 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -382,12 +382,6 @@ SalXLib::~SalXLib()
delete m_pInputMethod;
}
-void SalXLib::SetInputMethod( SalI18N_InputMethod *pInputMethod )
-{
- delete m_pInputMethod;
- m_pInputMethod = pInputMethod;
-}
-
static Display *OpenX11Display(OString& rDisplay)
{
/*