summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-22 16:19:37 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:38 +0200
commit07f6b08bdc7ac78905e8a6745bb58e026f31c9c7 (patch)
tree5e65b1d60624a57b3214f7f77a8905eb6e2afa9a /sw
parent641f375bec2fb65d64513ab9d74a3e3ca1489925 (diff)
convert LANG_LIST constants to scoped enum
Change-Id: Ibd699cfdfd3266c2965a5b6368cfe2f4431b7fb4
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dialog/ascfldlg.cxx2
-rw-r--r--sw/source/ui/index/cnttab.cxx2
-rw-r--r--sw/source/ui/misc/srtdlg.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx
index 68409fd8e9ec..c80791318e9c 100644
--- a/sw/source/ui/dialog/ascfldlg.cxx
+++ b/sw/source/ui/dialog/ascfldlg.cxx
@@ -168,7 +168,7 @@ SwAsciiFilterDlg::SwAsciiFilterDlg( vcl::Window* pParent, SwDocShell& rDocSh,
}
}
- m_pLanguageLB->SetLanguageList( LANG_LIST_ALL, true, false );
+ m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::ALL, true, false );
m_pLanguageLB->SelectLanguage( aOpt.GetLanguage() );
}
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index ce78544e1660..fe0d48b26fad 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -847,7 +847,7 @@ SwTOXSelectTabPage::SwTOXSelectTabPage(vcl::Window* pParent, const SfxItemSet& r
pIndexEntryWrapper = new IndexEntrySupplierWrapper();
- m_pLanguageLB->SetLanguageList( LANG_LIST_ALL | LANG_LIST_ONLY_KNOWN,
+ m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN,
false, false, false );
//Default mode is arranged to be the tallest mode
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx
index bb7bcd01222f..3856070dbf63 100644
--- a/sw/source/ui/misc/srtdlg.cxx
+++ b/sw/source/ui/misc/srtdlg.cxx
@@ -203,7 +203,7 @@ SwSortDlg::SwSortDlg(vcl::Window* pParent, SwWrtShell &rShell)
if( LANGUAGE_NONE == nLang || LANGUAGE_DONTKNOW == nLang )
nLang = (sal_uInt16)GetAppLanguage();
- m_pLangLB->SetLanguageList( LANG_LIST_ALL | LANG_LIST_ONLY_KNOWN, true, false);
+ m_pLangLB->SetLanguageList( SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN, true, false);
m_pLangLB->SelectLanguage( nLang );
LanguageHdl( 0 );