Bug 1126447: Annotate overriding functions as MOZ_OVERRIDE in nsDateTimeFormatUnix.h. r=ehsan
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 27 Jan 2015 11:53:26 -0800
changeset 239492 f579eea5dc026f64bda0510ded041ffd9197f3a6
parent 239491 8c4a67f63f9b15643a565cfe72244e372540ac1a
child 239493 e79c310fc6594fa66d9a760e7c925d366b8d359a
push id500
push userjoshua.m.grant@gmail.com
push dateThu, 29 Jan 2015 01:48:36 +0000
reviewersehsan
bugs1126447
milestone38.0a1
Bug 1126447: Annotate overriding functions as MOZ_OVERRIDE in nsDateTimeFormatUnix.h. r=ehsan
intl/locale/unix/nsDateTimeFormatUnix.h
--- a/intl/locale/unix/nsDateTimeFormatUnix.h
+++ b/intl/locale/unix/nsDateTimeFormatUnix.h
@@ -19,38 +19,38 @@ class nsDateTimeFormatUnix : public nsID
 public: 
   NS_DECL_THREADSAFE_ISUPPORTS 
 
   // performs a locale sensitive date formatting operation on the time_t parameter
   NS_IMETHOD FormatTime(nsILocale* locale, 
                         const nsDateFormatSelector  dateFormatSelector, 
                         const nsTimeFormatSelector timeFormatSelector, 
                         const time_t  timetTime, 
-                        nsAString& stringOut); 
+                        nsAString& stringOut) MOZ_OVERRIDE;
 
   // performs a locale sensitive date formatting operation on the struct tm parameter
   NS_IMETHOD FormatTMTime(nsILocale* locale, 
                         const nsDateFormatSelector  dateFormatSelector, 
                         const nsTimeFormatSelector timeFormatSelector, 
                         const struct tm*  tmTime, 
-                        nsAString& stringOut); 
+                        nsAString& stringOut) MOZ_OVERRIDE;
 
   // performs a locale sensitive date formatting operation on the PRTime parameter
   NS_IMETHOD FormatPRTime(nsILocale* locale, 
                           const nsDateFormatSelector  dateFormatSelector, 
                           const nsTimeFormatSelector timeFormatSelector, 
                           const PRTime  prTime, 
-                          nsAString& stringOut);
+                          nsAString& stringOut) MOZ_OVERRIDE;
 
   // performs a locale sensitive date formatting operation on the PRExplodedTime parameter
   NS_IMETHOD FormatPRExplodedTime(nsILocale* locale, 
                                   const nsDateFormatSelector  dateFormatSelector, 
                                   const nsTimeFormatSelector timeFormatSelector, 
                                   const PRExplodedTime*  explodedTime, 
-                                  nsAString& stringOut); 
+                                  nsAString& stringOut) MOZ_OVERRIDE;
 
 
   nsDateTimeFormatUnix() {mLocale.Truncate();mAppLocale.Truncate();}
 
 private:
   virtual ~nsDateTimeFormatUnix() {}
 
   // init this interface to a specified locale