summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unodoc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-09 15:24:21 +0200
committerNoel Grandin <noel@peralex.com>2015-04-10 09:48:06 +0200
commit89dd3f80685c66883b6ed4efbf369f5aa2dc292e (patch)
tree6edf1a741d079c88799df9219270798affd2ffa5 /sw/source/uibase/uno/unodoc.cxx
parent84482f5193ff0738563b6e91f66fc95fbc145de3 (diff)
convert SfxObjectCreateMode to scoped enum
and fix some dodgy usage in /sc in the process Change-Id: Ia2bee267df31aba431fc8cb81195bb83e5b64deb
Diffstat (limited to 'sw/source/uibase/uno/unodoc.cxx')
-rw-r--r--sw/source/uibase/uno/unodoc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unodoc.cxx b/sw/source/uibase/uno/unodoc.cxx
index a3b3d7c888a8..c2782f62db81 100644
--- a/sw/source/uibase/uno/unodoc.cxx
+++ b/sw/source/uibase/uno/unodoc.cxx
@@ -63,7 +63,7 @@ com_sun_star_comp_Writer_WebDocument_get_implementation(::com::sun::star::uno::X
{
SolarMutexGuard aGuard;
SwGlobals::ensure();
- SfxObjectShell* pShell = new SwWebDocShell( SFX_CREATE_MODE_STANDARD );
+ SfxObjectShell* pShell = new SwWebDocShell( SfxObjectCreateMode::STANDARD );
uno::Reference< uno::XInterface > model( pShell->GetModel() );
model->acquire();
return model.get();
@@ -76,7 +76,7 @@ com_sun_star_comp_Writer_GlobalDocument_get_implementation(::com::sun::star::uno
{
SolarMutexGuard aGuard;
SwGlobals::ensure();
- SfxObjectShell* pShell = new SwGlobalDocShell( SFX_CREATE_MODE_STANDARD );
+ SfxObjectShell* pShell = new SwGlobalDocShell( SfxObjectCreateMode::STANDARD );
uno::Reference< uno::XInterface > model( pShell->GetModel() );
model->acquire();
return model.get();