[Libreoffice-commits] .: canvas/inc canvas/source unusedcode.easy

Jesús Corrius jcorrius at kemper.freedesktop.org
Thu May 3 08:02:18 PDT 2012


 canvas/inc/canvas/canvastools.hxx   |   20 --------------------
 canvas/source/tools/canvastools.cxx |   12 ------------
 unusedcode.easy                     |    1 -
 3 files changed, 33 deletions(-)

New commits:
commit a393af6e9146596ba2a197f0e369775bda7faa51
Author: Jordi Mallach <jordi at sindominio.net>
Date:   Thu May 3 17:01:40 2012 +0200

    Remove unused method canvas::tools::clipBlit

diff --git a/canvas/inc/canvas/canvastools.hxx b/canvas/inc/canvas/canvastools.hxx
index 1605b66..87268ab 100644
--- a/canvas/inc/canvas/canvastools.hxx
+++ b/canvas/inc/canvas/canvastools.hxx
@@ -337,26 +337,6 @@ namespace canvas
             @return false, if the resulting blit is empty, i.e. fully
             clipped away.
          */
-        CANVASTOOLS_DLLPUBLIC bool clipBlit( ::basegfx::B2IRange&       io_rSourceArea,
-                       ::basegfx::B2IPoint&       io_rDestPoint,
-                       const ::basegfx::B2IRange& rSourceBounds,
-                       const ::basegfx::B2IRange& rDestBounds );
-
-        /** Return range of integer pixel, which will cover the sprite
-            given by the floating point range.
-
-            This method assumes that sprite sizes are always integer,
-            and that the sprite position (top, left edge of the
-            sprite) is rounded to the nearest integer before
-            rendering.
-
-            @param rRange
-            Input range. Values must be within the representable
-            bounds of sal_Int32
-
-            @return the integer range, which is covered by the sprite
-            given by rRange.
-         */
         CANVASTOOLS_DLLPUBLIC ::basegfx::B2IRange spritePixelAreaFromB2DRange( const ::basegfx::B2DRange& rRange );
 
         /** Retrieve various internal properties of the actual canvas implementation.
diff --git a/canvas/source/tools/canvastools.cxx b/canvas/source/tools/canvastools.cxx
index 4a55ad5..d5220fd 100644
--- a/canvas/source/tools/canvastools.cxx
+++ b/canvas/source/tools/canvastools.cxx
@@ -794,18 +794,6 @@ namespace canvas
             return true;
         }
 
-        bool clipBlit( ::basegfx::B2IRange&       io_rSourceArea,
-                       ::basegfx::B2IPoint&       io_rDestPoint,
-                       const ::basegfx::B2IRange& rSourceBounds,
-                       const ::basegfx::B2IRange& rDestBounds )
-        {
-            return clipAreaImpl( NULL,
-                                 io_rSourceArea,
-                                 io_rDestPoint,
-                                 rSourceBounds,
-                                 rDestBounds );
-        }
-
         ::basegfx::B2IRange spritePixelAreaFromB2DRange( const ::basegfx::B2DRange& rRange )
         {
             if( rRange.isEmpty() )
diff --git a/unusedcode.easy b/unusedcode.easy
index 00cd6fa..bd03a58 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -649,7 +649,6 @@ cairocanvas::CanvasHelper::getPalette()
 cairocanvas::SpriteDeviceHelper::getSurface()
 cairocanvas::TextLayout::draw(_cairo*)
 canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
-canvas::tools::clipBlit(basegfx::B2IRange&, basegfx::B2IPoint&, basegfx::B2IRange const&, basegfx::B2IRange const&)
 cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)
 cmis::Content::queryChildren(std::__debug::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&)
 comphelper::OSelectionChangeListener::disposeAdapter()


More information about the Libreoffice-commits mailing list