usbengines/usbotgwatcher/src/cusbhosteventnotificationobserver.cpp
branchRCL_3
changeset 7 ff9df6630274
parent 6 a15c582fbf97
--- a/usbengines/usbotgwatcher/src/cusbhosteventnotificationobserver.cpp	Fri Mar 12 15:48:40 2010 +0200
+++ b/usbengines/usbotgwatcher/src/cusbhosteventnotificationobserver.cpp	Mon Mar 15 12:44:42 2010 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+ * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
  * All rights reserved.
  * This component and the accompanying materials are made available
  * under the terms of "Eclipse Public License v1.0"
@@ -88,7 +88,7 @@
     if (KErrNotFound != iObservers.Find(&aObserver))
         {
         LOG("Observer already exists" );
-        Panic( EObserverAlreadyExists);
+        PANIC( EObserverAlreadyExists);
         return;
         }
 
@@ -115,7 +115,7 @@
     if (KErrNotFound == i)
         {
         LOG("Observer not found");
-        Panic( ECanNotFindHostEventNotificationObserver);
+        PANIC( ECanNotFindHostEventNotificationObserver);
         return;
         }
 
@@ -210,8 +210,8 @@
                         {
                         iObservers[i]->DriverLoadPartialSuccessL(dei);
                         }
+
                     break;
-
                     }
                 case EDriverLoadFailure:
                     {
@@ -226,7 +226,7 @@
                 default:
                     {
                     LOG("WrongDriverLoadStatus" );
-                    Panic( EWrongDriverLoadStatus);
+                    PANIC( EWrongDriverLoadStatus);
                     }
                 }
             break;
@@ -235,11 +235,9 @@
         default:
             {
             LOG( "WrongHostEventNotification" );
-            Panic( EWrongHostEventNotification);
+            PANIC( EWrongHostEventNotification);
             }
-
         }
-
     }
 
 // ---------------------------------------------------------------------------