summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2/NServices.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/evoab2/NServices.cxx')
-rw-r--r--connectivity/source/drivers/evoab2/NServices.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/evoab2/NServices.cxx b/connectivity/source/drivers/evoab2/NServices.cxx
index 555837d15a28..8c28d56c36c9 100644
--- a/connectivity/source/drivers/evoab2/NServices.cxx
+++ b/connectivity/source/drivers/evoab2/NServices.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.
@@ -76,9 +77,9 @@ struct ProviderRequest
{
xRet = creator( xServiceManager, sImplementationName,Factory, Services,0);
}
- catch(::com::sun::star::uno::Exception)
+ catch(const ::com::sun::star::uno::Exception&)
{
- OSL_ENSURE(0,"Service Creation Exception");
+ OSL_FAIL("Service Creation Exception");
}
return xRet.is();
}
@@ -87,7 +88,6 @@ struct ProviderRequest
};
//---------------------------------------------------------------------------------------
-
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
const sal_Char **ppEnvTypeName,
uno_Environment ** /*ppEnv*/
@@ -122,3 +122,4 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
return pRet;
};
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */