diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-08-02 18:18:24 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-08-02 18:23:38 +0200 |
commit | 75596f03ac498795a0d669bc1987e7bc372a53b0 (patch) | |
tree | 35c8ae2f71d34b9e9da282dcb4f72c75537d8b92 /svtools | |
parent | 67ecd3b1a23189b99e9509fab0b6c60d8648038a (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/svlbox.hxx | 7 | ||||
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 31 | ||||
-rw-r--r-- | svtools/source/contnr/svlbox.cxx | 51 | ||||
-rw-r--r-- | svtools/source/inc/svimpbox.hxx | 2 | ||||
-rw-r--r-- | svtools/source/inc/svimpicn.hxx | 1 |
5 files changed, 0 insertions, 92 deletions
diff --git a/svtools/inc/svtools/svlbox.hxx b/svtools/inc/svtools/svlbox.hxx index c56b740c6cc9..a4cf74a4954a 100644 --- a/svtools/inc/svtools/svlbox.hxx +++ b/svtools/inc/svtools/svlbox.hxx @@ -489,12 +489,6 @@ public: virtual SvLBoxEntry* GetCurEntry() const = 0; - // Model - void SetInUseEmphasis( SvLBoxEntry* pEntry, sal_Bool bInUse=sal_True); - // View - void SetCursorEmphasis( SvLBoxEntry* pEntry, sal_Bool bCursored=sal_True); - sal_Bool HasCursorEmphasis( SvLBoxEntry* pEntry ) const; - void SetSelectHdl( const Link& rNewHdl ) {aSelectHdl=rNewHdl; } void SetDeselectHdl( const Link& rNewHdl ) {aDeselectHdl=rNewHdl; } void SetDoubleClickHdl(const Link& rNewHdl) {aDoubleClickHdl=rNewHdl;} @@ -533,7 +527,6 @@ public: sal_Int8 GetDragOptions() const { return nDragOptions; } SvLBox* GetSourceView() const; - SvLBox* GetTargetView() const; virtual void NotifyRemoving( SvLBoxEntry* ); virtual void ShowTargetEmphasis( SvLBoxEntry*, sal_Bool bShow ); diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index cf533304b8b5..7f8df9b9897e 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -1041,35 +1041,6 @@ void SvImpLBox::ScrollToAbsPos( long nPos ) } } -void SvImpLBox::RepaintSelectionItems() -{ - if( !pView->GetVisibleCount() ) - return; - - if( !pStartEntry ) - pStartEntry = pView->First(); - - if( nNodeBmpTabDistance == NODE_BMP_TABDIST_NOTVALID ) - SetNodeBmpTabDistance(); - - ShowCursor( sal_False ); - - long nEntryHeight = pView->GetEntryHeight(); - - sal_uLong nCount = nVisibleCount; - long nY = 0; - SvLBoxEntry* pEntry = pStartEntry; - for( sal_uLong n=0; n< nCount && pEntry; n++ ) - { - pView->PaintEntry1( pEntry, nY, 0xffff ); //wg. ItemsetBrowser SV_LBOXTAB_SHOW_SELECTION ); - nY += nEntryHeight; - pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); - } - - ShowCursor( sal_True ); -} - - void SvImpLBox::DrawNet() { if( pView->GetVisibleCount() < 2 && !pStartEntry->HasChildsOnDemand() && @@ -1587,8 +1558,6 @@ void SvImpLBox::SetEntryHeight( short /* nHeight */ ) // Callback-Functions // *********************************************************************** -void SvImpLBox::IndentChanged( short /* nIndentPixel */ ) {} - void SvImpLBox::EntryExpanded( SvLBoxEntry* pEntry ) { // SelAllDestrAnch( sal_False, sal_True ); //DeselectAll(); diff --git a/svtools/source/contnr/svlbox.cxx b/svtools/source/contnr/svlbox.cxx index 6ab6184a9aa2..fd314339ebc0 100644 --- a/svtools/source/contnr/svlbox.cxx +++ b/svtools/source/contnr/svlbox.cxx @@ -1163,11 +1163,6 @@ SvLBox* SvLBox::GetSourceView() const return pDDSource; } -SvLBox* SvLBox::GetTargetView() const -{ - return pDDTarget; -} - void SvLBox::RequestingChilds( SvLBoxEntry* ) { DBG_CHKTHIS(SvLBox,0); @@ -1658,52 +1653,6 @@ void SvLBox::ModelHasEntryInvalidated( SvListEntry* pEntry ) } } -void SvLBox::SetInUseEmphasis( SvLBoxEntry* pEntry, sal_Bool bInUse ) -{ - DBG_CHKTHIS(SvLBox,0); - DBG_ASSERT(pEntry,"SetInUseEmphasis:No Entry"); - if( bInUse ) - { - if( !pEntry->HasInUseEmphasis() ) - { - pEntry->nEntryFlags |= SV_ENTRYFLAG_IN_USE; - pModel->InvalidateEntry( pEntry ); - } - } - else - { - if( pEntry->HasInUseEmphasis() ) - { - pEntry->nEntryFlags &= (~SV_ENTRYFLAG_IN_USE); - pModel->InvalidateEntry( pEntry ); - } - } -} - -void SvLBox::SetCursorEmphasis( SvLBoxEntry* pEntry, sal_Bool bCursored ) -{ - DBG_CHKTHIS(SvLBox,0); - DBG_ASSERT(pEntry,"SetInUseEmphasis:No Entry"); - SvViewDataEntry* pViewData = GetViewDataEntry( pEntry ); - if( pViewData && (bCursored != pViewData->IsCursored()) ) - { - pViewData->SetCursored( bCursored ); - // paintet in allen Views - // pModel->InvalidateEntry( pEntry ); - // invalidiert nur in dieser View - ModelHasEntryInvalidated( pEntry ); - } -} - -sal_Bool SvLBox::HasCursorEmphasis( SvLBoxEntry* pEntry ) const -{ - DBG_CHKTHIS(SvLBox,0); - DBG_ASSERT(pEntry,"SetInUseEmphasis:No Entry"); - SvViewDataEntry* pViewData = GetViewDataEntry( pEntry ); - DBG_ASSERT(pViewData,"Entry not in View"); - return pViewData->IsCursored(); -} - void SvLBox::WriteDragServerInfo( const Point&, SvLBoxDDInfo* ) { DBG_CHKTHIS(SvLBox,0); diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx index 44685901ffbf..c52cec54e479 100644 --- a/svtools/source/inc/svimpbox.hxx +++ b/svtools/source/inc/svimpbox.hxx @@ -275,14 +275,12 @@ public: void EntryMoved( SvLBoxEntry* pEntry ); void TreeInserted( SvLBoxEntry* pEntry ); - void IndentChanged( short nIndentPixel ); void EntryExpanded( SvLBoxEntry* pEntry ); void EntryCollapsed( SvLBoxEntry* pEntry ); void CollapsingEntry( SvLBoxEntry* pEntry ); void EntrySelected( SvLBoxEntry*, sal_Bool bSelect ); void Paint( const Rectangle& rRect ); - void RepaintSelectionItems(); void MouseButtonDown( const MouseEvent& ); void MouseButtonUp( const MouseEvent& ); void MouseMove( const MouseEvent&); diff --git a/svtools/source/inc/svimpicn.hxx b/svtools/source/inc/svimpicn.hxx index 585827ff0c05..1ac3a1431d0d 100644 --- a/svtools/source/inc/svimpicn.hxx +++ b/svtools/source/inc/svimpicn.hxx @@ -184,7 +184,6 @@ public: void EntrySelected( SvLBoxEntry*, sal_Bool bSelect ); void Paint( const Rectangle& rRect ); - void RepaintSelectionItems(); void MouseButtonDown( const MouseEvent& ); void MouseButtonUp( const MouseEvent& ); void MouseMove( const MouseEvent&); |