warning C4189: local variable is initialized but not referenced

Change-Id: Id87af31e9b60d548959ba735b635ff3d154fc587
This commit is contained in:
Stephan Bergmann
2014-11-17 11:02:01 +01:00
parent e43f692ef9
commit d8a8149e15

View File

@@ -244,9 +244,9 @@ void WinLayout::DrawText(SalGraphics& rGraphics) const
aRects.mnDestHeight = height;
pImpl->PreDraw();
COLORREF color = GetTextColor(hDC);
SalColor salColor = MAKE_SALCOLOR(GetRValue(color), GetGValue(color), GetBValue(color));
// TODO when we have it:
// COLORREF color = GetTextColor(hDC);
// SalColor salColor = MAKE_SALCOLOR(GetRValue(color), GetGValue(color), GetBValue(color));
// pImpl->DrawSolidColorWithMask(salColor, aTexture, aRects);
// and kill the following interim thing:
pImpl->DrawTexture(aTexture, aRects);