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 /vcl/source/window/splitwin.cxx | |
parent | 17d5cdfff9a2f8a311428b981a3998b8e33b4d82 (diff) |
callcatcher: remove unused code post automation removal
Diffstat (limited to 'vcl/source/window/splitwin.cxx')
-rw-r--r-- | vcl/source/window/splitwin.cxx | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index bd2744280eb5..7d13123cc6f5 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -2950,46 +2950,6 @@ void SplitWindow::Clear() // ----------------------------------------------------------------------- -void SplitWindow::SetItemBackground( sal_uInt16 nSetId, const Wallpaper& rWallpaper ) -{ - ImplSplitSet* pSet = ImplFindSet( mpMainSet, nSetId ); - - if ( pSet ) - { - sal_Bool bUpdate = sal_True; - - if ( rWallpaper.GetStyle() == WALLPAPER_NULL ) - { - if ( pSet->mpWallpaper ) - { - delete pSet->mpWallpaper; - pSet->mpWallpaper = NULL; - } - else - bUpdate = sal_False; - } - else - { - // Ab jetzt muss immer invalidiert werden - mbInvalidate = sal_True; - - if ( !pSet->mpWallpaper ) - pSet->mpWallpaper = new Wallpaper( rWallpaper ); - else - *(pSet->mpWallpaper) = rWallpaper; - } - - // Beim MainSet koennen wir den Background umsetzen - if ( pSet == mpMainSet ) - ImplInitSettings(); - - if ( bUpdate ) - ImplUpdateSet( pSet ); - } -} - -// ----------------------------------------------------------------------- - void SplitWindow::SplitItem( sal_uInt16 nId, long nNewSize, sal_Bool bPropSmall, sal_Bool bPropGreat ) { @@ -3332,19 +3292,6 @@ void SplitWindow::SetItemSizeRange (sal_uInt16 nId, const Range aRange) // ----------------------------------------------------------------------- -Window* SplitWindow::GetItemWindow( sal_uInt16 nId ) const -{ - sal_uInt16 nPos; - ImplSplitSet* pSet = ImplFindItem( mpBaseSet, nId, nPos ); - - if ( pSet ) - return pSet->mpItems[nPos].mpWindow; - else - return NULL; -} - -// ----------------------------------------------------------------------- - sal_uInt16 SplitWindow::GetSet( sal_uInt16 nId ) const { sal_uInt16 nPos; @@ -3481,40 +3428,6 @@ void SplitWindow::SetAlign( WindowAlign eNewAlign ) // ----------------------------------------------------------------------- -Size SplitWindow::CalcWindowSizePixel( const Size& rSize, WindowAlign eAlign, - WinBits nWinStyle, sal_Bool bExtra ) -{ - long nLeft; - long nTop; - long nRight; - long nBottom; - Size aSize = rSize; - - ImplCalcBorder( eAlign, sal_False, nLeft, nTop, nRight, nBottom ); - aSize.Width() += nLeft+nRight; - aSize.Height() += nTop+nBottom; - - if ( nWinStyle & WB_SIZEABLE ) - { - if ( (eAlign == WINDOWALIGN_TOP) || (eAlign == WINDOWALIGN_BOTTOM) ) - { - aSize.Height() += SPLITWIN_SPLITSIZE-2; - if ( bExtra ) - aSize.Height() += SPLITWIN_SPLITSIZEEXLN; - } - else - { - aSize.Width() += SPLITWIN_SPLITSIZE-2; - if ( bExtra ) - aSize.Width() += SPLITWIN_SPLITSIZEEXLN; - } - } - - return aSize; -} - -// ----------------------------------------------------------------------- - void SplitWindow::ShowAutoHideButton( sal_Bool bShow ) { mbAutoHide = bShow; @@ -3564,13 +3477,4 @@ long SplitWindow::GetFadeInSize() const return n+SPLITWIN_SPLITSIZE+SPLITWIN_SPLITSIZEEX-2; } -// ----------------------------------------------------------------------- - -Rectangle SplitWindow::GetAutoHideRect() const -{ - Rectangle aRect; - ImplGetAutoHideRect( aRect, sal_True ); - return aRect; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |