summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-26 16:54:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-26 17:06:42 +0100
commitb41b66c3eae2d69cf9a477d3f3f82b4a3ca46abe (patch)
treee38bff2f4c00ac41edae705a6d932e7773cb40b0 /fpicker
parenta567413c30e7797afea106d499c0cbb35171085f (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.cxx2
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;