From 3e058df0105b677f68dc8d2dd7ac803659716762 Mon Sep 17 00:00:00 2001
From: Santiago Martinez <smvarela@gmail.com>
Date: Sun, 22 Apr 2012 22:33:31 +0200
Subject: [PATCH] Remove unused code in vlc.

---
 unusedcode.easy           |    2 --
 vcl/inc/vcl/outdev.hxx    |    4 ----
 vcl/source/gdi/outmap.cxx |   42 ------------------------------------------
 3 files changed, 0 insertions(+), 48 deletions(-)

diff --git a/unusedcode.easy b/unusedcode.easy
index fb4d154..22f9d95 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -24,8 +24,6 @@ MSDffImportRecords::Remove(SvxMSDffImportRec* const&, unsigned short)
 MSDffImportRecords::Remove(unsigned short, unsigned short)
 Matrix3d::Inverse() const
 Matrix3d::Matrix3d()
-OutputDevice::LogicToPixel(PolyPolygon const&, MapMode const&) const
-OutputDevice::PixelToLogic(PolyPolygon const&, MapMode const&) const
 PopupMenu::SetSelectedEntry(unsigned short)
 PropBrwMgr::GetChildWindowId()
 SalGraphics::DrawBitmap(SalTwoRect const*, SalBitmap const&, unsigned int, OutputDevice const*)
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx
index b6c0411..284340f 100644
--- a/vcl/inc/vcl/outdev.hxx
+++ b/vcl/inc/vcl/outdev.hxx
@@ -995,8 +995,6 @@ public:
                                       const MapMode& rMapMode ) const;
     Polygon             LogicToPixel( const Polygon& rLogicPoly,
                                       const MapMode& rMapMode ) const;
-    PolyPolygon         LogicToPixel( const PolyPolygon& rLogicPolyPoly,
-                                      const MapMode& rMapMode ) const;
     basegfx::B2DPolyPolygon LogicToPixel( const basegfx::B2DPolyPolygon& rLogicPolyPoly,
                                           const MapMode& rMapMode ) const;
     Point               PixelToLogic( const Point& rDevicePt ) const;
@@ -1015,8 +1013,6 @@ public:
                                       const MapMode& rMapMode ) const;
     basegfx::B2DPolygon PixelToLogic( const basegfx::B2DPolygon& rDevicePoly,
                                       const MapMode& rMapMode ) const;
-    PolyPolygon         PixelToLogic( const PolyPolygon& rDevicePolyPoly,
-                                      const MapMode& rMapMode ) const;
     basegfx::B2DPolyPolygon PixelToLogic( const basegfx::B2DPolyPolygon& rDevicePolyPoly,
                                           const MapMode& rMapMode ) const;
     Point               LogicToLogic( const Point&      rPtSource,
diff --git a/vcl/source/gdi/outmap.cxx b/vcl/source/gdi/outmap.cxx
index 583e1c8..42e96c2 100644
--- a/vcl/source/gdi/outmap.cxx
+++ b/vcl/source/gdi/outmap.cxx
@@ -1303,27 +1303,6 @@ Polygon OutputDevice::LogicToPixel( const Polygon& rLogicPoly,
 
 // -----------------------------------------------------------------------
 
-PolyPolygon OutputDevice::LogicToPixel( const PolyPolygon& rLogicPolyPoly,
-                                        const MapMode& rMapMode ) const
-{
-    DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
-    DBG_CHKOBJ( &rLogicPolyPoly, PolyPolygon, NULL );
-
-    if ( rMapMode.IsDefault() )
-        return rLogicPolyPoly;
-
-    PolyPolygon aPolyPoly( rLogicPolyPoly );
-    sal_uInt16      nPoly = aPolyPoly.Count();
-    for( sal_uInt16 i = 0; i < nPoly; i++ )
-    {
-        Polygon& rPoly = aPolyPoly[i];
-        rPoly = LogicToPixel( rPoly, rMapMode );
-    }
-    return aPolyPoly;
-}
-
-// -----------------------------------------------------------------------
-
 basegfx::B2DPolyPolygon OutputDevice::LogicToPixel( const basegfx::B2DPolyPolygon& rLogicPolyPoly,
                                                     const MapMode& rMapMode ) const
 {
@@ -1603,27 +1582,6 @@ Polygon OutputDevice::PixelToLogic( const Polygon& rDevicePoly,
 
 // -----------------------------------------------------------------------
 
-PolyPolygon OutputDevice::PixelToLogic( const PolyPolygon& rDevicePolyPoly,
-                                        const MapMode& rMapMode ) const
-{
-    DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
-    DBG_CHKOBJ( &rDevicePolyPoly, PolyPolygon, NULL );
-
-    if ( rMapMode.IsDefault() )
-        return rDevicePolyPoly;
-
-    PolyPolygon aPolyPoly( rDevicePolyPoly );
-    sal_uInt16      nPoly = aPolyPoly.Count();
-    for( sal_uInt16 i = 0; i < nPoly; i++ )
-    {
-        Polygon& rPoly = aPolyPoly[i];
-        rPoly = PixelToLogic( rPoly, rMapMode );
-    }
-    return aPolyPoly;
-}
-
-// -----------------------------------------------------------------------
-
 basegfx::B2DPolygon OutputDevice::PixelToLogic( const basegfx::B2DPolygon& rPixelPoly,
                                                 const MapMode& rMapMode ) const
 {
-- 
1.7.7.6

