sensorservices/orientationssy/src/SsyProperty.cpp
changeset 63 09d657f1ee00
parent 29 e5a0aab53f3f
--- a/sensorservices/orientationssy/src/SsyProperty.cpp	Wed Aug 18 11:03:14 2010 +0300
+++ b/sensorservices/orientationssy/src/SsyProperty.cpp	Thu Sep 02 21:48:26 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();