Bug 459776 - date formatter is unused

This changeset removes a small part of code that places does in startup that is
not used or needed.
r=dietrich
This commit is contained in:
Shawn Wilsher 2008-10-27 18:52:22 -04:00
Родитель c2c58ede5b
Коммит cf3da2eccf
2 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -462,10 +462,6 @@ nsNavHistory::Init()
getter_AddRefs(mBundle));
NS_ENSURE_SUCCESS(rv, rv);
// date formatter
mDateFormatter = do_CreateInstance(NS_DATETIMEFORMAT_CONTRACTID, &rv);
NS_ENSURE_SUCCESS(rv, rv);
// initialize idle timer
InitializeIdleTimer();

Просмотреть файл

@ -250,8 +250,6 @@ public:
nsIStringBundle* GetBundle()
{ return mBundle; }
nsICollation* GetCollation();
nsIDateTimeFormat* GetDateFormatter()
{ return mDateFormatter; }
void GetStringFromName(const PRUnichar* aName, nsACString& aResult);
// returns true if history has been disabled
@ -634,7 +632,6 @@ protected:
// localization
nsCOMPtr<nsIStringBundle> mBundle;
nsCOMPtr<nsICollation> mCollation;
nsCOMPtr<nsIDateTimeFormat> mDateFormatter;
// annotation service : MAY BE NULL!
//nsCOMPtr<mozIAnnotationService> mAnnotationService;