summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-05-11 15:49:12 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-05-11 15:49:12 +0100
commit3c60431fff066cb65ac3a89ece8c455d8b013564 (patch)
treea449a18e76e6b8fc585b0b9417e695920e86a638
parentc6238797733a607054e84f6620ae479ae77c7d82 (diff)
gallery: make transparency backgrounds look more attractive.
Change-Id: Id9bd1905f7608c54861ff3931e56b94afc5688ba
-rw-r--r--svx/source/gallery2/galctrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx
index 6811e95b2bdb..12980888bbfd 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 );