diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 5601f4c5d43b..422b56074ae4 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -2775,10 +2775,13 @@ void ScViewData::GetPosFromPixel( tools::Long nClickX, tools::Long nClickY, ScSp if (mrDoc.IsLayoutRTL(nForTab)) { - // mirror horizontal position - if (pView) - aScrSize.setWidth( pView->GetGridWidth(eHWhich) ); - nClickX = aScrSize.Width() - 1 - nClickX; + if (!comphelper::LibreOfficeKit::isActive()) + { + // mirror horizontal position + if (pView) + aScrSize.setWidth( pView->GetGridWidth(eHWhich) ); + nClickX = aScrSize.Width() - 1 - nClickX; + } } SCCOL nStartPosX = GetPosX(eHWhich, nForTab); |