diff options
author | David Tardon <dtardon@redhat.com> | 2014-11-03 16:13:41 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-11-03 18:48:36 +0100 |
commit | 074cbe02eef9c4cd34cc87d496fb1d1e6c349383 (patch) | |
tree | 694dffdf775f31d7136578036531ab341bae79b2 /dbaccess | |
parent | dbf093aa59db9b8ccb312f7a5cd2a997f704dc90 (diff) |
coverity#1242510 arguments in wrong order
Change-Id: I898f3e383f5ff3451860e49b0ea00111ed1b52c2
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/RelationControl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx index 5d60e63c9b51..f9754e419a31 100644 --- a/dbaccess/source/ui/control/RelationControl.cxx +++ b/dbaccess/source/ui/control/RelationControl.cxx @@ -348,7 +348,7 @@ namespace dbaui OUString aText = const_cast< ORelationControl*>(this)->GetCellText( m_nDataPos, nColumnId ); Point aPos( rRect.TopLeft() ); - Size aTextSize( GetDataWindow().GetTextHeight(),GetDataWindow().GetTextWidth( aText )); + Size aTextSize( GetDataWindow().GetTextWidth( aText ), GetDataWindow().GetTextHeight() ); if( aPos.X() < rRect.Right() || aPos.X() + aTextSize.Width() > rRect.Right() || aPos.Y() < rRect.Top() || aPos.Y() + aTextSize.Height() > rRect.Bottom() ) |