From 7ca019817d3978611565c895cf1a95420ef76cef Mon Sep 17 00:00:00 2001 From: David Surovell Date: Thu, 23 Mar 2006 00:41:09 +0000 Subject: [PATCH] fixed compilation issue in prior checkin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dobjcmn.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index 5ecf2fc088..dd27a6032d 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -247,8 +247,6 @@ bool wxTextDataObject::GetDataHere(const wxDataFormat& format, void *buf) const return false; wxCharBuffer buffer = GetConv(format).cWX2MB( GetText().c_str() ); - if ( buffer == NULL ) - return false; strcpy( (char*)buf, buffer ); @@ -262,8 +260,6 @@ bool wxTextDataObject::SetData(const wxDataFormat& format, return false; wxWCharBuffer buffer = GetConv(format).cMB2WX( (const char*)buf ); - if ( buffer == NULL ) - return false; SetText( buffer ); -- 2.45.2