Skip to content
Permalink
Browse files

Log a warning instead of error when disabling Word screen updating fa…

…ils (#9282)
  • Loading branch information...
leonardder authored and michaelDCurran committed Feb 25, 2019
1 parent 1415fb7 commit 40385fb3db82a255373c571757bf32e45987ea28
Showing with 2 additions and 2 deletions.
  1. +2 −2 nvdaHelper/remote/winword.cpp
@@ -71,7 +71,7 @@ class ScreenUpdatingDisabler {
}
HRESULT res=_com_dispatch_raw_propput(arg_pDispatchApplication,wdDISPID_APPLICATION_SCREENUPDATING,VT_BOOL,false);
if(res!=S_OK) {
LOG_ERROR(L"application.screenUpdating false failed with code "<<res);
LOG_WARNING(L"application.screenUpdating false failed with code "<<res);
return;
}
pDispatchApplication=arg_pDispatchApplication;
@@ -81,7 +81,7 @@ class ScreenUpdatingDisabler {
if(!pDispatchApplication) return;
HRESULT res=_com_dispatch_raw_propput(pDispatchApplication,wdDISPID_APPLICATION_SCREENUPDATING,VT_BOOL,true);
if(res!=S_OK) {
LOG_ERROR(L"application.screenUpdating true failed with code "<<res);
LOG_WARNING(L"application.screenUpdating true failed with code "<<res);
}
}

0 comments on commit 40385fb

Please sign in to comment.
You can’t perform that action at this time.