diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-12 09:49:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-12 11:18:51 +0000 |
commit | 75367918028dffb7a137d29644a7a6e1f7af7c9b (patch) | |
tree | ec796f2d28c0cecc355670ed5a70571b8df7cbd9 /sfx2 | |
parent | a70a62c013318b45eb23d6451d442bc6f702a282 (diff) |
in extremis dump Ole10Native payload and launch system viewer on it
so embedded plain text documents/source code/etc in word documents can be viewed
by us under Linux
Change-Id: I19e19619070841fe097c70297adc2e8b96d1c581
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 815d0f2c3fc5..38266466a82d 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -932,7 +932,7 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb ) } catch ( embed::UnreachableStateException& ) { - if ( nVerb == 0 || nVerb == embed::EmbedVerbs::MS_OLEVERB_OPEN ) + if (nVerb == embed::EmbedVerbs::MS_OLEVERB_PRIMARY || nVerb == embed::EmbedVerbs::MS_OLEVERB_OPEN || embed::EmbedVerbs::MS_OLEVERB_SHOW) { // a workaround for the default verb, usually makes sense for alien objects try |