diff options
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/langbox.hxx | 1 | ||||
-rw-r--r-- | include/svx/svxdlg.hxx | 2 |
2 files changed, 2 insertions, 1 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; } }; diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx index f2f817241b38..6f3b7097a4e5 100644 --- a/include/svx/svxdlg.hxx +++ b/include/svx/svxdlg.hxx @@ -394,7 +394,7 @@ public: const SfxItemSet& rOptionsSet, TransliterationFlags nInitialFlags )=0; virtual VclPtr<AbstractFmInputRecordNoDialog> CreateFmInputRecordNoDialog() = 0; - virtual VclPtr<AbstractSvxNewDictionaryDialog> CreateSvxNewDictionaryDialog( vcl::Window* pParent ) = 0; + virtual VclPtr<AbstractSvxNewDictionaryDialog> CreateSvxNewDictionaryDialog(weld::Window* pParent) = 0; virtual VclPtr<VclAbstractDialog> CreateSvxEditDictionaryDialog( vcl::Window* pParent, const OUString& rName) = 0; virtual VclPtr<AbstractSvxNameDialog> CreateSvxNameDialog(weld::Window* pParent, |