summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-28 11:40:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-28 13:14:02 +0000
commit8cc7aaa6bff7ed7807c8b867c3f9939472b787f7 (patch)
tree93ca9134289d4b62307ed3b96371ed6e1eba15c0 /sc
parent11ea31b5e468e3fd0865d0b4d1137dc514e36cc5 (diff)
coverity#705450 Self assignment
Change-Id: I839e77594f6f7dbc516e0e6d08b1cf2517f96ec4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/prevwsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index b84d81b1e544..bbfe54601f61 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -479,7 +479,7 @@ IMPL_LINK (ScPreviewShell,ScrollHandler, ScrollBar* ,pScroll )
aRect.Left() = aPos.X() - 8;
aRect.Top() = aMousePos.Y();
aRect.Right() = aRect.Left();
- aRect.Top() = aRect.Top();
+ aRect.Bottom() = aRect.Top();
nAlign = QUICKHELP_BOTTOM|QUICKHELP_CENTER;
Help::ShowQuickHelp( pScroll->GetParent(), aRect, aHelpStr, nAlign );
}