--- a/usbengines/usbotgwatcher/src/cusbhosteventnotificationobserver.cpp Fri Mar 19 09:48:52 2010 +0200
+++ b/usbengines/usbotgwatcher/src/cusbhosteventnotificationobserver.cpp Fri Apr 16 16:02:21 2010 +0300
@@ -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);
}
-
}
-
}
// ---------------------------------------------------------------------------