sensorservices/orientationssy/src/SsyProperty.cpp
changeset 59 0f7422b6b602
parent 29 e5a0aab53f3f
--- a/sensorservices/orientationssy/src/SsyProperty.cpp	Tue Aug 10 14:46:45 2010 +0300
+++ b/sensorservices/orientationssy/src/SsyProperty.cpp	Mon Aug 23 14:47:20 2010 +0300
@@ -52,7 +52,11 @@
 
     for ( TInt index = 0; index < aNumberOfProperties ; index++ )
         {
-        iChannelProperties.Append( aProperties[ index ] );
+        if(iChannelProperties.Append( aProperties[ index ])!= KErrNone )
+        {
+         iChannelProperties.Reset();
+         break;
+        }
         }
 
     SSY_TRACE_OUT();