[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - desktop/source

Andras Timar andras.timar at collabora.com
Sun Dec 6 05:23:18 PST 2015


 desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7ccb4d356de521a4158e680cfb2a77102a78819b
Author: Andras Timar <andras.timar at collabora.com>
Date:   Sun Dec 6 14:25:56 2015 +0100

    Revert "LOK_DEBUG=1 light red square transparency"
    
    It does not work this way, VCL does not support true ARGB
    output devices.
    
    This reverts commit 79f97ee0135f632431531a07c71d07cd93c9e346.

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 620060c..d3fc402 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -950,7 +950,7 @@ void doc_paintTile (LibreOfficeKitDocument* pThis,
         Rectangle aRect(0, 0, 5, 5);
         aRect = pDevice->PixelToLogic(aRect);
         pDevice->Push(PushFlags::FILLCOLOR | PushFlags::LINECOLOR);
-        pDevice->SetFillColor(TRGB_COLORDATA(0xC0,0xFF,0x00,0x00));
+        pDevice->SetFillColor(COL_LIGHTRED);
         pDevice->SetLineColor();
         pDevice->DrawRect(aRect);
         pDevice->Pop();


More information about the Libreoffice-commits mailing list