diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-09 11:45:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-09 13:57:16 +0000 |
commit | 87ec1f8857e77c0b8d559fa92416f44b68dd1e63 (patch) | |
tree | c6aca1bbfe5bbf8749a870c1a1cbc05399aa4a2e /svtools | |
parent | Three factories in sot never used (diff) | |
download | core-87ec1f8857e77c0b8d559fa92416f44b68dd1e63.tar.gz core-87ec1f8857e77c0b8d559fa92416f44b68dd1e63.zip |
callcatcher: remove unused code post automation removal
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/filedlg.hxx | 6 | ||||
-rw-r--r-- | svtools/inc/svtools/fixedhyper.hxx | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/roadmap.hxx | 3 | ||||
-rw-r--r-- | svtools/inc/svtools/taskbar.hxx | 64 | ||||
-rw-r--r-- | svtools/inc/svtools/treelist.hxx | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/ttprops.hxx | 5 | ||||
-rw-r--r-- | svtools/source/contnr/treelist.cxx | 12 | ||||
-rw-r--r-- | svtools/source/control/fixedhyper.cxx | 8 | ||||
-rw-r--r-- | svtools/source/control/roadmap.cxx | 35 | ||||
-rw-r--r-- | svtools/source/control/taskbox.cxx | 63 | ||||
-rw-r--r-- | svtools/source/control/taskmisc.cxx | 309 | ||||
-rw-r--r-- | svtools/source/control/taskstat.cxx | 9 | ||||
-rw-r--r-- | svtools/source/plugapp/ttprops.cxx | 22 |
13 files changed, 0 insertions, 538 deletions
diff --git a/svtools/inc/svtools/filedlg.hxx b/svtools/inc/svtools/filedlg.hxx index 64b2255df46b..d25219a32efb 100644 --- a/svtools/inc/svtools/filedlg.hxx +++ b/svtools/inc/svtools/filedlg.hxx @@ -83,14 +83,8 @@ public: virtual void FileSelect(); virtual void FilterSelect(); - void SetDefaultExt( const UniString& rExt ) { aDfltExt = rExt; } const UniString& GetDefaultExt() const { return aDfltExt; } UniString GetFilterType( sal_uInt16 nPos ) const; - - void SetFileSelectHdl( const Link& rLink ) { aFileHdlLink = rLink; } - const Link& GetFileSelectHdl() const { return aFileHdlLink; } - void SetFilterSelectHdl( const Link& rLink ) { aFilterHdlLink = rLink; } - const Link& GetFilterSelectHdl() const { return aFilterHdlLink; } }; #endif // _FILEDLG_HXX diff --git a/svtools/inc/svtools/fixedhyper.hxx b/svtools/inc/svtools/fixedhyper.hxx index 6c34526dbb0b..b12a83917ceb 100644 --- a/svtools/inc/svtools/fixedhyper.hxx +++ b/svtools/inc/svtools/fixedhyper.hxx @@ -173,7 +173,6 @@ namespace svt With ResId or WinBits. */ - FixedHyperlinkImage( Window* pParent, const ResId& rId ); FixedHyperlinkImage( Window* pParent, WinBits nWinStyle = 0 ); /** dtor diff --git a/svtools/inc/svtools/roadmap.hxx b/svtools/inc/svtools/roadmap.hxx index 5f9be67ab60b..53a7b987bcda 100644 --- a/svtools/inc/svtools/roadmap.hxx +++ b/svtools/inc/svtools/roadmap.hxx @@ -71,10 +71,8 @@ namespace svt void SetRoadmapBitmap( const BitmapEx& maBitmap, sal_Bool _bInvalidate = sal_True ); void EnableRoadmapItem( ItemId _nItemId, sal_Bool _bEnable, ItemIndex _nStartIndex = 0 ); - sal_Bool IsRoadmapItemEnabled( ItemId _nItemId, ItemIndex _nStartIndex = 0 ) const; void ChangeRoadmapItemLabel( ItemId _nID, const ::rtl::OUString& sLabel, ItemIndex _nStartIndex = 0 ); - ::rtl::OUString GetRoadmapItemLabel( ItemId _nID, ItemIndex _nStartIndex = 0 ); void ChangeRoadmapItemID( ItemId _nID, ItemId _NewID, ItemIndex _nStartIndex = 0 ); void SetRoadmapInteractive( sal_Bool _bInteractive ); @@ -85,7 +83,6 @@ namespace svt ItemIndex GetItemCount() const; ItemId GetItemID( ItemIndex _nIndex ) const; - ItemIndex GetItemIndex( ItemId _nID ) const; void InsertRoadmapItem( ItemIndex _Index, const ::rtl::OUString& _RoadmapItem, ItemId _nUniqueId, sal_Bool _bEnabled = sal_True ); void ReplaceRoadmapItem( ItemIndex _Index, const ::rtl::OUString& _RoadmapItem, ItemId _nUniqueId, sal_Bool _bEnabled ); diff --git a/svtools/inc/svtools/taskbar.hxx b/svtools/inc/svtools/taskbar.hxx index 144a6902b124..9d2ed86f8892 100644 --- a/svtools/inc/svtools/taskbar.hxx +++ b/svtools/inc/svtools/taskbar.hxx @@ -54,12 +54,6 @@ typedef ::std::vector< ImplTaskSBFldItem* > ImplTaskSBItemList; TaskToolBox =========== -StartUpdateTask()/UpdateTask()/EndUpdateTask() -Diese muessen gerufen werden, wenn die Task upgedatet werden muessen. -Dann muss StartUpdateTask() gerufen werden, dann UpdateTask() fuer alle -Task's und danach EndUpdateTask() wo dann die TaskButtons entsprechend -neu angeordnet werden. - ActivateTask() Handler der gerufen wird, wenn ein Task aktiviert werden muss. @@ -203,11 +197,6 @@ public: virtual void Command( const CommandEvent& rCEvt ); virtual void RequestHelp( const HelpEvent& rHEvt ); - void StartUpdateTask(); - void UpdateTask( const Image& rImage, const String& rText, - sal_Bool bActive = sal_False ); - void EndUpdateTask(); - const Point& GetContextMenuPos() const { return maContextMenuPos; } sal_Bool IsMinActivate() const { return mbMinActivate; } @@ -317,9 +306,6 @@ public: virtual void RequestHelp( const HelpEvent& rHEvt ); virtual void UserDraw( const UserDrawEvent& rUDEvt ); - void InsertStatusField( long nOffset = STATUSBAR_OFFSET, - sal_uInt16 nPos = STATUSBAR_APPEND, - sal_uInt16 nFlags = TASKSTATUSFIELD_CLOCK ); void RemoveStatusField() { maTimer.Stop(); RemoveItem( TASKSTATUSBAR_STATUSFIELDID ); } sal_uInt16 GetFieldFlags() const { return mnFieldFlags; } @@ -403,56 +389,6 @@ public: const Link& GetTaskResizeHdl() const { return maTaskResizeHdl; } }; -// ----------------------- -// - WindowArrange-Types - -// ----------------------- - -#define WINDOWARRANGE_TILE 1 -#define WINDOWARRANGE_HORZ 2 -#define WINDOWARRANGE_VERT 3 -#define WINDOWARRANGE_CASCADE 4 - -class ImplWindowArrangeList; - -// ----------------------- -// - class WindowArrange - -// ----------------------- - -typedef ::std::vector< Window* > WindowList_impl; - -class SVT_DLLPUBLIC WindowArrange -{ -private: - WindowList_impl maWinList; - -#ifdef _TASKBAR_CXX - SVT_DLLPRIVATE void ImplTile( const Rectangle& rRect ); - SVT_DLLPRIVATE void ImplHorz( const Rectangle& rRect ); - SVT_DLLPRIVATE void ImplVert( const Rectangle& rRect ); - SVT_DLLPRIVATE void ImplCascade( const Rectangle& rRect ); -#endif - -public: - WindowArrange(); - ~WindowArrange(); - - void AddWindow( Window* pWindow, size_t nPos = size_t(-1) ) - { - if ( nPos < maWinList.size() ) { - maWinList.insert( maWinList.begin() + nPos, pWindow ); - } else { - maWinList.push_back( pWindow ); - } - } - - void RemoveAllWindows() - { - maWinList.clear(); - } - - void Arrange( sal_uInt16 nType, const Rectangle& rRect ); -}; - #endif // _TASKBAR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/inc/svtools/treelist.hxx b/svtools/inc/svtools/treelist.hxx index a9eff0a6f001..1e0c2669a819 100644 --- a/svtools/inc/svtools/treelist.hxx +++ b/svtools/inc/svtools/treelist.hxx @@ -372,7 +372,6 @@ public: { return (sal_Bool)(pEntry->pParent!=pRootItem); } sal_Bool IsChild( SvListEntry* pParent, SvListEntry* pChild ) const; - sal_Bool IsInChildList( SvListEntry* pParent, SvListEntry* pChild) const; SvListEntry* GetEntry( SvListEntry* pParent, sal_uLong nPos ) const; SvListEntry* GetEntry( sal_uLong nRootPos ) const; SvListEntry* GetEntryAtAbsPos( sal_uLong nAbsPos ) const; diff --git a/svtools/inc/svtools/ttprops.hxx b/svtools/inc/svtools/ttprops.hxx index c50303e33715..6d07b14dfee4 100644 --- a/svtools/inc/svtools/ttprops.hxx +++ b/svtools/inc/svtools/ttprops.hxx @@ -76,19 +76,14 @@ public: , nPropertyVersion( 0 ) {} - sal_Bool GetSlots(); - /// ExecuteFunction sal_uInt16 mnSID; SfxPoolItem** mppArgs; sal_uInt16 mnMode; - sal_uInt16 ExecuteFunction( sal_uInt16 nSID, SfxPoolItem** ppArgs = NULL, sal_uInt16 nMode = 0 ); /// Img Bitmap *mpBmp; - static SvtResId GetSvtResId( sal_uInt16 nId ); - sal_uLong nSidOpenUrl; sal_uLong nSidFileName; sal_uLong nSidNewDocDirect; diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index 6b34f512b176..f4a081f0441c 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -1378,23 +1378,11 @@ void SvTreeList::SetListPositions( SvTreeEntryList* pList ) } } - void SvTreeList::InvalidateEntry( SvListEntry* pEntry ) { Broadcast( LISTACTION_INVALIDATE_ENTRY, pEntry ); } -sal_Bool SvTreeList::IsInChildList( SvListEntry* pParent, SvListEntry* pChild) const -{ - if ( !pParent ) - pParent = pRootItem; - sal_Bool bIsChild = sal_False; - if ( pParent->pChildren ) - bIsChild = (sal_Bool)(pParent->pChildren->GetPos(pChild) != ULONG_MAX); - return bIsChild; -} - - void lcl_CheckList( SvTreeEntryList* pList ) { SvListEntry* pEntry = (SvListEntry*)(pList->First()); diff --git a/svtools/source/control/fixedhyper.cxx b/svtools/source/control/fixedhyper.cxx index 46b6fce13299..2fa3fd553c05 100644 --- a/svtools/source/control/fixedhyper.cxx +++ b/svtools/source/control/fixedhyper.cxx @@ -136,14 +136,6 @@ void FixedHyperlink::SetDescription( const String& rNewDescription ) m_nTextLen = GetCtrlTextWidth( GetText() ); } -// class FixedHyperlinkImage --------------------------------------------- - -FixedHyperlinkImage::FixedHyperlinkImage( Window* pParent, const ResId& rResId ) : - FixedImage( pParent, rResId ) -{ - Initialize(); -} - FixedHyperlinkImage::FixedHyperlinkImage( Window* pParent, WinBits nWinStyle ) : FixedImage( pParent, nWinStyle ) { diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 5765366261bb..4460ccc911e8 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -407,23 +407,6 @@ namespace svt } //--------------------------------------------------------------------- - RoadmapTypes::ItemIndex ORoadmap::GetItemIndex( ItemId _nID ) const - { - ItemId nLocID = 0; - const HL_Vector& rItems = m_pImpl->getHyperLabels(); - for ( HL_Vector::const_iterator i = rItems.begin(); - i < rItems.end(); - ++i - ) - { - nLocID = (*i)->GetID(); - if ( nLocID == _nID ) - return ItemIndex( i - rItems.begin() ); - } - return -1; - } - - //--------------------------------------------------------------------- void ORoadmap::InsertRoadmapItem( ItemIndex _Index, const ::rtl::OUString& _RoadmapItem, ItemId _nUniqueId, sal_Bool _bEnabled ) { InsertHyperLabel( _Index, _RoadmapItem, _nUniqueId, _bEnabled ); @@ -448,13 +431,6 @@ namespace svt } //--------------------------------------------------------------------- - sal_Bool ORoadmap::IsRoadmapItemEnabled( ItemId _nItemId, ItemIndex _nStartIndex ) const - { - const RoadmapItem* _pLabelItem = GetByID( _nItemId, _nStartIndex ); - return _pLabelItem ? _pLabelItem->IsEnabled() : sal_False; - } - - //--------------------------------------------------------------------- void ORoadmap::EnableRoadmapItem( ItemId _nItemId, sal_Bool _bEnable, ItemIndex _nStartIndex ) { RoadmapItem* pItem = GetByID( _nItemId, _nStartIndex ); @@ -482,17 +458,6 @@ namespace svt } //--------------------------------------------------------------------- - - ::rtl::OUString ORoadmap::GetRoadmapItemLabel( ItemId _nID, ItemIndex _nStartIndex ) - { - RoadmapItem* pItem = GetByID( _nID, _nStartIndex ); - if ( pItem != NULL ) - return pItem->GetLabel(); - else - return ::rtl::OUString(); - } - - //--------------------------------------------------------------------- void ORoadmap::ChangeRoadmapItemID( ItemId _nID, ItemId _NewID, ItemIndex _nStartIndex ) { RoadmapItem* pItem = GetByID( _nID, _nStartIndex ); diff --git a/svtools/source/control/taskbox.cxx b/svtools/source/control/taskbox.cxx index c31608ef766d..deb6f4ca1623 100644 --- a/svtools/source/control/taskbox.cxx +++ b/svtools/source/control/taskbox.cxx @@ -274,67 +274,4 @@ void TaskToolBox::ImplFormatTaskToolBox() } } -// ----------------------------------------------------------------------- - -void TaskToolBox::StartUpdateTask() -{ - mnOldItemCount = mpItemList->size(); - mnUpdatePos = 0; - mnUpdateNewPos = TOOLBOX_ITEM_NOTFOUND; - mnNewActivePos = 0xFFFE; -} - -// ----------------------------------------------------------------------- - -void TaskToolBox::UpdateTask( const Image& rImage, const String& rText, - sal_Bool bActive ) -{ - ImplTaskItem* pItem = ( mnUpdatePos < mpItemList->size() ) ? (*mpItemList)[ mnUpdatePos ] : NULL; - if ( pItem ) - { - if ( (pItem->maText != rText) || (pItem->maImage != rImage) ) - { - // Eintraege aus der Liste entfernen - while ( mpItemList->size() > mnUpdatePos ) { - delete mpItemList->back(); - mpItemList->pop_back(); - } - pItem = NULL; - } - } - - if ( !pItem ) - { - if ( mnUpdatePos < mnUpdateNewPos ) - mnUpdateNewPos = mnUpdatePos; - - pItem = new ImplTaskItem; - pItem->maImage = rImage; - pItem->maText = rText; - mpItemList->push_back( pItem ); - } - - if ( bActive ) - mnNewActivePos = mnUpdatePos; - - mnUpdatePos++; -} - -// ----------------------------------------------------------------------- - -void TaskToolBox::EndUpdateTask() -{ - if ( mnUpdateNewPos == TOOLBOX_ITEM_NOTFOUND ) - { - // Eintraege aus der Liste entfernen - while ( mpItemList->size() > mnUpdatePos ) { - delete mpItemList->back(); - mpItemList->pop_back(); - } - mnUpdateNewPos = mnUpdatePos; - } - - ImplFormatTaskToolBox(); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/control/taskmisc.cxx b/svtools/source/control/taskmisc.cxx index 315ce373804a..4dc0d5526aae 100644 --- a/svtools/source/control/taskmisc.cxx +++ b/svtools/source/control/taskmisc.cxx @@ -55,313 +55,4 @@ void TaskButtonBar::RequestHelp( const HelpEvent& rHEvt ) ToolBox::RequestHelp( rHEvt ); } -// ======================================================================= - -WindowArrange::WindowArrange() -{ -} - -// ----------------------------------------------------------------------- - -WindowArrange::~WindowArrange() -{ - maWinList.clear(); -} - -// ----------------------------------------------------------------------- - -static sal_uInt16 ImplCeilSqareRoot( sal_uInt16 nVal ) -{ - sal_uInt16 i; - - // Ueberlauf verhindern - if ( nVal > 0xFE * 0xFE ) - return 0xFE; - - for ( i=0; i*i < nVal; i++ ) - {} - - return i; -} - -// ----------------------------------------------------------------------- - -static void ImplPosSizeWindow( Window* pWindow, - long nX, long nY, long nWidth, long nHeight ) -{ - if ( nWidth < 32 ) - nWidth = 32; - if ( nHeight < 24 ) - nHeight = 24; - pWindow->SetPosSizePixel( nX, nY, nWidth, nHeight ); -} - -// ----------------------------------------------------------------------- - -void WindowArrange::ImplTile( const Rectangle& rRect ) -{ - size_t nCount = maWinList.size(); - if ( nCount < 3 ) - { - ImplVert( rRect ); - return; - } - - sal_uInt16 i; - sal_uInt16 j; - sal_uInt16 nCols; - sal_uInt16 nRows; - sal_uInt16 nActRows; - sal_uInt16 nOffset; - long nOverWidth; - long nOverHeight; - long nX = rRect.Left(); - long nY = rRect.Top(); - long nWidth = rRect.GetWidth(); - long nHeight = rRect.GetHeight(); - long nRectY = nY; - long nRectWidth = nWidth; - long nRectHeight = nHeight; - long nTempWidth; - long nTempHeight; - - nCols = ImplCeilSqareRoot( nCount ); - nOffset = (nCols*nCols) - nCount; - if ( nOffset >= nCols ) - { - nRows = nCols -1; - nOffset = nOffset - nCols; - } - else - nRows = nCols; - - nWidth /= nCols; - if ( nWidth < 1 ) - nWidth = 1; - nOverWidth = nRectWidth-(nWidth*nCols); - - WindowList_impl::iterator it = maWinList.begin(); - for ( i = 0; i < nCols; i++ ) - { - if ( i < nOffset ) - nActRows = nRows - 1; - else - nActRows = nRows; - - nTempWidth = nWidth; - if ( nOverWidth > 0 ) - { - nTempWidth++; - nOverWidth--; - } - - nHeight = nRectHeight / nActRows; - if ( nHeight < 1 ) - nHeight = 1; - nOverHeight = nRectHeight-(nHeight*nActRows); - for ( j = 0; j < nActRows; j++ ) - { - // Ueberhang verteilen - nTempHeight = nHeight; - if ( nOverHeight > 0 ) - { - nTempHeight++; - nOverHeight--; - } - ImplPosSizeWindow( *it, nX, nY, nTempWidth, nTempHeight ); - nY += nTempHeight; - - if ( ++it == maWinList.end() ) - break; - } - - nX += nWidth; - nY = nRectY; - - if ( it == maWinList.end() ) - break; - } -} - -// ----------------------------------------------------------------------- - -void WindowArrange::ImplHorz( const Rectangle& rRect ) -{ - size_t nCount = maWinList.size(); - long nX = rRect.Left(); - long nY = rRect.Top(); - long nWidth = rRect.GetWidth(); - long nHeight = rRect.GetHeight(); - long nRectHeight = nHeight; - long nOver; - long nTempHeight; - Window* pWindow; - - nHeight /= nCount; - if ( nHeight < 1 ) - nHeight = 1; - nOver = nRectHeight - (nCount*nHeight); - for( size_t index = 0; index < nCount; ++index ) - { - pWindow = maWinList[ index ]; - nTempHeight = nHeight; - if ( nOver > 0 ) - { - nTempHeight++; - nOver--; - } - ImplPosSizeWindow( pWindow, nX, nY, nWidth, nTempHeight ); - nY += nTempHeight; - } -} - -// ----------------------------------------------------------------------- - -void WindowArrange::ImplVert( const Rectangle& rRect ) -{ - size_t nCount = maWinList.size(); - long nX = rRect.Left(); - long nY = rRect.Top(); - long nWidth = rRect.GetWidth(); - long nHeight = rRect.GetHeight(); - long nRectWidth = nWidth; - long nOver; - long nTempWidth; - Window* pWindow; - - nWidth /= nCount; - if ( nWidth < 1 ) - nWidth = 1; - nOver = nRectWidth - (nCount*nWidth); - for( size_t index = 0; index < nCount; ++index ) - { - pWindow = maWinList[ index ]; - nTempWidth = nWidth; - if ( nOver > 0 ) - { - nTempWidth++; - nOver--; - } - ImplPosSizeWindow( pWindow, nX, nY, nTempWidth, nHeight ); - nX += nTempWidth; - } -} - -// ----------------------------------------------------------------------- - -void WindowArrange::ImplCascade( const Rectangle& rRect ) -{ - long nX = rRect.Left(); - long nY = rRect.Top(); - long nWidth = rRect.GetWidth(); - long nHeight = rRect.GetHeight(); - long nRectWidth = nWidth; - long nRectHeight = nHeight; - long nOff; - long nCascadeWins; - sal_Int32 nLeftBorder; - sal_Int32 nTopBorder; - sal_Int32 nRightBorder; - sal_Int32 nBottomBorder; - long nStartOverWidth; - long nStartOverHeight; - long nOverWidth = 0; - long nOverHeight = 0; - long nTempX; - long nTempY; - long nTempWidth; - long nTempHeight; - long i; - Window* pWindow; - Window* pTempWindow; - - // Border-Fenster suchen um den Versatz zu ermitteln - pTempWindow = maWinList.front(); - pTempWindow->GetBorder( nLeftBorder, nTopBorder, nRightBorder, nBottomBorder ); - while ( !nTopBorder ) - { - Window* pBrdWin = pTempWindow->GetWindow( WINDOW_REALPARENT ); - if ( !pBrdWin || (pBrdWin->GetWindow( WINDOW_CLIENT ) != pTempWindow) ) - break; - pTempWindow = pBrdWin; - pTempWindow->GetBorder( nLeftBorder, nTopBorder, nRightBorder, nBottomBorder ); - } - if ( !nTopBorder ) - nTopBorder = 22; - nOff = nTopBorder; - - nCascadeWins = nRectHeight / 3 / nOff; - if ( !nCascadeWins ) - nCascadeWins = 1; - nWidth -= nCascadeWins*nOff; - nHeight -= nCascadeWins*nOff; - if ( nWidth < 1 ) - nWidth = 1; - if ( nHeight < 1 ) - nHeight = 1; - - nStartOverWidth = nRectWidth-(nWidth+(nCascadeWins*nOff)); - nStartOverHeight = nRectHeight-(nHeight+(nCascadeWins*nOff)); - - i = 0; - for( size_t index = 0, count = maWinList.size(); index < count; ++index ) - { - pWindow = maWinList[ index ]; - if ( !i ) - { - nOverWidth = nStartOverWidth; - nOverHeight = nStartOverHeight; - } - - // Position - nTempX = nX + (i*nOff); - nTempY = nY + (i*nOff); - - // Ueberhang verteilen - nTempWidth = nWidth; - if ( nOverWidth > 0 ) - { - nTempWidth++; - nOverWidth--; - } - nTempHeight = nHeight; - if ( nOverHeight > 0 ) - { - nTempHeight++; - nOverHeight--; - } - - ImplPosSizeWindow( pWindow, nTempX, nTempY, nTempWidth, nTempHeight ); - - if ( i < nCascadeWins ) - i++; - else - i = 0; - } -} - -// ----------------------------------------------------------------------- - -void WindowArrange::Arrange( sal_uInt16 nType, const Rectangle& rRect ) -{ - if ( maWinList.empty() ) - return; - - switch ( nType ) - { - case WINDOWARRANGE_TILE: - ImplTile( rRect ); - break; - case WINDOWARRANGE_HORZ: - ImplHorz( rRect ); - break; - case WINDOWARRANGE_VERT: - ImplVert( rRect ); - break; - case WINDOWARRANGE_CASCADE: - ImplCascade( rRect ); - break; - } -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/control/taskstat.cxx b/svtools/source/control/taskstat.cxx index 20b731bcc2da..594163e50333 100644 --- a/svtools/source/control/taskstat.cxx +++ b/svtools/source/control/taskstat.cxx @@ -522,13 +522,4 @@ void TaskStatusBar::UserDraw( const UserDrawEvent& rUDEvt ) StatusBar::UserDraw( rUDEvt ); } -// ----------------------------------------------------------------------- - -void TaskStatusBar::InsertStatusField( long, sal_uInt16, - sal_uInt16 nFlags ) -{ - mnFieldFlags = nFlags; - ImplUpdateField( sal_False ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/plugapp/ttprops.cxx b/svtools/source/plugapp/ttprops.cxx index 2d65d6df4e73..6efb3679997c 100644 --- a/svtools/source/plugapp/ttprops.cxx +++ b/svtools/source/plugapp/ttprops.cxx @@ -45,26 +45,4 @@ sal_Bool TTProperties::RequestProperty( sal_uInt16 nRequest ) return sal_True; } - -sal_Bool TTProperties::GetSlots() -{ - RequestProperty( TT_PR_SLOTS ); - return HasSlots(); -} - -sal_uInt16 TTProperties::ExecuteFunction( sal_uInt16 nSID, SfxPoolItem** ppArgs, sal_uInt16 nMode ) -{ - mnSID = nSID; - mppArgs = ppArgs; - mnMode = nMode; - RequestProperty( TT_PR_DISPATCHER ); - mppArgs = NULL; - return nActualPR; -} - -SvtResId TTProperties::GetSvtResId( sal_uInt16 nId ) -{ - return SvtResId( nId ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |