summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-17 11:02:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-17 11:02:01 +0100
commitd8a8149e1550ca435b35a421b97070266914f49f (patch)
tree063cfc1ac0f5d342b73bc0ea0ef300d9df99a7bb /vcl/win
parente43f692ef908fd2bc180a5e16fb363ec6bb7eb09 (diff)
warning C4189: local variable is initialized but not referenced
Change-Id: Id87af31e9b60d548959ba735b635ff3d154fc587
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/gdi/winlayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 7f6fdc9729e2..3321d0d6a2da 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);