diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/securityoptions.cxx | 4 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.hxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx index ce16fc9ad633..de9c0dcc2dfc 100644 --- a/unotools/source/config/securityoptions.cxx +++ b/unotools/source/config/securityoptions.cxx @@ -871,7 +871,7 @@ bool SvtSecurityOptions_Impl::IsOptionSet( SvtSecurityOptions::EOption eOption ) bool* pRO; bool bRet = false; - if( ( const_cast< SvtSecurityOptions_Impl* >( this ) )->GetOption( eOption, pValue, pRO ) ) + if( const_cast< SvtSecurityOptions_Impl* >( this )->GetOption( eOption, pValue, pRO ) ) bRet = *pValue; return bRet; @@ -895,7 +895,7 @@ bool SvtSecurityOptions_Impl::IsOptionEnabled( SvtSecurityOptions::EOption eOpti bool* pRO; bool bRet = false; - if( ( const_cast< SvtSecurityOptions_Impl* >( this ) )->GetOption( eOption, pValue, pRO ) ) + if( const_cast< SvtSecurityOptions_Impl* >( this )->GetOption( eOption, pValue, pRO ) ) bRet = !*pRO; return bRet; diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx index 3ce1dfe850b5..71ebf42ed088 100644 --- a/unotools/source/ucbhelper/ucblockbytes.hxx +++ b/unotools/source/ucbhelper/ucblockbytes.hxx @@ -124,19 +124,19 @@ public: css::uno::Reference < css::io::XInputStream > getInputStream_Impl() const { - osl::MutexGuard aGuard( (const_cast< UcbLockBytes* >(this))->m_aMutex ); + osl::MutexGuard aGuard( const_cast< UcbLockBytes* >(this)->m_aMutex ); return m_xInputStream; } css::uno::Reference < css::io::XOutputStream > getOutputStream_Impl() const { - osl::MutexGuard aGuard( (const_cast< UcbLockBytes* >(this))->m_aMutex ); + osl::MutexGuard aGuard( const_cast< UcbLockBytes* >(this)->m_aMutex ); return m_xOutputStream; } css::uno::Reference < css::io::XSeekable > getSeekable_Impl() const { - osl::MutexGuard aGuard( (const_cast< UcbLockBytes* >(this))->m_aMutex ); + osl::MutexGuard aGuard( const_cast< UcbLockBytes* >(this)->m_aMutex ); return m_xSeekable; } |