diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-26 17:02:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-26 17:06:43 +0100 |
commit | 49f29c11520440b03ea35cec256e7aba20774700 (patch) | |
tree | 36ac8b6b31d3c467ec8227286a9799279cb604d3 /vcl/win | |
parent | 2a3521cdb2290e8d06ffffcdabe4a923018e64ee (diff) |
wchar_t confusion (clang-cl)
Change-Id: I5b245cfcca21e68391ee20f7b6af4de9e1c203e3
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index c2b6a9720f09..77e032f81b50 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -312,7 +312,7 @@ bool WinFontInstance::AddChunkOfGlyphs(bool bRealGlyphIndices, int nGlyphIndex, } else { - if (!GetTextExtentExPointW(hDC, aGlyphIndices.data(), nCount, 0, NULL, NULL, &aSize)) + if (!GetTextExtentExPointW(hDC, reinterpret_cast<wchar_t *>(aGlyphIndices.data()), nCount, 0, NULL, NULL, &aSize)) { SAL_WARN("vcl.gdi", "GetTextExtentExPoint failed: " << WindowsErrorString(GetLastError())); SelectObject(hDC, hOrigFont); |