diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-01-17 12:53:28 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-01-17 14:05:31 +0100 |
commit | a47cb498471f38987c248519435bc4867ffa456e (patch) | |
tree | 177544d89f8055a08b2d827b40451ed32b1e420a /sc/source/ui | |
parent | e532fc14d3804d7e812de4fb083e082b48300ed7 (diff) |
remove unused ScDP* methods
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/dbgui/fieldwnd.cxx | 11 | ||||
-rw-r--r-- | sc/source/ui/inc/fieldwnd.hxx | 6 |
2 files changed, 0 insertions, 17 deletions
diff --git a/sc/source/ui/dbgui/fieldwnd.cxx b/sc/source/ui/dbgui/fieldwnd.cxx index dc438f3bb4b9..40eb873cea28 100644 --- a/sc/source/ui/dbgui/fieldwnd.cxx +++ b/sc/source/ui/dbgui/fieldwnd.cxx @@ -560,11 +560,6 @@ void ScDPFieldControlBase::DrawField( rDev.DrawBitmap( rRect.TopLeft(), aVirDev.GetBitmap( Point( 0, 0 ), aDevSize ) ); } -ScDPLayoutDlg* ScDPFieldControlBase::GetParentDlg() const -{ - return mpDlg; -} - void ScDPFieldControlBase::AppendPaintable(Window* p) { maPaintables.push_back(p); @@ -681,12 +676,6 @@ void ScDPFieldControlBase::MoveSelection(SCsCOL nDX, SCsROW nDY) SetSelection( nNewIndex ); } -void ScDPFieldControlBase::ModifySelectionOffset( long nOffsetDiff ) -{ - mnFieldSelected -= nOffsetDiff; - Redraw(); -} - void ScDPFieldControlBase::SelectNext() { SetSelection(mnFieldSelected + 1); diff --git a/sc/source/ui/inc/fieldwnd.hxx b/sc/source/ui/inc/fieldwnd.hxx index edd8aec6a568..2b232cf9428b 100644 --- a/sc/source/ui/inc/fieldwnd.hxx +++ b/sc/source/ui/inc/fieldwnd.hxx @@ -151,10 +151,6 @@ public: size_t GetSelectedField() const; void SetSelectedField(size_t nSelected); - /** Notifies this control that the offset of the first field has been changed. - The control has to adjust the selection to keep the same field selected - on scrolling with scrollbar. */ - void ModifySelectionOffset( long nOffsetDiff ); /** Selects the next field. Called i.e. after moving a field from SELECT area. */ void SelectNext(); /** Grabs focus and sets new selection. */ @@ -190,8 +186,6 @@ protected: void DrawField( OutputDevice& rDev, const Rectangle& rRect, FieldName& rText, bool bFocus ); - ScDPLayoutDlg* GetParentDlg() const; - void AppendPaintable(Window* p); void DrawPaintables(); void DrawInvertSelection(); |