svx/source/gallery2/galctrl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3c60431fff066cb65ac3a89ece8c455d8b013564
Author: Michael Meeks <michael.me...@suse.com>
Date:   Sat May 11 15:49:12 2013 +0100

    gallery: make transparency backgrounds look more attractive.
    
    Change-Id: Id9bd1905f7608c54861ff3931e56b94afc5688ba

diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx
index 6811e95..1298088 100644
--- a/svx/source/gallery2/galctrl.cxx
+++ b/svx/source/gallery2/galctrl.cxx
@@ -380,8 +380,8 @@ void GalleryIconView::UserDraw( const UserDrawEvent& rUDEvt 
)
 
                 if(bTransparent)
                 {
-                    // draw checkered background
-                    drawCheckered(*pDev, aPos, aSize);
+                    // draw checkered background for full rectangle.
+                    drawCheckered(*pDev, rRect.TopLeft(), rRect.GetSize());
                 }
 
                 aGraphic.Draw( pDev, aPos, aSize );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to