Permalink
Browse files

Dont report error for column count failure (PR #6744)

When getting the column count in word fails, do not report it as an error. The call to get the column count fails when in comments.

Fixes #6711
  • Loading branch information...
1 parent a61bf36 commit 4e91a0711c99b4599f698416f7cb8c706731a6a5 @feerrenrut feerrenrut committed on GitHub Jan 31, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 nvdaHelper/remote/winword.cpp
@@ -866,7 +866,7 @@ void detectAndGenerateColumnFormatXML(IDispatchPtr pDispatchRange, wostringstrea
res = _com_dispatch_raw_propget( pDispatchTextColumns, wdDISPID_TEXTCOLUMNS_COUNT,
VT_I4, &count);
if( res != S_OK || count < 0){
- LOG_ERROR(L"error getting textColumn count. res: "<< res
+ LOG_DEBUG(L"Unable to get textColumn count. We may be in a 'comment'. res: "<< res
<< " count: " << count);
return;
}

0 comments on commit 4e91a07

Please sign in to comment.