summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-03-22 17:26:01 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-03-23 08:24:49 +0100
commitc12fc293650a860d5e05c32000f904afaf0958b6 (patch)
tree1cc51eda0fde3adb4c4ef8dc1dfcb665d91ae56f /sc
parentf4394514a1afacff690e95472730da0a4f4d92e0 (diff)
Typo: GetSelectLanguage -> GetSelectedLanguage
Change-Id: Ia283812d4e9df87d875559af5366c2e36b19eab2 Reviewed-on: https://gerrit.libreoffice.org/51747 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/scuiasciiopt.cxx4
-rw-r--r--sc/source/ui/dbgui/textimportoptions.cxx2
-rw-r--r--sc/source/ui/dbgui/tpsort.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
index 99c084b7edea..381bc7e9cacb 100644
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
@@ -627,7 +627,7 @@ void ScImportAsciiDlg::GetOptions( ScAsciiOptions& rOpt )
{
rOpt.SetCharSet( meCharSet );
rOpt.SetCharSetSystem( mbCharSetSystem );
- rOpt.SetLanguage(pLbCustomLang->GetSelectLanguage());
+ rOpt.SetLanguage(pLbCustomLang->GetSelectedLanguage());
rOpt.SetFixedLen( pRbFixed->IsChecked() );
rOpt.SetStartRow( static_cast<long>(pNfRow->GetValue()) );
mpTableBox->FillColumnData( rOpt );
@@ -651,7 +651,7 @@ void ScImportAsciiDlg::SaveParameters()
pRbFixed->IsChecked(),
static_cast<sal_Int32>(pNfRow->GetValue()),
pLbCharSet->GetSelectedEntryPos(),
- static_cast<sal_uInt16>(pLbCustomLang->GetSelectLanguage()),
+ static_cast<sal_uInt16>(pLbCustomLang->GetSelectedLanguage()),
pCkbSkipEmptyCells->IsChecked(), pCkbRemoveSpace->IsChecked(), meCall );
}
diff --git a/sc/source/ui/dbgui/textimportoptions.cxx b/sc/source/ui/dbgui/textimportoptions.cxx
index 8f459bbc89ef..8d81f967f972 100644
--- a/sc/source/ui/dbgui/textimportoptions.cxx
+++ b/sc/source/ui/dbgui/textimportoptions.cxx
@@ -56,7 +56,7 @@ LanguageType ScTextImportOptionsDlg::getLanguageType() const
if (m_pRbAutomatic->IsChecked())
return LANGUAGE_SYSTEM;
- return m_pLbCustomLang->GetSelectLanguage();
+ return m_pLbCustomLang->GetSelectedLanguage();
}
bool ScTextImportOptionsDlg::isDateConversionSet() const
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index ee008bd01089..906dd77837c1 100644
--- a/sc/source/ui/dbgui/tpsort.cxx
+++ b/sc/source/ui/dbgui/tpsort.cxx
@@ -740,7 +740,7 @@ bool ScTabPageSortOptions::FillItemSet( SfxItemSet* rArgSet )
: 0;
// get locale
- LanguageType eLang = m_pLbLanguage->GetSelectLanguage();
+ LanguageType eLang = m_pLbLanguage->GetSelectedLanguage();
aNewSortData.aCollatorLocale = LanguageTag::convertToLocale( eLang, false);
// get algorithm
@@ -940,7 +940,7 @@ IMPL_LINK_NOARG(ScTabPageSortOptions, FillAlgorHdl, ListBox&, void)
m_pLbAlgorithm->SetUpdateMode( false );
m_pLbAlgorithm->Clear();
- LanguageType eLang = m_pLbLanguage->GetSelectLanguage();
+ LanguageType eLang = m_pLbLanguage->GetSelectedLanguage();
if ( eLang == LANGUAGE_SYSTEM )
{
// for LANGUAGE_SYSTEM no algorithm can be selected because