diff options
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/edit.cxx | 5 | ||||
-rw-r--r-- | vcl/source/control/field.cxx | 6 | ||||
-rw-r--r-- | vcl/source/control/listbox.cxx | 5 | ||||
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 23 |
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 ); |