diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-31 12:35:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-31 13:53:43 +0200 |
commit | 60638b092d1da63ec99886e50435ad57cc290d71 (patch) | |
tree | 7e61c8b7922ec2b6b44506586741c7623e2ace79 /sw/source/uibase/uno/unotxdoc.cxx | |
parent | ce7484ffff5ccb7c41975da1ac453c6cbd49531f (diff) |
convert SW_SERVICE constants to scoped enum
Change-Id: I731d93f9ab77e60880365c8e2f5e62221d8da5ad
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index b1737ca3b30d..5bc38ae1f418 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -1622,8 +1622,8 @@ css::uno::Reference<css::uno::XInterface> SwXTextDocument::create( { throw RuntimeException(); } - const sal_uInt16 nType = SwXServiceProvider::GetProviderType(rServiceName); - if (nType != SW_SERVICE_INVALID) + const SwServiceType nType = SwXServiceProvider::GetProviderType(rServiceName); + if (nType != SwServiceType::Invalid) { return SwXServiceProvider::MakeInstance(nType, *pDocShell->GetDoc()); } |