summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/dochdl/swdtflvr.cxx3
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