summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unodoc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-08 09:23:17 +0200
committerNoel Grandin <noel@peralex.com>2016-09-08 09:23:40 +0200
commit579426f798580093214fa8a7cc648318642c7e12 (patch)
tree1e4b543a9010134e384d43d2bbbd1a97e3f3725b /sw/source/uibase/uno/unodoc.cxx
parent847e004e65ec3c35acff607588d15cd75a84f121 (diff)
loplugin:constantparam in sw
Change-Id: Ic49d1c3c7b57fb213964ddc21b0f774c762aad94
Diffstat (limited to 'sw/source/uibase/uno/unodoc.cxx')
-rw-r--r--sw/source/uibase/uno/unodoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unodoc.cxx b/sw/source/uibase/uno/unodoc.cxx
index aded8e90c06c..929ebcc94944 100644
--- a/sw/source/uibase/uno/unodoc.cxx
+++ b/sw/source/uibase/uno/unodoc.cxx
@@ -60,7 +60,7 @@ com_sun_star_comp_Writer_WebDocument_get_implementation(css::uno::XComponentCont
{
SolarMutexGuard aGuard;
SwGlobals::ensure();
- SfxObjectShell* pShell = new SwWebDocShell( SfxObjectCreateMode::STANDARD );
+ SfxObjectShell* pShell = new SwWebDocShell;
uno::Reference< uno::XInterface > model( pShell->GetModel() );
model->acquire();
return model.get();