mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
[KOE-176] Testing code
This commit is contained in:
parent
c8325300b1
commit
140611b461
@ -253,9 +253,9 @@ namespace Acacia.Stubs.OutlookWrappers
|
|||||||
dwType = (uint)PropType.UNICODE,
|
dwType = (uint)PropType.UNICODE,
|
||||||
lpszW = ptr
|
lpszW = ptr
|
||||||
};
|
};
|
||||||
olk.SetProp(propTag, &val);
|
//olk.SetProp(propTag, &val);
|
||||||
Logger.Instance.Trace(this, "SetAccountProp6: {0}: {1}", propTag, value);
|
Logger.Instance.Trace(this, "SetAccountProp6: {0}: {1}", propTag, value);
|
||||||
olk.SaveChanges(0);
|
//olk.SaveChanges(0);
|
||||||
Logger.Instance.Trace(this, "SetAccountProp7: {0}: {1}", propTag, value);
|
Logger.Instance.Trace(this, "SetAccountProp7: {0}: {1}", propTag, value);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -267,9 +267,9 @@ namespace Acacia.Stubs.OutlookWrappers
|
|||||||
dwType = (uint)PropType.LONG,
|
dwType = (uint)PropType.LONG,
|
||||||
dw = (uint)value
|
dw = (uint)value
|
||||||
};
|
};
|
||||||
olk.SetProp(propTag, &val);
|
//olk.SetProp(propTag, &val);
|
||||||
Logger.Instance.Trace(this, "SetAccountProp9: {0}: {1}", propTag, value);
|
Logger.Instance.Trace(this, "SetAccountProp9: {0}: {1}", propTag, value);
|
||||||
olk.SaveChanges(0);
|
//olk.SaveChanges(0);
|
||||||
Logger.Instance.Trace(this, "SetAccountPropA: {0}: {1}", propTag, value);
|
Logger.Instance.Trace(this, "SetAccountPropA: {0}: {1}", propTag, value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -119,8 +119,11 @@ namespace Acacia.Stubs.OutlookWrappers
|
|||||||
}, null);
|
}, null);
|
||||||
|
|
||||||
if (x != null)
|
if (x != null)
|
||||||
|
{
|
||||||
|
Logger.Instance.Trace(this, "Rethrowing exception from UI send: {0}", x);
|
||||||
throw x;
|
throw x;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_sync.Post((_) =>
|
_sync.Post((_) =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user