summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2022-01-04 12:55:45 +0530
committerDennis Francis <dennis.francis@collabora.com>2022-02-04 19:21:53 +0100
commit226847e385d021bf2feacdfa796b3eb7023d6f0f (patch)
tree66e2a6d1f4b2bc25c691f4f289d764971df8ee2e /include
parent0be8060a856f86fdfb42372e58073586b29c93fa (diff)
lokCalcRTL: fix editing of shape text
Inform editeng that negated document x coordinates are used in this case and ensure that editeng generated invalidation rectangles always have positive X coordinates. Conflicts: sc/source/ui/view/gridwin4.cxx Change-Id: I2e450707ce02f7bcd8e4d299f857c37ebbd5e2c6 (cherry picked from commit 0fe02bb99e5dfa8379a49de75683fc350e4c4dbd) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129360 Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/editview.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index f610f5ee6bf5..61b659dfb152 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -372,6 +372,10 @@ public:
void SuppressLOKMessages(bool bSet);
bool IsSuppressLOKMessages() const;
+
+ /// To inform editeng that negated x document coordinates are in use.
+ void SetNegativeX(bool bSet);
+ bool IsNegativeX() const;
};
#endif // INCLUDED_EDITENG_EDITVIEW_HXX