anchor.diff:        case WordExitAction of
         aExit :
         begin
  -        // document wasnt opened, so jus exit function.
  +        // document wasnt opened, so just exit function.
           Result.Successful := false;
           Result.OutputFile := '';
           Exit();
  
positive.code:             begin
               log('SKIPPED - Document has TOC: ' + fileToConvert , STANDARD);
               Result.Error := 'SKIPPED - Document has TOC:';
                WordExitAction := aClose;
              end;
            end;
          except
          on E: Exception do
          begin
            // if Errro contains EOleException The password is incorrect.
            // then it is password protected and should be skipped.
            if ContainsStr(E.Message, 'The password is incorrect' ) then
            begin
  
negative.code: ﻿unit WordUtils;
  (*************************************************************
  Copyright © 2012 Toby Allen (http://github.com/tobya)
  
  