[PATCH 2/2] DecoView - a more descriptive comment about mirroring issues with checkmarks

Matteo Casalin matteo.casalin at poste.it
Sun Dec 4 14:55:56 PST 2011


---
 vcl/source/window/decoview.cxx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index 1958cd6..c249a86 100644
--- a/vcl/source/window/decoview.cxx
+++ b/vcl/source/window/decoview.cxx
@@ -339,6 +339,8 @@ void ImplDrawSymbol( OutputDevice* pDev, Rectangle nRect, const SymbolType eType
                 // #106953# never mirror checkmarks
                 if ( pDev->ImplHasMirroredGraphics() && pDev->IsRTLEnabled() )
                 {
+                    // Draw a mirrored checkmark so that it looks "normal" in a
+                    // mirrored graphics device (double mirroring!)
                     pDev->DrawLine( Point( nRect.Right(), nRect.Bottom()-n3 ),
                                     Point( nRect.Right()-n3, nRect.Bottom() ) );
                     pDev->DrawLine( Point( nRect.Right()-n3, nRect.Bottom() ),
-- 
1.7.5.4


--------------020804030605000803000909--


More information about the LibreOffice mailing list