summaryrefslogtreecommitdiff
path: root/stoc/source/security/permissions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/security/permissions.cxx')
-rw-r--r--stoc/source/security/permissions.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx
index d429c5f163cd..d39bb2283b3c 100644
--- a/stoc/source/security/permissions.cxx
+++ b/stoc/source/security/permissions.cxx
@@ -519,8 +519,7 @@ PermissionCollection::PermissionCollection(
OUStringBuffer buf( 48 );
buf.append( "checking for unsupported permission type: " );
buf.append( perm_type.getTypeName() );
- throw RuntimeException(
- buf.makeStringAndClear(), Reference< XInterface >() );
+ throw RuntimeException( buf.makeStringAndClear() );
}
}
}
@@ -641,8 +640,7 @@ void PermissionCollection::checkPermission( Any const & perm ) const
OUStringBuffer buf( 48 );
buf.append( "checking for unsupported permission type: " );
buf.append( demanded_type.getTypeName() );
- throw RuntimeException(
- buf.makeStringAndClear(), Reference< XInterface >() );
+ throw RuntimeException( buf.makeStringAndClear() );
}
}