summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@poste.it>2011-12-04 23:55:56 +0100
committerTor Lillqvist <tlillqvist@suse.com>2011-12-05 12:30:54 +0200
commit363728c52f41cbf3f5d4a1d5ead08fbde161ca55 (patch)
tree301a2863bcacd332d64b67005fae34d3e2632d85 /vcl
parentca0c44628911ba23d92a0d3b08556cedcf282ec1 (diff)
DecoView - a more descriptive comment about mirroring issues with checkmarks
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/decoview.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index 1958cd62923c..c249a869b064 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() ),