summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2022-01-04 12:55:45 +0530
committerAndras Timar <andras.timar@collabora.com>2022-01-11 11:18:09 +0100
commit0fe02bb99e5dfa8379a49de75683fc350e4c4dbd (patch)
tree4601ca376bccbf779e73cb7b34eea20f2adaae68 /svx
parentbb37b46182bcff2f10edcc590cedbc4bb5820c4b (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. Change-Id: I2e450707ce02f7bcd8e4d299f857c37ebbd5e2c6
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdedxv.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index a4d43f97b8c6..c6af7e8c409e 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -868,6 +868,9 @@ OutlinerView* SdrObjEditView::ImpMakeOutlinerView(vcl::Window* pWin, OutlinerVie
pOutlView->SetWindow(pWin);
}
+ if (mbNegativeX)
+ pOutlView->GetEditView().SetNegativeX(mbNegativeX);
+
// disallow scrolling
EVControlBits nStat = pOutlView->GetControlWord();
nStat &= ~EVControlBits::AUTOSCROLL;