summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/helper/canvastools.cxx44
-rw-r--r--vcl/source/window/arrange.cxx32
-rw-r--r--vcl/source/window/printdlg.cxx5
3 files changed, 0 insertions, 81 deletions
diff --git a/vcl/source/helper/canvastools.cxx b/vcl/source/helper/canvastools.cxx
index b2128130a676..b8dce8d6ecb4 100644
--- a/vcl/source/helper/canvastools.cxx
+++ b/vcl/source/helper/canvastools.cxx
@@ -79,48 +79,6 @@ namespace vcl
{
namespace unotools
{
- // #i79917# removed helpers bezierSequenceFromPolygon and
- // pointSequenceFromPolygon here
- // Also all helpers using tools Polygon and PolyPolygon will get mapped to the
- // B2DPolygon helpers for these cases, see comments with the same TaskID below.
- // TODO: Remove those wrapped methods
-
- //---------------------------------------------------------------------------------------
-
- uno::Reference< rendering::XPolyPolygon2D > xPolyPolygonFromPolygon( const uno::Reference< rendering::XGraphicDevice >& xGraphicDevice,
- const ::Polygon& inputPolygon )
- {
- RTL_LOGFILE_CONTEXT( aLog, "::vcl::unotools::xPolyPolygonFromPolygon()" );
-
- // #i79917# map to basegfx
- const basegfx::B2DPolygon aB2DPolygon(inputPolygon.getB2DPolygon());
- return basegfx::unotools::xPolyPolygonFromB2DPolygon(xGraphicDevice, aB2DPolygon);
- }
-
- //---------------------------------------------------------------------------------------
-
- uno::Reference< rendering::XPolyPolygon2D > xPolyPolygonFromPolyPolygon( const uno::Reference< rendering::XGraphicDevice >& xGraphicDevice,
- const ::PolyPolygon& inputPolyPolygon )
- {
- RTL_LOGFILE_CONTEXT( aLog, "::vcl::unotools::xPolyPolygonFromPolyPolygon()" );
-
- // #i79917# map to basegfx
- const basegfx::B2DPolyPolygon aB2DPolyPolygon(inputPolyPolygon.getB2DPolyPolygon());
- return basegfx::unotools::xPolyPolygonFromB2DPolyPolygon(xGraphicDevice, aB2DPolyPolygon);
- }
-
- //---------------------------------------------------------------------------------------
-
- uno::Reference< rendering::XBitmap > xBitmapFromBitmap( const uno::Reference< rendering::XGraphicDevice >& /*xGraphicDevice*/,
- const ::Bitmap& inputBitmap )
- {
- RTL_LOGFILE_CONTEXT( aLog, "::vcl::unotools::xBitmapFromBitmap()" );
-
- return new vcl::unotools::VclCanvasBitmap( BitmapEx( inputBitmap ) );
- }
-
- //---------------------------------------------------------------------------------------
-
uno::Reference< rendering::XBitmap > xBitmapFromBitmapEx( const uno::Reference< rendering::XGraphicDevice >& /*xGraphicDevice*/,
const ::BitmapEx& inputBitmap )
{
@@ -129,8 +87,6 @@ namespace vcl
return new vcl::unotools::VclCanvasBitmap( inputBitmap );
}
- //---------------------------------------------------------------------------------------
-
namespace
{
inline bool operator==( const rendering::IntegerBitmapLayout& rLHS,
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;