From 14301589d796b60eb219d52575ff89b629f67f26 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Mon, 7 Nov 2016 14:49:07 +0100 Subject: style fix for cppcheck redundantCondition Change-Id: I5d02c6f4c6b411c23a6de43374884a76e1c408fe Reviewed-on: https://gerrit.libreoffice.org/30667 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- dtrans/source/win32/dtobj/XTDataObject.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dtrans') diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx index 2ddaf315ab2b..3ca9325a2d3c 100644 --- a/dtrans/source/win32/dtobj/XTDataObject.cxx +++ b/dtrans/source/win32/dtobj/XTDataObject.cxx @@ -148,7 +148,7 @@ void SAL_CALL renderDataAndSetupStgMedium( const sal_Int8* lpStorage, const FORMATETC& fetc, sal_uInt32 nInitStgSize, sal_uInt32 nBytesToTransfer, STGMEDIUM& stgmedium ) { - OSL_PRECOND( !nInitStgSize || nInitStgSize && (nInitStgSize >= nBytesToTransfer), + OSL_PRECOND( !nInitStgSize || (nInitStgSize >= nBytesToTransfer), "Memory size less than number of bytes to transfer" ); CStgTransferHelper stgTransfHelper( AUTO_INIT ); -- cgit