diff --git a/mozilla/calendar/libxpical/oeICalImpl.cpp b/mozilla/calendar/libxpical/oeICalImpl.cpp index 1fd95343160..c6383577620 100644 --- a/mozilla/calendar/libxpical/oeICalImpl.cpp +++ b/mozilla/calendar/libxpical/oeICalImpl.cpp @@ -1661,7 +1661,7 @@ oeICalImpl::RemoveTodoObserver(oeIICalTodoObserver *observer) PRUint32 observercount; m_todoobserverlist->Count( &observercount ); for( unsigned int i=0; itmpobserver; + nsCOMPtrtmpobserver; m_todoobserverlist->QueryElementAt( i, NS_GET_IID(oeIICalTodoObserver), getter_AddRefs(tmpobserver)); if( observer == tmpobserver ) { m_todoobserverlist->RemoveElementAt( i );