summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-12-20 14:45:49 -0500
committerAugust Sodora <augsod@gmail.com>2011-12-20 15:23:34 -0500
commit0696c0aa742c57ae93733bd43c694d847c2bcd7e (patch)
treed74a8f156437f28df29fd9fba09517cb8a9675f6 /vcl/source/window
parente8f980d10cf95b8bced1ca18a55b2a4784f6dcc9 (diff)
callcatcher: Remove unused code
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/arrange.cxx32
-rw-r--r--vcl/source/window/printdlg.cxx5
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;