diff options
Diffstat (limited to 'ucb/source/ucp/odma/odma_services.cxx')
-rwxr-xr-x[-rw-r--r--] | ucb/source/ucp/odma/odma_services.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ucb/source/ucp/odma/odma_services.cxx b/ucb/source/ucp/odma/odma_services.cxx index 0f5666e2bb53..e93674cd6ad9 100644..100755 --- a/ucb/source/ucp/odma/odma_services.cxx +++ b/ucb/source/ucp/odma/odma_services.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -32,9 +33,7 @@ #include <com/sun/star/registry/XRegistryKey.hpp> #include "odma_contentprops.hxx" #include "odma_provider.hxx" -#include "odma_lib.hxx" -using namespace rtl; using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::registry; @@ -80,10 +79,8 @@ extern "C" void * SAL_CALL component_getFactory( if ( ::odma::ContentProvider::getImplementationName_Static(). compareToAscii( pImplName ) == 0 ) { - if(::odma::LoadLibrary()) + if(::odma::DMSsAvailable()) xFactory = ::odma::ContentProvider::createServiceFactory( xSMgr ); - else - OSL_ASSERT(!"Could not load library!"); } ////////////////////////////////////////////////////////////////////// @@ -97,3 +94,4 @@ extern "C" void * SAL_CALL component_getFactory( return pRet; } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |