diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-30 16:43:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-30 16:43:48 +0200 |
commit | c91f05e1744ea5077fa2ce2793f0aef6378b5d42 (patch) | |
tree | 45643ad8e3557c7593b539337c5a1ca2187bd4a1 /sot/source/sdstor | |
parent | f393b34cd0f11679f1229cdb3afc91d0d654e8ed (diff) |
aKey is demonstratedly always empty
...since cb958bb5e0e81d343c91c08a8513006a7bf1d913 "loplugin:constantparam in
sot..svl"
Change-Id: Id74078a26efb9b7a5a8b58ea28f3142cef4ac71f
Diffstat (limited to 'sot/source/sdstor')
-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 ); |