diff options
Diffstat (limited to 'package/source/xstor/xstorage.cxx')
-rw-r--r-- | package/source/xstor/xstorage.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index 9c0c117f5e35..40b129ff509a 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -4806,6 +4806,15 @@ void SAL_CALL OStorage::setEncryptionData( const uno::Sequence< beans::NamedValu } } +sal_Bool SAL_CALL OStorage::hasEncryptionData() + throw ( uno::RuntimeException ) +{ + ::osl::MutexGuard aGuard( m_pData->m_rSharedMutexRef->GetMutex() ); + + return m_pImpl && m_pImpl->m_bHasCommonEncryptionData; +} + + //____________________________________________________________________________________________________ // XEncryptionProtectedStorage //____________________________________________________________________________________________________ |