diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-05-16 21:48:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-05-18 08:06:38 +0300 |
commit | d89fa2bd4944625e2dbe56d5709a3f126db24f21 (patch) | |
tree | af8e22727ecb7f7d69acae2fa9c2430a6db28d43 /vcl/win/window | |
parent | e5736b9e4ded62cdeaa49649763392779d312e0a (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/win/window')
-rw-r--r-- | vcl/win/window/salframe.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index 3fafe257b4fe..e972e9bc5684 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -1291,7 +1291,6 @@ void WinSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, if ( !(nPosSize & SWP_NOMOVE) && ::GetParent( mhWnd ) ) { - // --- RTL --- (mirror window pos) RECT aParentRect; GetClientRect( ImplGetParentHwnd( mhWnd ), &aParentRect ); if( AllSettings::GetLayoutRTL() ) @@ -3149,7 +3148,6 @@ static long ImplHandleMouseMsg( HWND hWnd, UINT nMsg, if ( nEvent == SalEvent::MouseButtonDown ) UpdateWindow( hWnd ); - // --- RTL --- (mirror mouse pos) if( AllSettings::GetLayoutRTL() ) aMouseEvt.mnX = pFrame->maGeometry.nWidth-1-aMouseEvt.mnX; @@ -3233,7 +3231,6 @@ static long ImplHandleWheelMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPar if ( GetKeyState( VK_MENU ) & 0x8000 ) aWheelEvt.mnCode |= KEY_MOD2; - // --- RTL --- (mirror mouse pos) if( AllSettings::GetLayoutRTL() ) aWheelEvt.mnX = pFrame->maGeometry.nWidth-1-aWheelEvt.mnX; |