summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/inc/content.hxx4
-rw-r--r--sc/source/ui/navipi/content.cxx6
2 files changed, 5 insertions, 5 deletions
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 ?