use black as text color

Change-Id: I109ef0217f3dbe13691e6be60a0a5e2c89280e45
This commit is contained in:
Markus Mohrhard
2014-05-12 05:23:49 +02:00
parent a0842e53b9
commit 1ddc1744c5

View File

@@ -73,7 +73,7 @@ Text::Text(OpenGL3DRenderer* pRenderer, const OUString& rStr, sal_uInt32 nId):
// Convert OUString to BitmapEx. // Convert OUString to BitmapEx.
VirtualDevice aDevice(*Application::GetDefaultDevice(), 0, 0); VirtualDevice aDevice(*Application::GetDefaultDevice(), 0, 0);
Font aFont = aDevice.GetFont(); Font aFont = aDevice.GetFont();
aFont.SetColor(COL_WHITE); aFont.SetColor(COL_BLACK);
aDevice.SetFont(aFont); aDevice.SetFont(aFont);
aDevice.Erase(); aDevice.Erase();
aDevice.SetOutputSizePixel(Size(20,12)); aDevice.SetOutputSizePixel(Size(20,12));