sc/source/ui/view/tabview.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 0581190bc4e5502d93aa695365e7bf82b23d1ecf Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon Mar 25 10:20:12 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Mar 25 21:35:30 2024 +0100 cid#1594675 Logically dead code Change-Id: Icaf621e7a2e163f969ac7b6a1d6d04bf9251ea56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165277 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index e809ceb11249..79bd6d1e67ff 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -1154,10 +1154,12 @@ void ScTabView::ScrollHdl(ScrollAdaptor* pScroll) aHelpStr = ScResId(STR_ROW) + " " + OUString::number(nScrollPos + 1); + // note that bLayoutRTL is always false here, because bLayoutRTL depends on bHoriz + // show quicktext always inside sheet area - aRect.SetLeft( bLayoutRTL ? (aPos.X() + aSize.Width() + 8) : (aPos.X() - 8) ); + aRect.SetLeft(aPos.X() - 8); aRect.SetTop( aMousePos.Y() ); - nAlign = (bLayoutRTL ? QuickHelpFlags::Left : QuickHelpFlags::Right) | QuickHelpFlags::VCenter; + nAlign = QuickHelpFlags::Right | QuickHelpFlags::VCenter; } aRect.SetRight( aRect.Left() ); aRect.SetBottom( aRect.Top() );