[Libreoffice-commits] core.git: basic/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 24 16:32:49 UTC 2020
basic/source/uno/scriptcont.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 881aca8eb1f3b77dce1bdcf4a344eaa175b644c3
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Sep 24 13:03:39 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Sep 24 18:32:07 2020 +0200
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 at yahoo.fr>
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 );
}
More information about the Libreoffice-commits
mailing list