mobilemessaging/unieditor/smsplugin/src/UniSmsPlugin.cpp
branchRCL_3
changeset 18 a9c7e5670d17
parent 9 1d7827e39b52
equal deleted inserted replaced
17:caea42e26caa 18:a9c7e5670d17
  1829     // need to set the input buffer to SMS buffer through iRichText(which is reference to SMS Buffer object)
  1829     // need to set the input buffer to SMS buffer through iRichText(which is reference to SMS Buffer object)
  1830     iRichText->Reset();
  1830     iRichText->Reset();
  1831     iRichText->InsertL(0, aBuf);
  1831     iRichText->InsertL(0, aBuf);
  1832     
  1832     
  1833     //call SMS stack API to get PDU info
  1833     //call SMS stack API to get PDU info
  1834     smsMsg.GetEncodingInfoL( aNumOfPDUs, numOfUnconvChars, numOfDowngradedChars, aNumOfRemainingChars );
  1834     TRAPD( err, smsMsg.GetEncodingInfoL( aNumOfPDUs, numOfUnconvChars, numOfDowngradedChars, aNumOfRemainingChars ) );
       
  1835     if (err != KErrNone)
       
  1836         {
       
  1837             User::Leave(err);
       
  1838         }
  1835     
  1839     
  1836 #ifdef USE_LOGGER
  1840 #ifdef USE_LOGGER
  1837     UNILOGGER_WRITE(" ---Get Encoding Info details:--- ");
  1841     UNILOGGER_WRITE(" ---Get Encoding Info details:--- ");
  1838     UNILOGGER_WRITEF(_L("      aNumPdus     : %d"), aNumOfPDUs);
  1842     UNILOGGER_WRITEF(_L("      aNumPdus     : %d"), aNumOfPDUs);
  1839     UNILOGGER_WRITEF(_L("      numOfUnconvChars : %d"), numOfUnconvChars);
  1843     UNILOGGER_WRITEF(_L("      numOfUnconvChars : %d"), numOfUnconvChars);