summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/source/win32/spsupp/spsuppHelper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/source/win32/spsupp/spsuppHelper.cxx b/shell/source/win32/spsupp/spsuppHelper.cxx
index 0c4834f960e0..57b7c9a8cf86 100644
--- a/shell/source/win32/spsupp/spsuppHelper.cxx
+++ b/shell/source/win32/spsupp/spsuppHelper.cxx
@@ -184,6 +184,8 @@ int ViewDocument(LPCWSTR DocumentLocation, LPCWSTR OpenType, LPCWSTR varProgID)
{
case Answer::Cancel:
return 1;
+ case Answer::ReadOnly:
+ break;
case Answer::Edit:
return EditDocument(DocumentLocation, L"0", varProgID);
}