diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-14 17:11:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-14 17:11:26 +0000 |
commit | 5a9b87fc0f4417c8437348b68cd6e4b6fd849e39 (patch) | |
tree | 3fcf01c50a4533448dee6004e5b7f35add23bea3 /svtools | |
parent | e170f0858721545d6b0e22d12cc1f5bbc6b2e57d (diff) |
coverity#1242527 Arguments in wrong order
doesn't seem to matter too much, I guess its only the top left
corner that really matters for tooltips.
This is the vertical scrollbar as used in e.g. writer->view->datasources
Change-Id: I5bd6e563a9f02edae9ca166f073556c55878826c
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/datwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index e4412fb3ac60..ebf6219919bc 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -726,7 +726,7 @@ void BrowserScrollBar::Tracking( const TrackingEvent& rTEvt ) else aTip += OUString::number(GetRangeMax()); - Rectangle aRect( GetPointerPosPixel(), Size( GetTextHeight(), GetTextWidth( aTip ) ) ); + Rectangle aRect(GetPointerPosPixel(), Size(GetTextWidth(aTip), GetTextHeight())); if ( _nTip ) Help::UpdateTip( _nTip, this, aRect, aTip ); else |