diff options
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/security/access_controller.cxx | 11 | ||||
-rw-r--r-- | stoc/source/security/file_policy.cxx | 12 |
2 files changed, 0 insertions, 23 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx index 1adbf290791f..49fea7f2a026 100644 --- a/stoc/source/security/access_controller.cxx +++ b/stoc/source/security/access_controller.cxx @@ -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) ) diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx index 344b968c3063..70cc32551b44 100644 --- a/stoc/source/security/file_policy.cxx +++ b/stoc/source/security/file_policy.cxx @@ -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 { |