diff options
author | Santiago Martinez <smvarela@gmail.com> | 2012-04-23 11:27:07 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-04-23 11:27:07 +0530 |
commit | 2910933f2609b19d9c6c4b793288e1b2d9991080 (patch) | |
tree | 694107ed47edc3c0bb0eb71c90a8f727735599c3 /vcl | |
parent | Remove unused code (diff) | |
download | core-2910933f2609b19d9c6c4b793288e1b2d9991080.tar.gz core-2910933f2609b19d9c6c4b793288e1b2d9991080.zip |
Remove unused code in vcl
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/outdev.hxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/outmap.cxx | 42 |
2 files changed, 0 insertions, 46 deletions
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx index b6c0411563a5..284340fad474 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 583e1c8d226f..42e96c2e068a 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 { |