--- a/usbengines/usbotgwatcher/src/cusbnotenotifier.cpp Fri Mar 12 15:48:40 2010 +0200
+++ b/usbengines/usbotgwatcher/src/cusbnotenotifier.cpp Mon Mar 15 12:44:42 2010 +0200
@@ -110,12 +110,13 @@
if (IsActive())
{
- Panic( ENotifierIsActiveAlready);
+ PANIC( ENotifierIsActiveAlready);
return;
- }
-
+ }
+
iNotifIdPckg() = iUsbNoteNotifier.iNotifId;
- iNotifier.StartNotifierAndGetResponse(iStatus, iUsbNoteNotifier.iCat, iNotifIdPckg, iRes);
+ iNotifier.StartNotifierAndGetResponse(iStatus, iUsbNoteNotifier.iCat,
+ iNotifIdPckg, iRes);
SetActive();
}
@@ -130,7 +131,7 @@
LOG1( "iStatus = %d" , iStatus.Int());
// if error occured, deal with it in RunError
- User::LeaveIfError(iStatus.Int());
+ LEAVEIFERROR(iStatus.Int());
iNotifier.CancelNotifier(iUsbNoteNotifier.iCat);