зеркало из https://github.com/mozilla/gecko-dev.git
Fix bogus warning when serializing events with a floating timezone to ICS (bug 303983), r=shaver.
This commit is contained in:
Родитель
cfe6f6a0e5
Коммит
bd7db8b452
|
@ -635,7 +635,8 @@ calIcalComponent::Set##Attrname(calIDateTime *dt) \
|
||||||
dt->ToIcalTime(&itt); \
|
dt->ToIcalTime(&itt); \
|
||||||
nsCAutoString tzid; \
|
nsCAutoString tzid; \
|
||||||
if (NS_SUCCEEDED(dt->GetTimezone(tzid))) { \
|
if (NS_SUCCEEDED(dt->GetTimezone(tzid))) { \
|
||||||
if (!tzid.IsEmpty() && !tzid.EqualsLiteral("UTC")) { \
|
if (!tzid.IsEmpty() && !tzid.EqualsLiteral("UTC") && \
|
||||||
|
!tzid.EqualsLiteral("floating")) { \
|
||||||
wantTz = PR_TRUE; \
|
wantTz = PR_TRUE; \
|
||||||
nsCOMPtr<calIICSService> ics = do_GetService(kCalICSService); \
|
nsCOMPtr<calIICSService> ics = do_GetService(kCalICSService); \
|
||||||
nsCOMPtr<calIIcalComponent> tz; \
|
nsCOMPtr<calIIcalComponent> tz; \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче