diff options
-rw-r--r-- | svx/source/gallery2/galctrl.cxx | 4 |
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 ); |