mmsengine/mmsserver/src/mmslog.cpp
branchRCL_3
changeset 27 7fdbb852d323
parent 26 ebe688cedc25
--- a/mmsengine/mmsserver/src/mmslog.cpp	Tue Aug 31 15:11:31 2010 +0300
+++ b/mmsengine/mmsserver/src/mmslog.cpp	Wed Sep 01 12:31:54 2010 +0100
@@ -20,13 +20,16 @@
 
 
 // INCLUDE FILES
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <logwraplimits.h>
+#endif
 #include    <badesca.h>
 #include    <msvids.h>
 #include    <logcli.h>
 #include    <logview.h>
 // common component
 #include    <sysutil.h>
-#include    "LogsApiConsts.h"
+#include    <LogsApiConsts.h>
 
 // MMS specific
 #include    "mmsconst.h"
@@ -613,23 +616,23 @@
     // This will mark the entry as "sent" or "delivered" or "failed"
     // or something similar...
     TBool doNotUpdate = EFalse;
-     if ( iLogUpdatedEvent->Status().CompareF( KLogsMsgReadText ) == 0 )
-         {
-         // If the status is already "read" we don't change it
-         // This is a case where a delivery report arrives after a read report.
-         // Highly unlikely, but possible
-         doNotUpdate = ETrue;
- #ifndef _NO_MMSS_LOGGING_
-         TMmsLogger::Log( _L("Status already updated to read - do not update again"));
- #endif
-         }
-     else
-         {
-         iLogUpdatedEvent->SetStatus( iLogEvent->Status() );
-         // Clear the event read flag in case the user has cleared the log view
-         // We want this to become visible again.
-         iLogUpdatedEvent->ClearFlags( KLogEventRead );
-         }
+    if ( iLogUpdatedEvent->Status().CompareF( KLogsMsgReadText ) == 0 )
+        {
+        // If the status is already "read" we don't change it
+        // This is a case where a delivery report arrives after a read report.
+        // Highly unlikely, but possible
+        doNotUpdate = ETrue;
+#ifndef _NO_MMSS_LOGGING_
+        TMmsLogger::Log( _L("Status already updated to read - do not update again"));
+#endif
+        }
+    else
+        {
+        iLogUpdatedEvent->SetStatus( iLogEvent->Status() );
+        // Clear the event read flag in case the user has cleared the log view
+        // We want this to become visible again.
+        iLogUpdatedEvent->ClearFlags( KLogEventRead );
+        }
     // if we have a message id, store it
     if ( ( iLogUpdatedEvent->Data().Length() <= 0 ) &&
         ( iLogEvent->Data().Length() > 0 ) )