diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index b6a8bae3eb2f..4e4e7382137b 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -2618,8 +2618,7 @@ BaseStorageStream* UCBStorage::OpenStream( const OUString& rEleName, StreamMode { // check if stream is opened with the same keyword as before // if not, generate a new stream because it could be encrypted vs. decrypted! - OString aKey; - if ( pElement->m_xStream->m_aKey == aKey ) + if ( pElement->m_xStream->m_aKey.isEmpty() ) { pElement->m_xStream->PrepareCachedForReopen( nMode ); |