[XForms] Handle empty instances. Bug 321876, r=aaronr+smaug

git-svn-id: svn://10.0.0.236/trunk@197840 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
allan%beaufour.dk
2006-05-17 08:06:12 +00:00
parent 5f23d2465e
commit fde2f3b7cb
4 changed files with 57 additions and 12 deletions

View File

@@ -60,6 +60,10 @@ RegisterXFormsModule(nsIComponentManager *aCompMgr,
const char *aComponentType,
const nsModuleComponentInfo *aInfo)
{
#ifdef DEBUG
printf("XFORMS Module: Registering\n");
#endif
nsCOMPtr<nsICategoryManager> catman =
do_GetService(NS_CATEGORYMANAGER_CONTRACTID);
@@ -93,6 +97,10 @@ UnregisterXFormsModule(nsIComponentManager *aCompMgr,
const char *aRegistryLocation,
const nsModuleComponentInfo *aInfo)
{
#ifdef DEBUG
printf("XFORMS Module: Unregistering\n");
#endif
nsCOMPtr<nsICategoryManager> catman =
do_GetService(NS_CATEGORYMANAGER_CONTRACTID);