diff options
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/dockwin.cxx | 36 | ||||
-rw-r--r-- | vcl/source/window/menu.cxx | 6 |
2 files changed, 0 insertions, 42 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index 6440d118fe54..00aa5242b66b 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -806,21 +806,6 @@ void DockingWindow::ShowTitleButton( sal_uInt16 nButton, sal_Bool bVisible ) // ----------------------------------------------------------------------- -sal_Bool DockingWindow::IsTitleButtonVisible( sal_uInt16 nButton ) const -{ - if ( mpFloatWin ) - return mpFloatWin->IsTitleButtonVisible( nButton ); - else - { - if ( nButton == TITLE_BUTTON_DOCKING ) - return mbDockBtn; - else /* if ( nButton == TITLE_BUTTON_HIDE ) */ - return mbHideBtn; - } -} - -// ----------------------------------------------------------------------- - void DockingWindow::SetFloatingMode( sal_Bool bFloatMode ) { ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( this ); @@ -951,20 +936,6 @@ WinBits DockingWindow::GetFloatStyle() const // ----------------------------------------------------------------------- -void DockingWindow::SetTabStop() -{ - ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( this ); - if( pWrapper ) - { - pWrapper->SetTabStop(); - return; - } - - mpWindowImpl->mnStyle |= WB_GROUP | WB_TABSTOP; -} - -// ----------------------------------------------------------------------- - void DockingWindow::SetPosSizePixel( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) @@ -1109,11 +1080,4 @@ void DockingWindow::SetMaxOutputSizePixel( const Size& rSize ) mpImplData->maMaxOutSize = rSize; } -const Size& DockingWindow::GetMaxOutputSizePixel() const -{ - if ( mpFloatWin ) - return mpFloatWin->GetMaxOutputSizePixel(); - return mpImplData->maMaxOutSize; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 9e47d34716cb..0b3ea6024698 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -522,7 +522,6 @@ class DecoToolBox : public ToolBox using Window::ImplInit; public: DecoToolBox( Window* pParent, WinBits nStyle = 0 ); - DecoToolBox( Window* pParent, const ResId& rResId ); void ImplInit(); void DataChanged( const DataChangedEvent& rDCEvt ); @@ -540,11 +539,6 @@ DecoToolBox::DecoToolBox( Window* pParent, WinBits nStyle ) : { ImplInit(); } -DecoToolBox::DecoToolBox( Window* pParent, const ResId& rResId ) : - ToolBox( pParent, rResId ) -{ - ImplInit(); -} void DecoToolBox::ImplInit() { |