summaryrefslogtreecommitdiff
path: root/include/svx/langbox.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-30 21:24:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-03-31 20:49:32 +0200
commit1595604169f7643cf134f71e218ea512887ed8a3 (patch)
treebef728dc91af919b58f94d4561bd5f815930c4ea /include/svx/langbox.hxx
parentc8af8aebd1336e919e9531e39f84296085d91ea7 (diff)
weld SvxNewDictionaryDialog
Change-Id: Idf9a4a74615b3216918dde50563e9d081c61cd52 Reviewed-on: https://gerrit.libreoffice.org/52174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/langbox.hxx')
-rw-r--r--include/svx/langbox.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx
index 00aaaa58a904..45c852fd3cbd 100644
--- a/include/svx/langbox.hxx
+++ b/include/svx/langbox.hxx
@@ -167,6 +167,7 @@ public:
void AddLanguages( const std::vector< LanguageType >& rLanguageTypes, SvxLanguageListFlags nLangList );
void SelectLanguage( const LanguageType eLangType );
LanguageType GetSelectedLanguage() const;
+ void SelectEntryPos(int nPos) { m_xControl->set_active(nPos); }
void connect_changed(const Link<weld::ComboBoxText&, void>& rLink) { m_aChangeHdl = rLink; }
};