[PATCH] fdo#63323 fix the comment position when the mouse over cell
Faisal al-otaibi (via Code Review)
gerrit at gerrit.libreoffice.org
Tue May 28 02:32:10 PDT 2013
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 at kacst.edu.sa>
More information about the LibreOffice
mailing list