uifw/EikStd/srvuisrc/EIKSRVUI.CPP
changeset 30 56e9a0aaad89
parent 26 62ef28f7b435
child 40 7165f928e888
--- a/uifw/EikStd/srvuisrc/EIKSRVUI.CPP	Thu May 27 13:07:04 2010 +0300
+++ b/uifw/EikStd/srvuisrc/EIKSRVUI.CPP	Fri Jun 11 13:54:51 2010 +0300
@@ -126,7 +126,6 @@
 
 #include <hb/hbcore/hbsymbianvariant.h>
 #include <hb/hbcore/hbdevicedialogsymbian.h>
-#include <apaidpartner.h>
 
 #if defined(__WINS__)
 const TInt KEikServSideBarWidth = 35;
@@ -629,12 +628,13 @@
 
 EXPORT_C void CEikServAppUiBase::HandleThreadExitL(RThread& aThread)
     {
+    _LIT(KAppArcServerThread, "AppArcServerThread");
     if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died
         {
         aThread.Close(); // need to Close() before restarting with same name
         iServerToRestart |= EAlwlSvr; // restarted under active object
         }
-    else if (aThread.Name()==NameApaServServerThread()) // AppArc server died
+    else if (aThread.Name() == KAppArcServerThread) // AppArc server died
         {
         aThread.Close();
         iServerToRestart|=EApaSvr;