summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2001-12-17 11:43:08 +0000
committerDaniel Boelzle <dbo@openoffice.org>2001-12-17 11:43:08 +0000
commitcd5437714aa7b0f6e95ab0a78a14f9aec198cc0a (patch)
tree4627fddfa9dc1e8d3fd976d888740f966fbd15bc /cppuhelper
parent3d9e8689d09839fe5c75464a88f99bc1f2b9652e (diff)
#88919#
Diffstat (limited to 'cppuhelper')
-rwxr-xr-xcppuhelper/inc/cppuhelper/access_control.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/cppuhelper/inc/cppuhelper/access_control.hxx b/cppuhelper/inc/cppuhelper/access_control.hxx
index 168711857b49..05c22d1b9778 100755
--- a/cppuhelper/inc/cppuhelper/access_control.hxx
+++ b/cppuhelper/inc/cppuhelper/access_control.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: access_control.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dbo $ $Date: 2001-12-14 13:17:39 $
+ * last change: $Author: dbo $ $Date: 2001-12-17 12:43:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -173,7 +173,7 @@ inline void AccessControl::checkPermission(
perm.m_permTarget = permTarget.pData;
perm.m_permActions = permActions.pData;
checkPermission(
- *reinterpret_cast< ::com::sun::star::security::Permission const * >( &perm ) );
+ * reinterpret_cast< ::com::sun::star::security::Permission const * >( &perm ) );
}
//__________________________________________________________________________________________________
inline void AccessControl::checkFilePermission(
@@ -195,8 +195,9 @@ inline ::com::sun::star::uno::Any AccessControl::doRestricted(
{
if (m_xController.is())
{
- m_xController->doRestricted( xAction, xRestriction );
+ return m_xController->doRestricted( xAction, xRestriction );
}
+ return ::com::sun::star::uno::Any();
}
//__________________________________________________________________________________________________
inline ::com::sun::star::uno::Any AccessControl::doPrivileged(
@@ -208,8 +209,9 @@ inline ::com::sun::star::uno::Any AccessControl::doPrivileged(
{
if (m_xController.is())
{
- m_xController->doPrivileged( xAction, xRestriction );
+ return m_xController->doPrivileged( xAction, xRestriction );
}
+ return ::com::sun::star::uno::Any();
}
//__________________________________________________________________________________________________
inline ::com::sun::star::uno::Reference<