diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-26 16:54:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-26 17:06:42 +0100 |
commit | b41b66c3eae2d69cf9a477d3f3f82b4a3ca46abe (patch) | |
tree | e38bff2f4c00ac41edae705a6d932e7773cb40b0 /fpicker | |
parent | a567413c30e7797afea106d499c0cbb35171085f (diff) |
-Werror,-Wsign-compare (clang-cl)
According to MSDN: "If [StretchDIBits] fails, or no scan lines are copied, the
return value is 0."
Change-Id: I882b97b55f92618f0163f8829bf779a35b5a1452
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/filepicker/dibpreview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/win32/filepicker/dibpreview.cxx b/fpicker/source/win32/filepicker/dibpreview.cxx index 0d2ebf4ee9a7..48d24cf54eb2 100644 --- a/fpicker/source/win32/filepicker/dibpreview.cxx +++ b/fpicker/source/win32/filepicker/dibpreview.cxx @@ -241,7 +241,7 @@ void SAL_CALL CDIBPreview::onPaint(HWND hWnd, HDC hDC) 0, 0, cxDib, cyDib, pBits, pbmi, DIB_RGB_COLORS, SRCCOPY); - OSL_ASSERT(GDI_ERROR != GDIError); + OSL_ASSERT(0 != GDIError); // paint the border RECT rc; |