summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/scuiasciiopt.cxx2
-rw-r--r--sc/source/ui/inc/namemgrtable.hxx2
-rw-r--r--sc/source/ui/namedlg/namemgrtable.cxx6
3 files changed, 4 insertions, 6 deletions
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
index 288842472a4b..8e3db03ccca0 100644
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
@@ -475,7 +475,7 @@ ScImportAsciiDlg::ScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatNa
pLbCharSet->SetSelectHdl( LINK( this, ScImportAsciiDlg, CharSetHdl ) );
pLbCustomLang->SetLanguageList(
- SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN, false);
+ SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN, false, false);
pLbCustomLang->InsertLanguage(LANGUAGE_SYSTEM);
pLbCustomLang->SelectLanguage(static_cast<LanguageType>(nLanguage));
diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx
index 4bf8b879c840..f407a9c3a1a5 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -118,7 +118,7 @@ public:
int n_children() const { return m_xTreeView->n_children(); }
- void addEntry(const ScRangeNameLine& rLine, bool bSetCurEntry);
+ void addEntry(const ScRangeNameLine& rLine);
std::vector<ScRangeNameLine> GetSelectedEntries();
};
diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx
index 246f213fd1dd..51d727963ff5 100644
--- a/sc/source/ui/namedlg/namemgrtable.cxx
+++ b/sc/source/ui/namedlg/namemgrtable.cxx
@@ -366,7 +366,7 @@ IMPL_LINK_NOARG(RangeManagerTable, SizeAllocHdl, const Size&, void)
CheckForFormulaString();
}
-void RangeManagerTable::addEntry(const ScRangeNameLine& rLine, bool bSetCurEntry)
+void RangeManagerTable::addEntry(const ScRangeNameLine& rLine)
{
int nRow = m_xTreeView->n_children();
m_xTreeView->append();
@@ -375,8 +375,6 @@ void RangeManagerTable::addEntry(const ScRangeNameLine& rLine, bool bSetCurEntry
m_xTreeView->set_text(nRow, rLine.aScope, 2);
// just unique to track which one has been cached by maCalculatedFormulaEntries
m_xTreeView->set_id(nRow, OUString::number(m_nId++));
- if (bSetCurEntry)
- m_xTreeView->set_cursor(nRow);
}
void RangeManagerTable::GetLine(ScRangeNameLine& rLine, weld::TreeIter& rEntry)
@@ -403,7 +401,7 @@ void RangeManagerTable::Init()
if (!rEntry.second->HasType(ScRangeData::Type::Database))
{
aLine.aName = rEntry.second->GetName();
- addEntry(aLine, false);
+ addEntry(aLine);
}
}
}