summaryrefslogtreecommitdiff
path: root/vcl/osx/salframeview.mm
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-05-16 21:48:02 +0300
committerTor Lillqvist <tml@collabora.com>2017-05-18 08:06:38 +0300
commitd89fa2bd4944625e2dbe56d5709a3f126db24f21 (patch)
treeaf8e22727ecb7f7d69acae2fa9c2430a6db28d43 /vcl/osx/salframeview.mm
parente5736b9e4ded62cdeaa49649763392779d312e0a (diff)
Clean up a set of RTL-related comments
It is fairly pointless to have a comment like "--- RTL --- (mirror mouse pos)" in front of code that obviously is related to RTL anyway, like "if( AllSettings::GetLayoutRTL() )". Also, the fact that many comment were exactly the same indicates that they has been added as an in-line version control change marker. In other places, comments were informational, but no need for them to include yet another metasyntax, "--- RTL ---". Just "RTL:" works fine. Change-Id: I20feef308ed8ac9d32a8bf440fc20b442753c4ff
Diffstat (limited to 'vcl/osx/salframeview.mm')
-rw-r--r--vcl/osx/salframeview.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index 15d5733cd882..50cd5bc4e722 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -638,7 +638,6 @@ private:
aEvent.mnButton = nButton;
aEvent.mnCode = aEvent.mnButton | nModMask;
- // --- RTL --- (mirror mouse pos)
if( AllSettings::GetLayoutRTL() )
aEvent.mnX = pDispatchFrame->maGeometry.nWidth-1-aEvent.mnX;
@@ -800,7 +799,6 @@ private:
aEvent.mnCode |= KEY_MOD1; // we want zooming, no scrolling
aEvent.mbDeltaIsPixel = TRUE;
- // --- RTL --- (mirror mouse pos)
if( AllSettings::GetLayoutRTL() )
aEvent.mnX = mpFrame->maGeometry.nWidth-1-aEvent.mnX;
@@ -859,7 +857,6 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
aEvent.mnCode = ImplGetModifierMask( mpFrame->mnLastModifierFlags );
aEvent.mbDeltaIsPixel = TRUE;
- // --- RTL --- (mirror mouse pos)
if( AllSettings::GetLayoutRTL() )
aEvent.mnX = mpFrame->maGeometry.nWidth-1-aEvent.mnX;
@@ -922,7 +919,6 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
aEvent.mnCode = ImplGetModifierMask( mpFrame->mnLastModifierFlags );
aEvent.mbDeltaIsPixel = FALSE;
- // --- RTL --- (mirror mouse pos)
if( AllSettings::GetLayoutRTL() )
aEvent.mnX = mpFrame->maGeometry.nWidth-1-aEvent.mnX;