Fix bug 678853 - Get rid of annoying UTC/floating undefined messages. r=mmecca
authorPhilipp Kewisch <mozilla@kewis.ch>
Sun, 14 Aug 2011 13:28:00 +0200
changeset 8786 2a3da6d15c356719179a67a6519425cb0fb7b8b2
parent 8785 8cd8084c08e99aab5bfba38e22d168e63beb3ad4
child 8787 e7058e17b135112eeecc0c8ed2b8ff2fcf5f9926
push id158
push userbugzilla@standard8.plus.com
push dateTue, 27 Sep 2011 19:18:14 +0000
treeherdercomm-beta@e47b99c61e4d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmmecca
bugs678853
Fix bug 678853 - Get rid of annoying UTC/floating undefined messages. r=mmecca
calendar/base/src/calTimezoneService.js
--- a/calendar/base/src/calTimezoneService.js
+++ b/calendar/base/src/calTimezoneService.js
@@ -50,16 +50,22 @@ function calIntrinsicTimezone(tzid, comp
     this.tzid = tzid;
     this.mComponent = component;
     this.isUTC = false;
     this.isFloating = false;
     this.latitude = latitude;
     this.longitude = longitude;
 }
 calIntrinsicTimezone.prototype = {
+    QueryInterface: function QueryInterface(aIID) {
+        return doQueryInterface(this, calIntrinsicTimezone, aIID, [
+            Components.interfaces.calITimezone,
+            Components.interfaces.nsISupports
+        ]);
+    },
     toString: function calIntrinsicTimezone_toString() {
         return (this.component ? this.component.toString() : this.tzid);
     },
 
     get icalComponent() {
         var comp = this.mComponent;
         if (comp && (typeof(comp) == "string")) {
             this.mComponent = getIcsService().parseICS("BEGIN:VCALENDAR\r\n" + comp + "END:VCALENDAR\r\n", null)