From d89fa2bd4944625e2dbe56d5709a3f126db24f21 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 16 May 2017 21:48:02 +0300 Subject: 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 --- sc/source/ui/view/hdrcont.cxx | 2 +- sc/source/ui/view/prevwsh.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui') diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx index e63f539b56fd..de94d101b6b9 100644 --- a/sc/source/ui/view/hdrcont.cxx +++ b/sc/source/ui/view/hdrcont.cxx @@ -64,7 +64,7 @@ ScHeaderControl::ScHeaderControl( vcl::Window* pParent, SelectionEngine* pSelect bInRefMode ( false ), pTabView ( pTab ) { - // --- RTL --- no default mirroring for this window, the spreadsheet itself + // RTL: no default mirroring for this window, the spreadsheet itself // is also not mirrored // mirror the vertical window for correct border drawing // table layout depends on sheet format, not UI setting, so the diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx index 06a4d189cf29..37097ed5474e 100644 --- a/sc/source/ui/view/prevwsh.cxx +++ b/sc/source/ui/view/prevwsh.cxx @@ -124,7 +124,7 @@ void ScPreviewShell::Construct( vcl::Window* pParent ) pHorScroll = VclPtr::Create(pParent, WB_HSCROLL ); pVerScroll = VclPtr::Create(pParent, WB_VSCROLL); - // SSA: --- RTL --- no mirroring for horizontal scrollbars + // RTL: no mirroring for horizontal scrollbars pHorScroll->EnableRTL( false ); pHorScroll->SetEndScrollHdl( LINK( this, ScPreviewShell, ScrollHandler ) ); -- cgit