[Libreoffice-commits] core.git: vcl/win
Stephan Bergmann
sbergman at redhat.com
Mon Nov 17 02:02:34 PST 2014
vcl/win/source/gdi/winlayout.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d8a8149e1550ca435b35a421b97070266914f49f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 17 11:02:01 2014 +0100
warning C4189: local variable is initialized but not referenced
Change-Id: Id87af31e9b60d548959ba735b635ff3d154fc587
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 7f6fdc9..3321d0d 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -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);
More information about the Libreoffice-commits
mailing list