[Libreoffice-commits] core.git: svtools/source
Caolán McNamara
caolanm at redhat.com
Fri Nov 14 09:13:49 PST 2014
svtools/source/brwbox/datwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5a9b87fc0f4417c8437348b68cd6e4b6fd849e39
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Nov 14 17:11:26 2014 +0000
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
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index e4412fb..ebf6219 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
More information about the Libreoffice-commits
mailing list