Imported Upstream version 0.8~alpha1
[platform/upstream/syncevolution.git] / src / client-api / src / c++ / common / syncml / core / PropParam.cpp
index 131715a..42b5410 100644 (file)
  * the words "Powered by Funambol".
  */
 #include "base/util/utils.h"
-#include <syncml/core/PropParam.h>
+#include "syncml/core/PropParam.h"
+#include "base/globalsdef.h"
+
+USE_NAMESPACE
 
 
 PropParam::PropParam() {
@@ -151,8 +154,8 @@ void PropParam::setValEnums(ArrayList* p0) {
         delete this->valEnums; this->valEnums = NULL;
     }
 
-    if (valEnums) {
-        this->valEnums = valEnums->clone();
+    if (p0) {
+        this->valEnums = p0->clone();
     }
 
 }