summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-24 13:03:39 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-24 18:32:07 +0200
commit881aca8eb1f3b77dce1bdcf4a344eaa175b644c3 (patch)
tree24598896183d20cebf9bc09a810e342fa618318d /basic
parent7351a5028b18591306dfe18b34f6c751e565766e (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: Iae7db8b7627c5e4715860eafda8df98d2cb8f781 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103308 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/uno/scriptcont.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index c9b8fdeb0793..a5d7d02a1931 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -419,7 +419,7 @@ void SAL_CALL SfxScriptLibraryContainer::changeLibraryPassword( const OUString&
loadLibrary( Name );
bool bKillCryptedFiles = false;
- bool bKillUncryptedFiles = false;
+ bool bKillUnencryptedFiles = false;
// Remove or change password?
if( bOldPassword )
@@ -480,11 +480,11 @@ void SAL_CALL SfxScriptLibraryContainer::changeLibraryPassword( const OUString&
// Store application basic crypted
uno::Reference< embed::XStorage > xStorage;
storeLibraries_Impl( xStorage, false );
- bKillUncryptedFiles = true;
+ bKillUnencryptedFiles = true;
}
}
- if( !(bKillCryptedFiles || bKillUncryptedFiles) )
+ if( !(bKillCryptedFiles || bKillUnencryptedFiles) )
return;
Sequence< OUString > aElementNames = pImplLib->getElementNames();
@@ -501,7 +501,7 @@ void SAL_CALL SfxScriptLibraryContainer::changeLibraryPassword( const OUString&
aElementInetObj.insertName( aElementName, false,
INetURLObject::LAST_SEGMENT,
INetURLObject::EncodeMechanism::All );
- if( bKillUncryptedFiles )
+ if( bKillUnencryptedFiles )
{
aElementInetObj.setExtension( maLibElementFileExtension );
}