diff -r 2717213c588a -r 171fae344dd4 fbs/fontandbitmapserver/sfbs/FBSFONT.CPP --- a/fbs/fontandbitmapserver/sfbs/FBSFONT.CPP Tue Jun 22 15:21:29 2010 +0300 +++ b/fbs/fontandbitmapserver/sfbs/FBSFONT.CPP Fri Jul 16 11:45:55 2010 +0300 @@ -85,7 +85,9 @@ EXPORT_C void CFbsFont::Reset() { if (iHandle) + { iFbs->SendCommand(EFbsMessClose,iHandle); + } iHandle = 0; } @@ -115,7 +117,7 @@ if (!aFontHandle) return KErrUnknown; // close any existing handle - Reset(); + Reset(); // ask server to create the duplicate handle TPckgBuf tfpckg; TIpcArgs args(aFontHandle,&tfpckg); @@ -137,7 +139,9 @@ EXPORT_C TInt CFbsFont::Handle() const { if (!iHandle) + { return 0; + } return iServerHandle; } @@ -727,6 +731,9 @@ provide and/or return information to/from the particular extension function, defaults to NULL. @return Integer return value from extension function, a system wide error code. +@panic FBSCLI 31, in debug builds only, if iExtra is NULL when it must not be. +@panic FBSCLI 38, in debug builds only, if a reserved error code is returned + from an extended function. @internalTechnology @released */