mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 18:57:28 -07:00
Fixed error when exporting to outlook meetings (this needs to be enabled in the greenshot.ini)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2579 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
261679b031
commit
6629d383c9
1 changed files with 4 additions and 1 deletions
|
@ -192,7 +192,10 @@ namespace Greenshot.Interop.Office {
|
|||
// Make sure the inspector is activated, only this way the word editor is active!
|
||||
// This also ensures that the window is visible!
|
||||
inspector.Activate();
|
||||
bool isTextFormat = OlBodyFormat.olFormatPlain.Equals(mailItem.BodyFormat);
|
||||
bool isTextFormat = false;
|
||||
if (isMail) {
|
||||
isTextFormat = OlBodyFormat.olFormatPlain.Equals(mailItem.BodyFormat);
|
||||
}
|
||||
if (isAppointment || !isTextFormat) {
|
||||
// Check for wordmail, if so use the wordexporter
|
||||
// http://msdn.microsoft.com/en-us/library/dd492012%28v=office.12%29.aspx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue