You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2007/04/26 11:08:41 UTC

svn commit: r532677 - /incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp

Author: robbinspg
Date: Thu Apr 26 02:08:39 2007
New Revision: 532677

URL: http://svn.apache.org/viewvc?view=rev&rev=532677
Log:
TUSCANY-1225 handle do set to NULL case when copying

Modified:
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp?view=diff&rev=532677&r1=532676&r2=532677
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp Thu Apr 26 02:08:39 2007
@@ -274,6 +274,8 @@
     {
 
         DataObject* theob = dataObject;
+        if (!theob) return 0;
+
         DataFactoryPtr fac = ((DataObjectImpl*)theob)->getDataFactory();
         if (!fac) return 0;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org