mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9
This commit is contained in:
commit
0323705513
276 changed files with 5382 additions and 3666 deletions
|
@ -601,11 +601,11 @@ namespace Greenshot.Interop.Office {
|
|||
[FieldOffset(0)]
|
||||
public uint propTag;
|
||||
[FieldOffset(4)]
|
||||
public uint alignPad;
|
||||
public readonly uint alignPad;
|
||||
[FieldOffset(8)]
|
||||
public IntPtr Value;
|
||||
[FieldOffset(8)]
|
||||
public long filler;
|
||||
public readonly long filler;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -770,7 +770,7 @@ namespace Greenshot.Interop.Office {
|
|||
Marshal.FreeHGlobal(propValue.Value);
|
||||
IMAPIProp mapiProp = (IMAPIProp)Marshal.GetTypedObjectForIUnknown(IUnknown, typeof(IMAPIProp));
|
||||
return mapiProp.SaveChanges(4) == 0;
|
||||
} catch (System.Exception ex) {
|
||||
} catch (Exception ex) {
|
||||
LOG.Error(ex);
|
||||
return false;
|
||||
} finally {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue