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 /sw/source/uibase | |
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 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/docvw/srcedtw.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/uiview/scroll.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx index 6ccfee3d61b1..dde4240f0262 100644 --- a/sw/source/uibase/docvw/srcedtw.cxx +++ b/sw/source/uibase/docvw/srcedtw.cxx @@ -507,12 +507,12 @@ void SwSrcEditWindow::CreateTextEngine() // create Scrollbars m_pHScrollbar = VclPtr<ScrollBar>::Create(this, WB_3DLOOK |WB_HSCROLL|WB_DRAG); - m_pHScrollbar->EnableRTL( false ); // --- RTL --- no mirroring for scrollbars + m_pHScrollbar->EnableRTL( false ); m_pHScrollbar->SetScrollHdl(LINK(this, SwSrcEditWindow, ScrollHdl)); m_pHScrollbar->Show(); m_pVScrollbar = VclPtr<ScrollBar>::Create(this, WB_3DLOOK |WB_VSCROLL|WB_DRAG); - m_pVScrollbar->EnableRTL( false ); // --- RTL --- no mirroring for scrollbars + m_pVScrollbar->EnableRTL( false ); m_pVScrollbar->SetScrollHdl(LINK(this, SwSrcEditWindow, ScrollHdl)); m_pHScrollbar->EnableDrag(); m_pVScrollbar->Show(); diff --git a/sw/source/uibase/uiview/scroll.cxx b/sw/source/uibase/uiview/scroll.cxx index e8474e16bab4..70a69d9d1046 100644 --- a/sw/source/uibase/uiview/scroll.cxx +++ b/sw/source/uibase/uiview/scroll.cxx @@ -31,7 +31,7 @@ SwScrollbar::SwScrollbar( vcl::Window *pWin, bool bHoriz ) : bVisible(false), bSizeSet(false) { - // SSA: --- RTL --- no mirroring for horizontal scrollbars + // No mirroring for horizontal scrollbars if( bHoriz ) EnableRTL( false ); } |