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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Apr 24 18:19:43 UTC 2021


 sc/source/ui/inc/content.hxx    |    4 ++--
 sc/source/ui/navipi/content.cxx |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 4fef4c6a3de4c593499ba4338d4ecf3bde1c0263
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Apr 23 19:47:50 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Apr 24 20:18:57 2021 +0200

    typo: NavigatoeDlg->NavigatorDlg
    
    Change-Id: Ied615268001b580a3f51726cd0e57189a00e3c60
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114570
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx
index 85da3f44e4f3..9156a72f14dc 100644
--- a/sc/source/ui/inc/content.hxx
+++ b/sc/source/ui/inc/content.hxx
@@ -52,7 +52,7 @@ class ScContentTree
     OUString                aHiddenName;        // URL to load
     OUString                aHiddenTitle;       // for display
     ScDocument*             pHiddenDocument;    // temporary
-    bool                    bisInNavigatoeDlg;
+    bool                    bIsInNavigatorDlg;
     bool                    m_bFreeze;
     OUString                sKeyString;
     ImplSVEvent*            m_nAsyncMouseReleaseId;
@@ -124,7 +124,7 @@ public:
     ~ScContentTree();
 
     void     ObjectFresh(ScContentId nType, const weld::TreeIter* pEntry = nullptr);
-    void     SetNavigatorDlgFlag(bool isInNavigateDlg){ bisInNavigatoeDlg=isInNavigateDlg;};
+    void     SetNavigatorDlgFlag(bool isInNavigateDlg){ bIsInNavigatorDlg=isInNavigateDlg;};
 
     void    hide()
     {
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index 2d68a98a7aa6..6f4d92198934 100644
--- a/sc/source/ui/navipi/content.cxx
+++ b/sc/source/ui/navipi/content.cxx
@@ -126,7 +126,7 @@ ScContentTree::ScContentTree(std::unique_ptr<weld::TreeView> xTreeView, ScNaviga
     , nRootType(ScContentId::ROOT)
     , bHiddenDoc(false)
     , pHiddenDocument(nullptr)
-    , bisInNavigatoeDlg(false)
+    , bIsInNavigatorDlg(false)
     , m_bFreeze(false)
     , m_nAsyncMouseReleaseId(nullptr)
 {
@@ -456,7 +456,7 @@ IMPL_LINK(ScContentTree, KeyInputHdl, const KeyEvent&, rKEvt, bool)
         }
     }
     //Make KEY_SPACE has same function as DoubleClick
-    if ( bisInNavigatoeDlg )
+    if ( bIsInNavigatorDlg )
     {
         if(aCode.GetCode() == KEY_SPACE )
         {
@@ -869,7 +869,7 @@ constexpr int MAX_TREE_NODES = 1000;
 
 void ScContentTree::GetDrawNames( ScContentId nType )
 {
-    if (!bisInNavigatoeDlg)
+    if (!bIsInNavigatorDlg)
         return;
 
     if ( nRootType != ScContentId::ROOT && nRootType != nType )              // hidden ?


More information about the Libreoffice-commits mailing list