diff options
author | David Tardon <dtardon@redhat.com> | 2014-11-03 16:17:03 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-11-03 18:48:37 +0100 |
commit | 0148c43aeaa73951af09fdefe173e408aa7dc0c5 (patch) | |
tree | c81c41e5838c2f9ba509e485ef957ae61f7a5ead /reportdesign/source | |
parent | coverity#1242514 arguments in wrong order (diff) | |
download | core-0148c43aeaa73951af09fdefe173e408aa7dc0c5.tar.gz core-0148c43aeaa73951af09fdefe173e408aa7dc0c5.zip |
I think this should be Left()
Change-Id: I8588809ce636107b4e9a51c5a1f4bc7af3f23f0d
Diffstat (limited to 'reportdesign/source')
-rw-r--r-- | reportdesign/source/ui/dlg/GroupsSorting.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx index fe4096ff179f..dfe92281328e 100644 --- a/reportdesign/source/ui/dlg/GroupsSorting.cxx +++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx @@ -553,7 +553,7 @@ void OFieldExpressionControl::PaintCell( OutputDevice& rDev, const Rectangle& rR Point aPos( rRect.TopLeft() ); Size aTextSize( GetDataWindow().GetTextWidth( aText ), GetDataWindow().GetTextHeight() ); - if( aPos.X() < rRect.Right() || aPos.X() + aTextSize.Width() > rRect.Right() || + if( aPos.X() < rRect.Left() || aPos.X() + aTextSize.Width() > rRect.Right() || aPos.Y() < rRect.Top() || aPos.Y() + aTextSize.Height() > rRect.Bottom() ) rDev.SetClipRegion(vcl::Region(rRect)); |