summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-06 15:56:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-06 15:56:47 +0100
commit190bfac40e1b7a3b32793ac82eb3e67aefd6c785 (patch)
tree96e886357c8aa30150cf4d37c18954307317c2fa /vcl/source
parent0f6dbd1b1762e0b273046a045eb902475fc6890b (diff)
callcatcher: update unused code list and drop more old-layouting unuseds
Change-Id: I1096ea50a23040090c9ee2975a4165c6de238497
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/arrange.cxx12
-rw-r--r--vcl/source/window/window4.cxx32
2 files changed, 0 insertions, 44 deletions
diff --git a/vcl/source/window/arrange.cxx b/vcl/source/window/arrange.cxx
index 56ad168ef7e2..d7f79a0872b5 100644
--- a/vcl/source/window/arrange.cxx
+++ b/vcl/source/window/arrange.cxx
@@ -730,18 +730,6 @@ size_t LabelColumn::addRow( Window* i_pLabel, boost::shared_ptr<WindowArranger>
return nIndex;
}
-size_t LabelColumn::addRow( Window* i_pLabel, Window* i_pElement, long i_nIndent, const Size& i_rElementMinSize )
-{
- boost::shared_ptr< LabeledElement > xLabel( new LabeledElement( this, 1 ) );
- xLabel->setLabel( i_pLabel );
- xLabel->setBorders( 0, i_nIndent, 0, 0, 0 );
- xLabel->setElement( i_pElement );
- xLabel->setMinimumSize( 1, i_rElementMinSize );
- size_t nIndex = addChild( xLabel );
- resize();
- return nIndex;
-}
-
// ----------------------------------------
// vcl::Indenter
//-----------------------------------------
diff --git a/vcl/source/window/window4.cxx b/vcl/source/window/window4.cxx
index f0d8f47b2515..af22d6641f1d 100644
--- a/vcl/source/window/window4.cxx
+++ b/vcl/source/window/window4.cxx
@@ -100,38 +100,6 @@ void Window::ImplExtResize()
}
}
-boost::shared_ptr< vcl::WindowArranger > Window::getLayout()
-{
- boost::shared_ptr< vcl::WindowArranger > xRet;
- vcl::ExtWindowImpl* pImpl = ImplGetExtWindowImpl();
- if( pImpl )
- {
- if( ! pImpl->mxLayout.get() )
- {
- pImpl->mxLayout.reset( new vcl::LabelColumn() );
- pImpl->mxLayout->setParentWindow( this );
- pImpl->mxLayout->setOuterBorder( -1 );
- }
- xRet = pImpl->mxLayout;
- }
-
- return xRet;
-}
-
-void Window::addWindow( Window* i_pWin, bool i_bTakeOwnership )
-{
- vcl::ExtWindowImpl* pImpl = ImplGetExtWindowImpl();
- if( pImpl && i_pWin )
- {
- vcl::ExtWindowImpl* pChildImpl = i_pWin->ImplGetExtWindowImpl();
- if( pChildImpl )
- {
- i_pWin->SetParent( this );
- pChildImpl->mbOwnedByParent = i_bTakeOwnership;
- }
- }
-}
-
Window* Window::findWindow( const rtl::OUString& i_rIdentifier ) const
{
if( getIdentifier() == i_rIdentifier )