canvas/source/opengl/ogl_spritecanvas.hxx |   13 +++++++++++++
 1 file changed, 13 insertions(+)

New commits:
commit f0d93fab3eaad5865feb5895e542e8947c866aef
Author: Michael Stahl <[email protected]>
Date:   Thu Nov 28 22:06:01 2013 +0100

    add dummy oglcanvas::SpriteCanvas::copyRect so this compiles...
    
    Change-Id: I5c6986b4c765c8328cacb84ce84cc99eb6871d0a

diff --git a/canvas/source/opengl/ogl_spritecanvas.hxx 
b/canvas/source/opengl/ogl_spritecanvas.hxx
index f4bc534..9e79853 100644
--- a/canvas/source/opengl/ogl_spritecanvas.hxx
+++ b/canvas/source/opengl/ogl_spritecanvas.hxx
@@ -88,6 +88,19 @@ namespace oglcanvas
         virtual ::sal_Bool SAL_CALL showBuffer( ::sal_Bool bUpdateAll ) throw 
(::com::sun::star::uno::RuntimeException);
         virtual ::sal_Bool SAL_CALL switchBuffer( ::sal_Bool bUpdateAll ) 
throw (::com::sun::star::uno::RuntimeException);
 
+        // XBitmapCanvas
+        virtual void SAL_CALL copyRect(
+                const ::com::sun::star::uno::Reference< 
::com::sun::star::rendering::XBitmapCanvas >&  /*sourceCanvas*/,
+                const ::com::sun::star::geometry::RealRectangle2D& 
/*sourceRect*/,
+                const ::com::sun::star::rendering::ViewState& 
/*sourceViewState*/,
+                const ::com::sun::star::rendering::RenderState& 
/*sourceRenderState*/,
+                const ::com::sun::star::geometry::RealRectangle2D& 
/*destRect*/,
+                const ::com::sun::star::rendering::ViewState& 
/*destViewState*/,
+                const ::com::sun::star::rendering::RenderState& 
/*destRenderState*/)
+            throw (::com::sun::star::lang::IllegalArgumentException,
+                   ::com::sun::star::uno::RuntimeException)
+            { assert(false); }
+
         // XSpriteCanvas
         virtual ::com::sun::star::uno::Reference< 
::com::sun::star::rendering::XAnimatedSprite > SAL_CALL 
createSpriteFromAnimation( const ::com::sun::star::uno::Reference< 
::com::sun::star::rendering::XAnimation >& animation ) throw 
(::com::sun::star::lang::IllegalArgumentException, 
::com::sun::star::uno::RuntimeException);
         virtual ::com::sun::star::uno::Reference< 
::com::sun::star::rendering::XAnimatedSprite > SAL_CALL 
createSpriteFromBitmaps( const ::com::sun::star::uno::Sequence< 
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap > >& 
animationBitmaps, ::sal_Int8 interpolationMode ) throw 
(::com::sun::star::lang::IllegalArgumentException, 
::com::sun::star::rendering::VolatileContentDestroyedException, 
::com::sun::star::uno::RuntimeException);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to