diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 14:17:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 22:35:11 +0200 |
commit | 5b4a9cd357bf5767e8dde36249f76631d6f4beca (patch) | |
tree | 7b446c59a71e61e008ee1f5c37fe02554f6333b8 /shell | |
parent | caeb7b141280a65e60525f11a7e6514b76e12e11 (diff) |
-Werror,-Wswitch (clang-cl)
Change-Id: I3d40104d6822ebb80ebec44b36bcdfa5c7e953ed
Reviewed-on: https://gerrit.libreoffice.org/79960
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/spsupp/spsuppHelper.cxx | 2 |
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); } |