btobexprofiles/obexsendservices/obexservicesendutils/src/BTSOPPController.cpp
changeset 40 997690c3397a
parent 37 91746b151f97
--- a/btobexprofiles/obexsendservices/obexservicesendutils/src/BTSOPPController.cpp	Fri Jun 11 13:48:51 2010 +0300
+++ b/btobexprofiles/obexsendservices/obexservicesendutils/src/BTSOPPController.cpp	Wed Jun 23 18:23:52 2010 +0300
@@ -218,7 +218,7 @@
                 }            
             }
         }
-    iObserverPtr->LaunchProgressNoteL( iClient, iListPtr->ObjectListSizeL(),iListPtr->ObjectCount() );
+    iObserverPtr->LaunchProgressNoteL( iClient, iListPtr->ObjectCount() );
     iFileIndex = 0;
     UpdateProgressNoteL();    
     Send();
@@ -230,7 +230,7 @@
     TInt size;
     RBuf filename;
     iListPtr->ObjectAtL( iFileIndex ).Size(size);
-    filename.CreateL(255);
+    filename.CreateL(KMaxFileName);
     iListPtr->ObjectAtL( iFileIndex ).Name(filename);
     iObserverPtr->UpdateProgressNoteL(size,iFileIndex,filename);
     filename.Close();