summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-09 11:45:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-09 13:57:16 +0000
commit87ec1f8857e77c0b8d559fa92416f44b68dd1e63 (patch)
treec6aca1bbfe5bbf8749a870c1a1cbc05399aa4a2e /vcl/source
parent17d5cdfff9a2f8a311428b981a3998b8e33b4d82 (diff)
callcatcher: remove unused code post automation removal
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/btndlg.cxx5
-rw-r--r--vcl/source/window/dialog.cxx9
-rw-r--r--vcl/source/window/dockwin.cxx15
-rw-r--r--vcl/source/window/splitwin.cxx96
-rw-r--r--vcl/source/window/toolbox.cxx5
-rw-r--r--vcl/source/window/toolbox2.cxx23
-rw-r--r--vcl/source/window/window2.cxx5
7 files changed, 0 insertions, 158 deletions
diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx
index ae851c0ea5d4..d97cabb124bf 100644
--- a/vcl/source/window/btndlg.cxx
+++ b/vcl/source/window/btndlg.cxx
@@ -362,11 +362,6 @@ void ButtonDialog::Clear()
mbFormat = sal_True;
}
-sal_uInt16 ButtonDialog::GetButtonCount() const
-{
- return (sal_uInt16)maItemList.size();
-}
-
sal_uInt16 ButtonDialog::GetButtonId( sal_uInt16 nButton ) const
{
if ( nButton < maItemList.size() )
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index b2505b6db965..22d510b63b59 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -973,15 +973,6 @@ void Dialog::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal
pDev->Pop();
}
-
-// =======================================================================
-
-ModelessDialog::ModelessDialog( Window* pParent, WinBits nStyle ) :
- Dialog( WINDOW_MODELESSDIALOG )
-{
- ImplInit( pParent, nStyle );
-}
-
// -----------------------------------------------------------------------
ModelessDialog::ModelessDialog( Window* pParent, const ResId& rResId ) :
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index 27527fc6336e..9596bfb63acd 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -789,21 +789,6 @@ void DockingWindow::DataChanged( const DataChangedEvent& rDCEvt )
// -----------------------------------------------------------------------
-void DockingWindow::ShowTitleButton( sal_uInt16 nButton, sal_Bool bVisible )
-{
- if ( mpFloatWin )
- mpFloatWin->ShowTitleButton( nButton, bVisible );
- else
- {
- if ( nButton == TITLE_BUTTON_DOCKING )
- mbDockBtn = bVisible;
- else /* if ( nButton == TITLE_BUTTON_HIDE ) */
- mbHideBtn = bVisible;
- }
-}
-
-// -----------------------------------------------------------------------
-
void DockingWindow::SetFloatingMode( sal_Bool bFloatMode )
{
ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( this );
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: */
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index af88334a0ce3..36b42e0035e2 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -6016,11 +6016,6 @@ void ToolBox::ImplDisableFlatButtons()
#endif
}
-ToolBoxLayoutMode ToolBox::GetToolbarLayoutMode()
-{
- return meLayoutMode;
-}
-
void ToolBox::SetToolbarLayoutMode( ToolBoxLayoutMode eLayout )
{
if ( meLayoutMode != eLayout )
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 53339e758417..067156b6131f 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -986,16 +986,6 @@ void ToolBox::SetPageScroll( sal_Bool b )
// -----------------------------------------------------------------------
-void ToolBox::SetNextToolBox( const XubString& rStr )
-{
- sal_Bool bCalcNew = (!maNextToolBoxStr.Len() != !rStr.Len());
- maNextToolBoxStr = rStr;
- if ( bCalcNew )
- ImplInvalidate( sal_True, sal_False );
-}
-
-// -----------------------------------------------------------------------
-
sal_uInt16 ToolBox::GetItemCount() const
{
return (sal_uInt16)mpData->m_aItems.size();
@@ -1162,19 +1152,6 @@ Rectangle ToolBox::GetItemPosRect( sal_uInt16 nPos ) const
// -----------------------------------------------------------------------
-Rectangle ToolBox::GetItemPosDropDownRect( sal_uInt16 nPos ) const
-{
- if ( mbCalc || mbFormat )
- ((ToolBox*)this)->ImplFormat();
-
- if ( nPos < mpData->m_aItems.size() )
- return mpData->m_aItems[nPos].GetDropDownRect( mbHorz );
- else
- return Rectangle();
-}
-
-// -----------------------------------------------------------------------
-
sal_Bool ToolBox::ImplHasExternalMenubutton()
{
// check if the borderwindow (i.e. the decoration) provides the menu button
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index ba20a05fb54f..943411ccb151 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1336,11 +1336,6 @@ const rtl::OString& Window::GetUniqueId() const
return mpWindowImpl->maUniqId;
}
-const rtl::OString& Window::GetUniqueOrHelpId() const
-{
- return mpWindowImpl->maUniqId.getLength() ? mpWindowImpl->maUniqId : mpWindowImpl->maHelpId;
-}
-
// --------- old inline methods ---------------
Window* Window::ImplGetWindow()