diff options
author | David Tardon <dtardon@redhat.com> | 2014-11-03 16:19:37 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-11-03 18:48:37 +0100 |
commit | b82055f9d8a39bcf76b83e97451ae51829bcb219 (patch) | |
tree | 30c88255ead9e4b5824434169794c0aada86335c /dbaccess | |
parent | 0148c43aeaa73951af09fdefe173e408aa7dc0c5 (diff) |
I think this should be Left()
Change-Id: I603215180e86ca28b94b129378ec48b7658e37b5
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/TableGrantCtrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/TableGrantCtrl.cxx b/dbaccess/source/ui/control/TableGrantCtrl.cxx index 7a2582e064ce..ced37d667a8c 100644 --- a/dbaccess/source/ui/control/TableGrantCtrl.cxx +++ b/dbaccess/source/ui/control/TableGrantCtrl.cxx @@ -405,7 +405,7 @@ void OTableGrantControl::PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_Int32 nWidth = GetDataWindow().GetTextWidth( aText ); sal_Int32 nHeight = GetDataWindow().GetTextHeight(); - if( aPos.X() < rRect.Right() || aPos.X() + nWidth > rRect.Right() || + if( aPos.X() < rRect.Left() || aPos.X() + nWidth > rRect.Right() || aPos.Y() < rRect.Top() || aPos.Y() + nHeight > rRect.Bottom() ) { rDev.SetClipRegion(vcl::Region(rRect)); |