vcl/win/dtrans/APNDataObject.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c88ce0eb999f86ecde956c9444d9970b73e70551 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri May 24 13:57:13 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri May 24 17:14:13 2024 +0200 fix up assert Change-Id: Ib7276af8adc1e8e8957486b6e95db4005ce45b08 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168020 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/vcl/win/dtrans/APNDataObject.cxx b/vcl/win/dtrans/APNDataObject.cxx index e13561a87bc3..47dd481080b9 100644 --- a/vcl/win/dtrans/APNDataObject.cxx +++ b/vcl/win/dtrans/APNDataObject.cxx @@ -296,7 +296,7 @@ STDMETHODIMP CAPNDataObject::EnumDAdvise( IEnumSTATDATA ** ppenumAdvise ) HRESULT CAPNDataObject::MarshalIDataObjectIntoCurrentApartment( IDataObject** ppIDataObj ) { - assert(nullptr && ppIDataObj); + assert(ppIDataObj); *ppIDataObj = nullptr; HRESULT hr = E_FAIL;