summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-13 13:17:14 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-14 08:19:54 +0200
commitedf835031f1adad05dfc22153a52779a943a9f0a (patch)
tree86c05a985c9cc0f7c1ec2cd4b34bd3f740b36a9e /vcl
parent55de765205359cb0c268a6b2c027e9839102ca04 (diff)
callcatcher: remove unused TaskPaneList::FindNextPane
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/taskpanelist.hxx1
-rw-r--r--vcl/source/window/taskpanelist.cxx35
2 files changed, 0 insertions, 36 deletions
diff --git a/vcl/inc/vcl/taskpanelist.hxx b/vcl/inc/vcl/taskpanelist.hxx
index 102f755554f2..9042169e9898 100644
--- a/vcl/inc/vcl/taskpanelist.hxx
+++ b/vcl/inc/vcl/taskpanelist.hxx
@@ -37,7 +37,6 @@
class VCL_DLLPUBLIC TaskPaneList
{
::std::vector<Window *> mTaskPanes;
- Window *FindNextPane( Window *pWindow, sal_Bool bForward = sal_True );
Window *FindNextFloat( Window *pWindow, sal_Bool bForward = sal_True );
Window *FindNextSplitter( Window *pWindow, sal_Bool bForward = sal_True );
diff --git a/vcl/source/window/taskpanelist.cxx b/vcl/source/window/taskpanelist.cxx
index 24c8ded6e4b4..bfb3be82b70f 100644
--- a/vcl/source/window/taskpanelist.cxx
+++ b/vcl/source/window/taskpanelist.cxx
@@ -262,41 +262,6 @@ sal_Bool TaskPaneList::HandleKeyEvent( KeyEvent aKeyEvent )
// --------------------------------------------------
-// returns next valid pane
-Window* TaskPaneList::FindNextPane( Window *pWindow, sal_Bool bForward )
-{
- if( bForward )
- ::std::stable_sort( mTaskPanes.begin(), mTaskPanes.end(), LTRSort() );
- else
- ::std::stable_sort( mTaskPanes.begin(), mTaskPanes.end(), LTRSortBackward() );
-
- ::std::vector< Window* >::iterator p = mTaskPanes.begin();
- while( p != mTaskPanes.end() )
- {
- if( *p == pWindow )
- {
- unsigned n = mTaskPanes.size();
- while( --n )
- {
- if( ++p == mTaskPanes.end() )
- p = mTaskPanes.begin();
- if( (*p)->IsReallyVisible() && !(*p)->IsDialog() && !(*p)->ImplIsSplitter() )
- {
- pWindow = *p;
- break;
- }
- }
- break;
- }
- else
- ++p;
- }
-
- return pWindow;
-}
-
-// --------------------------------------------------
-
// returns next splitter
Window* TaskPaneList::FindNextSplitter( Window *pWindow, sal_Bool bForward )
{