diff options
author | August Sodora <augsod@gmail.com> | 2011-12-20 14:45:49 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-12-20 15:23:34 -0500 |
commit | 0696c0aa742c57ae93733bd43c694d847c2bcd7e (patch) | |
tree | d74a8f156437f28df29fd9fba09517cb8a9675f6 /vcl/source/window | |
parent | e8f980d10cf95b8bced1ca18a55b2a4784f6dcc9 (diff) |
callcatcher: Remove unused code
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/arrange.cxx | 32 | ||||
-rw-r--r-- | vcl/source/window/printdlg.cxx | 5 |
2 files changed, 0 insertions, 37 deletions
diff --git a/vcl/source/window/arrange.cxx b/vcl/source/window/arrange.cxx index 11ca774113e6..847abf272aed 100644 --- a/vcl/source/window/arrange.cxx +++ b/vcl/source/window/arrange.cxx @@ -524,38 +524,6 @@ size_t RowOrColumn::addChild( boost::shared_ptr<WindowArranger> const & i_pChild return nIndex; } -void RowOrColumn::remove( Window* i_pWindow ) -{ - if( i_pWindow ) - { - for( std::vector< WindowArranger::Element >::iterator it = m_aElements.begin(); - it != m_aElements.end(); ++it ) - { - if( it->m_pElement == i_pWindow ) - { - m_aElements.erase( it ); - return; - } - } - } -} - -void RowOrColumn::remove( boost::shared_ptr<WindowArranger> const & i_pChild ) -{ - if( i_pChild ) - { - for( std::vector< WindowArranger::Element >::iterator it = m_aElements.begin(); - it != m_aElements.end(); ++it ) - { - if( it->m_pChild == i_pChild ) - { - m_aElements.erase( it ); - return; - } - } - } -} - // ---------------------------------------- // vcl::LabeledElement //----------------------------------------- diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index b1c9b4b9bf16..06096839461b 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -1028,11 +1028,6 @@ bool PrintDialog::isPrintToFile() return maOptionsPage.maToFileBox.IsChecked(); } -int PrintDialog::getCopyCount() -{ - return static_cast<int>(maJobPage.maCopyCountField.GetValue()); -} - bool PrintDialog::isCollate() { return maJobPage.maCopyCountField.GetValue() > 1 ? maJobPage.maCollateBox.IsChecked() : sal_False; |