summaryrefslogtreecommitdiff
path: root/cppuhelper/source/access_control.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/access_control.cxx')
-rw-r--r--cppuhelper/source/access_control.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/cppuhelper/source/access_control.cxx b/cppuhelper/source/access_control.cxx
index fcac34619aae..8be3101ff3e5 100644
--- a/cppuhelper/source/access_control.cxx
+++ b/cppuhelper/source/access_control.cxx
@@ -47,8 +47,7 @@ AccessControl::AccessControl( Reference< XComponentContext > const & xContext )
{
if (! (xContext->getValueByName( str_ac_singleton() ) >>= m_xController))
{
- throw SecurityException(
- "no access controller!", Reference< XInterface >() );
+ throw SecurityException( "no access controller!" );
}
}
@@ -59,8 +58,7 @@ AccessControl::AccessControl(
{
if (! m_xController.is())
{
- throw SecurityException(
- "no access controller!", Reference< XInterface >() );
+ throw SecurityException( "no access controller!" );
}
}
@@ -70,8 +68,7 @@ AccessControl::AccessControl( AccessControl const & ac )
{
if (! m_xController.is())
{
- throw SecurityException(
- "no access controller!", Reference< XInterface >() );
+ throw SecurityException( "no access controller!" );
}
}