[Libreoffice-commits] core.git: sfx2/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 23 18:17:20 UTC 2020


 sfx2/source/dialog/securitypage.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3e33e4435351dd03b8f89b4006c657910eace25f
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 19:30:26 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 23 20:16:39 2020 +0200

    Fix typo in code
    
    Change-Id: I546bd10f5b7e69f82252cf147c5fcc5756d77a78
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101212
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx
index 84df48131b99..ad4c30b4e6c1 100644
--- a/sfx2/source/dialog/securitypage.cxx
+++ b/sfx2/source/dialog/securitypage.cxx
@@ -331,9 +331,9 @@ IMPL_LINK_NOARG(SfxSecurityPage_Impl, RecordChangesCBToggleHdl, weld::ToggleButt
             m_bEndRedliningWarningDone = true;
     }
 
-    const bool bNeedPasssword = !m_bOrigPasswordIsConfirmed
+    const bool bNeedPassword = !m_bOrigPasswordIsConfirmed
             && m_xUnProtectPB->get_visible(); // tdf#128230 Require password if the Unprotect button is visible
-    if (!bAlreadyDone && bNeedPasssword)
+    if (!bAlreadyDone && bNeedPassword)
     {
         OUString aPasswordText;
 


More information about the Libreoffice-commits mailing list