diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:47:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:47:00 +0200 |
commit | 0705f7da48bf36949dd323ba0103db86708e00e7 (patch) | |
tree | 7083e0abcc5b9a17700498b97520cd8c8faa72e8 /sw/source/filter/ww8/ww8par.cxx | |
parent | 85ce992473a435497014f856f95f3914783f8d72 (diff) |
loplugin:defaultparams
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index f39e0fa00f95..77409e519607 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -577,8 +577,7 @@ SdrObject* SwMSDffManager::ImportOLE( long nOLEId, uno::Reference < embed::XStorage > xDstStg; if( GetOLEStorageName( nOLEId, sStorageName, xSrcStg, xDstStg )) { - tools::SvRef<SotStorage> xSrc = xSrcStg->OpenSotStorage( sStorageName, - STREAM_READWRITE| StreamMode::SHARE_DENYALL ); + tools::SvRef<SotStorage> xSrc = xSrcStg->OpenSotStorage( sStorageName ); OSL_ENSURE(rReader.m_pFormImpl, "No Form Implementation!"); ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape; if ( (!(rReader.m_bIsHeader || rReader.m_bIsFooter)) && @@ -6083,7 +6082,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportDOC(const OUString &rURL SwGlobals::ensure(); SfxObjectShellLock xDocSh(new SwDocShell(SfxObjectCreateMode::INTERNAL)); - xDocSh->DoInitNew(0); + xDocSh->DoInitNew(); SwDoc *pD = static_cast<SwDocShell*>((&xDocSh))->GetDoc(); SwNodeIndex aIdx( |