Update to KeePassLib version 2.45

This commit is contained in:
Geoffroy BONNEVILLE
2020-05-12 12:46:25 +02:00
parent 107e009807
commit 2e1cc97738
21 changed files with 166 additions and 65 deletions

View File

@@ -19,6 +19,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.InteropServices;
@@ -273,7 +274,13 @@ namespace ModernKeePassLib.Native
return strOutput;
}
#if DEBUG
catch(Exception ex) { Debug.Assert(ex is ThreadAbortException); }
catch(ThreadAbortException) { }
catch(Win32Exception exW)
{
Debug.Assert((strAppPath == ClipboardU.XSel) &&
(exW.NativeErrorCode == 2)); // XSel not found
}
catch(Exception) { Debug.Assert(false); }
#else
catch(Exception) { }
#endif