diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-13 00:13:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-13 11:43:07 +0100 |
commit | 67bc85682d8a585121844d9cc10e8268587aa1a5 (patch) | |
tree | e55150534467ac7cd8e41aa2a26b3ea6f05f70ac /basic | |
parent | 80ec3cb611cad6ecbd1a2684a93358b6f0cf6e00 (diff) |
rename SetKey to informative SetCryptMaskKey
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 734f4535d461..c077246d6fb0 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1360,7 +1360,7 @@ sal_Bool BasicManager::ImpLoadLibary( BasicLibInfo* pLibInfo, SotStorage* pCurSt else { // Perhaps there are additional information in the stream... - xBasicStream->SetKey( szCryptingKey ); + xBasicStream->SetCryptMaskKey(szCryptingKey); xBasicStream->RefreshBuffer(); sal_uInt32 nPasswordMarker = 0; *xBasicStream >> nPasswordMarker; @@ -1370,7 +1370,7 @@ sal_Bool BasicManager::ImpLoadLibary( BasicLibInfo* pLibInfo, SotStorage* pCurSt xBasicStream->ReadByteString(aPassword); pLibInfo->SetPassword( aPassword ); } - xBasicStream->SetKey( ByteString() ); + xBasicStream->SetCryptMaskKey(rtl::OString()); CheckModules( pLibInfo->GetLib(), pLibInfo->IsReference() ); } return bLoaded; @@ -1390,7 +1390,7 @@ sal_Bool BasicManager::ImplEncryptStream( SvStream& rStrm ) const { // Should only be the case for encrypted Streams bProtected = sal_True; - rStrm.SetKey( szCryptingKey ); + rStrm.SetCryptMaskKey(szCryptingKey); rStrm.RefreshBuffer(); } return bProtected; @@ -1426,7 +1426,7 @@ sal_Bool BasicManager::ImplLoadBasic( SvStream& rStrm, StarBASICRef& rOldBasic ) } } if ( bProtected ) - rStrm.SetKey( ByteString() ); + rStrm.SetCryptMaskKey(rtl::OString()); return bLoaded; } |