[Libreoffice-commits] core.git: chart2/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Sun May 11 20:28:39 PDT 2014


 chart2/source/view/main/3DChartObjects.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1ddc1744c5e93baba6d8b2207d66c8c8645e79c5
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Mon May 12 05:23:49 2014 +0200

    use black as text color
    
    Change-Id: I109ef0217f3dbe13691e6be60a0a5e2c89280e45

diff --git a/chart2/source/view/main/3DChartObjects.cxx b/chart2/source/view/main/3DChartObjects.cxx
index e23c38b..4581d74 100644
--- a/chart2/source/view/main/3DChartObjects.cxx
+++ b/chart2/source/view/main/3DChartObjects.cxx
@@ -73,7 +73,7 @@ Text::Text(OpenGL3DRenderer* pRenderer, const OUString& rStr, sal_uInt32 nId):
     // Convert OUString to BitmapEx.
     VirtualDevice aDevice(*Application::GetDefaultDevice(), 0, 0);
     Font aFont = aDevice.GetFont();
-    aFont.SetColor(COL_WHITE);
+    aFont.SetColor(COL_BLACK);
     aDevice.SetFont(aFont);
     aDevice.Erase();
     aDevice.SetOutputSizePixel(Size(20,12));


More information about the Libreoffice-commits mailing list