Kaydet (Commit) 8ece4abb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-function

Change-Id: I68d030642fc3f396f7d95602847725bb8299bebf
üst 63389fd1
......@@ -310,17 +310,6 @@ Any acc_CurrentContext::getValueByName( OUString const & name )
//##################################################################################################
//--------------------------------------------------------------------------------------------------
static inline void dispose( Reference< XInterface > const & x )
SAL_THROW( (RuntimeException) )
{
Reference< lang::XComponent > xComp( x, UNO_QUERY );
if (xComp.is())
{
xComp->dispose();
}
}
//--------------------------------------------------------------------------------------------------
static inline Reference< security::XAccessControlContext > getDynamicRestriction(
Reference< XCurrentContext > const & xContext )
SAL_THROW( (RuntimeException) )
......
......@@ -51,18 +51,6 @@ using namespace ::com::sun::star::uno;
namespace stoc_sec
{
//--------------------------------------------------------------------------------------------------
static inline void dispose( Reference< XInterface > const & x )
SAL_THROW( (RuntimeException) )
{
Reference< lang::XComponent > xComp( x, UNO_QUERY );
if (xComp.is())
{
xComp->dispose();
}
}
//##################################################################################################
struct MutexHolder
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment