summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-12 10:45:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-13 08:12:34 +0100
commitb4641df5de7842d6a8fc2c4f839214bf01160c8c (patch)
treeb4ad3b357ad956a7664715d61bd7da9cc568da01 /vcl
parent753084a3f73bb8a88412feac7aa40a2750e6e9f3 (diff)
loplugin:unusedmethods
Change-Id: I8ad75d1251df4d6f8097aaa68e4ec92331e38ad4 Reviewed-on: https://gerrit.libreoffice.org/85077 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/edit.cxx5
-rw-r--r--vcl/source/control/field.cxx6
-rw-r--r--vcl/source/control/listbox.cxx5
-rw-r--r--vcl/source/control/tabctrl.cxx23
4 files changed, 0 insertions, 39 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 0bd6273670e3..41d5ea4a42e6 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -2698,11 +2698,6 @@ sal_Int32 Edit::GetMaxVisChars() const
return nCharWidth ? nOutWidth/nCharWidth : 0;
}
-sal_Int32 Edit::GetCharPos( const Point& rWindowPos ) const
-{
- return ImplGetCharPos( rWindowPos );
-}
-
void Edit::SetGetSpecialCharsFunction( FncGetSpecialChars fn )
{
pImplFncGetSpecialChars = fn;
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 15798e8c8df1..6f1994963653 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1540,12 +1540,6 @@ sal_Int64 MetricFormatter::GetMax( FieldUnit eOutUnit ) const
GetDecimalDigits(), meUnit, eOutUnit );
}
-void MetricFormatter::SetBaseValue( sal_Int64 nNewBase, FieldUnit eInUnit )
-{
- mnBaseValue = MetricField::ConvertValue( nNewBase, mnBaseValue, GetDecimalDigits(),
- eInUnit, meUnit );
-}
-
sal_Int64 MetricFormatter::GetBaseValue() const
{
// convert to requested units
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx
index a93a9e52dde4..9d1de7296920 100644
--- a/vcl/source/control/listbox.cxx
+++ b/vcl/source/control/listbox.cxx
@@ -1037,11 +1037,6 @@ sal_Int32 ListBox::GetSelectedEntryPos( sal_Int32 nIndex ) const
return nPos;
}
-bool ListBox::IsEntrySelected(const OUString& rStr) const
-{
- return IsEntryPosSelected( GetEntryPos( rStr ) );
-}
-
bool ListBox::IsEntryPosSelected( sal_Int32 nPos ) const
{
return mpImplLB->GetEntryList()->IsEntryPosSelected( nPos + mpImplLB->GetEntryList()->GetMRUCount() );
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 1f32f7de8c1a..febd414b1468 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -1620,12 +1620,6 @@ void TabControl::SetTabPageSizePixel( const Size& rSize )
Window::SetOutputSizePixel( aNewSize );
}
-Size TabControl::GetTabPageSizePixel() const
-{
- tools::Rectangle aRect = const_cast<TabControl*>(this)->ImplGetTabRect( TAB_PAGERECT );
- return aRect.GetSize();
-}
-
void TabControl::InsertPage( sal_uInt16 nPageId, const OUString& rText,
sal_uInt16 nPos )
{
@@ -1722,23 +1716,6 @@ void TabControl::RemovePage( sal_uInt16 nPageId )
}
}
-void TabControl::Clear()
-{
- // clear item list
- mpTabCtrlData->maItemList.clear();
- mnCurPageId = 0;
- if( mpTabCtrlData->mpListBox )
- mpTabCtrlData->mpListBox->Clear();
-
- ImplFreeLayoutData();
-
- mbFormat = true;
- if ( IsUpdateMode() )
- Invalidate();
-
- CallEventListeners( VclEventId::TabpageRemovedAll );
-}
-
void TabControl::SetPageEnabled( sal_uInt16 i_nPageId, bool i_bEnable )
{
ImplTabItem* pItem = ImplGetItem( i_nPageId );