Fixed compile errors

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2447 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2013-01-25 12:35:45 +00:00
commit c9f87937f6
3 changed files with 4 additions and 4 deletions

View file

@ -47,7 +47,7 @@ namespace Greenshot.Interop.Office {
for (int i = 1; i <= wordApplication.Documents.Count; i++) {
using (IWordDocument wordDocument = wordApplication.Documents.item(i)) {
if (wordDocument.ActiveWindow.Caption.StartsWith(wordCaption)) {
return InsertIntoExistingDocument(wordApplication, wordDocument, tmpFile);
return InsertIntoExistingDocument(wordApplication, wordDocument, tmpFile, null, null);
}
}
}