diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2017-07-17 19:06:31 +0200 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2017-07-17 23:56:38 +0200 |
commit | 6d65d020ea85fd8087e6491ad715df7630f4451f (patch) | |
tree | e53f69319679cc75f1a5deee8eda21623fe62e62 | |
parent | 54a605fdef2ca12ac47c35e527950a980f7945fe (diff) |
Embedded documents: don't open in web view mode
Change-Id: I621d4ba4223c1b389acdb63bb6f8f10ef3f3ba48
Reviewed-on: https://gerrit.libreoffice.org/40077
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 2e7546b146ef..5e58c085519c 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -314,14 +314,13 @@ void SwTransferable::AddSupportedFormats() } } -void SwTransferable::InitOle( SfxObjectShell* pDoc, SwDoc& rDoc ) +void SwTransferable::InitOle( SfxObjectShell* pDoc, SwDoc& ) { //set OleVisArea. Upper left corner of the page and size of //RealSize in Twips. const Size aSz( OLESIZE ); SwRect aVis( Point( DOCUMENTBORDER, DOCUMENTBORDER ), aSz ); pDoc->SetVisArea( aVis.SVRect() ); - rDoc.getIDocumentSettingAccess().set(DocumentSettingId::BROWSE_MODE, true ); } uno::Reference < embed::XEmbeddedObject > SwTransferable::FindOLEObj( sal_Int64& nAspect ) const |