mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Small code cleanup
This commit is contained in:
parent
0202c2fa8b
commit
152eb86ae4
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,6 @@ using System.Threading;
|
|||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Integration;
|
||||
using Greenshot.Configuration;
|
||||
using Greenshot.Experimental;
|
||||
using Greenshot.Forms;
|
||||
using Greenshot.Help;
|
||||
using Greenshot.Helpers;
|
||||
|
|
|
@ -18,18 +18,18 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using Greenshot.Configuration;
|
||||
using GreenshotPlugin.Core;
|
||||
using GreenshotPlugin.IniFile;
|
||||
using log4net;
|
||||
|
||||
namespace Greenshot.Experimental {
|
||||
namespace Greenshot.Helpers {
|
||||
/// <summary>
|
||||
/// Description of RssFeedHelper.
|
||||
/// </summary>
|
||||
|
|
|
@ -227,6 +227,7 @@ namespace GreenshotOfficePlugin.OfficeExport
|
|||
}
|
||||
try
|
||||
{
|
||||
// When called for Outlook, the follow error is created: This object model command is not available in e-mail
|
||||
using var activeWindow = DisposableCom.Create(wordDocument.ComObject.ActiveWindow);
|
||||
activeWindow.ComObject.Activate();
|
||||
using var activePane = DisposableCom.Create(activeWindow.ComObject.ActivePane);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue