Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/4069
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/69/4069/1
fdo#63323 fix the comment position when the mouse over cell
fix the X position when the sheet are RTL.
Change-Id: I9b38a840fb17a70e1ba60d46b8c83b7e498501e1
---
M sc/source/ui/view/gridwin5.cxx
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index 7055c22..756f75c 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -222,6 +222,10 @@
MapMode aDrawMode = GetDrawMapMode();
Point aCurPosHmm = PixelToLogic(aScreenPos, aDrawMode );
Point aGridOff = aCurPosHmm -aOldPos;
+ // fdo#63323 fix the X Position for the showing comment when
+ // the mouse over the cell when the sheet are RTL
+ if ( pDoc->IsNegativePage(nTab))
+ aGridOff.setX(aCurPosHmm.getX() + aOldPos.getX());
pNoteMarker->SetGridOff( aGridOff );
}
}
--
To view, visit https://gerrit.libreoffice.org/4069
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b38a840fb17a70e1ba60d46b8c83b7e498501e1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Faisal al-otaibi <fmalotaibi@kacst.edu.sa>
Context
- [PATCH] fdo#63323 fix the comment position when the mouse over cell · Faisal al-otaibi (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.