sot/source/sdstor/ucbstorage.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit c91f05e1744ea5077fa2ce2793f0aef6378b5d42 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Jun 30 16:43:48 2017 +0200 aKey is demonstratedly always empty ...since cb958bb5e0e81d343c91c08a8513006a7bf1d913 "loplugin:constantparam in sot..svl" Change-Id: Id74078a26efb9b7a5a8b58ea28f3142cef4ac71f 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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits