diff options
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optlanguagetool.cxx | 3 | ||||
-rw-r--r-- | cui/source/options/optlanguagetool.hxx | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/cui/source/options/optlanguagetool.cxx b/cui/source/options/optlanguagetool.cxx index a2cc19b93b68..fc7a42536051 100644 --- a/cui/source/options/optlanguagetool.cxx +++ b/cui/source/options/optlanguagetool.cxx @@ -28,7 +28,6 @@ OptLanguageToolTabPage::OptLanguageToolTabPage(weld::Container* pPage, , m_xBaseURLED(m_xBuilder->weld_entry("baseurl")) , m_xUsernameED(m_xBuilder->weld_entry("username")) , m_xApiKeyED(m_xBuilder->weld_entry("apikey")) - , m_xRestProtocol(m_xBuilder->weld_entry("restprotocol")) , m_xActivateBox(m_xBuilder->weld_check_button("activate")) , m_xSSLDisableVerificationBox(m_xBuilder->weld_check_button("verifyssl")) , m_xApiSettingsFrame(m_xBuilder->weld_frame("apisettings")) @@ -60,7 +59,6 @@ void OptLanguageToolTabPage::Reset(const SfxItemSet*) m_xBaseURLED->set_text(rLanguageOpts.getBaseURL()); m_xUsernameED->set_text(rLanguageOpts.getUsername()); m_xApiKeyED->set_text(rLanguageOpts.getApiKey()); - m_xRestProtocol->set_text(rLanguageOpts.getRestProtocol()); m_xSSLDisableVerificationBox->set_active(rLanguageOpts.getSSLVerification() != true); } @@ -70,7 +68,6 @@ bool OptLanguageToolTabPage::FillItemSet(SfxItemSet*) rLanguageOpts.setBaseURL(m_xBaseURLED->get_text()); rLanguageOpts.setUsername(m_xUsernameED->get_text()); rLanguageOpts.setApiKey(m_xApiKeyED->get_text()); - rLanguageOpts.setRestProtocol(m_xRestProtocol->get_text()); rLanguageOpts.setSSLVerification(m_xSSLDisableVerificationBox->get_active() != true); return false; } diff --git a/cui/source/options/optlanguagetool.hxx b/cui/source/options/optlanguagetool.hxx index 47179f016b2f..85e0238b0318 100644 --- a/cui/source/options/optlanguagetool.hxx +++ b/cui/source/options/optlanguagetool.hxx @@ -35,7 +35,6 @@ private: std::unique_ptr<weld::Entry> m_xBaseURLED; std::unique_ptr<weld::Entry> m_xUsernameED; std::unique_ptr<weld::Entry> m_xApiKeyED; - std::unique_ptr<weld::Entry> m_xRestProtocol; std::unique_ptr<weld::CheckButton> m_xActivateBox; std::unique_ptr<weld::CheckButton> m_xSSLDisableVerificationBox; std::unique_ptr<weld::Frame> m_xApiSettingsFrame; @@ -43,4 +42,4 @@ private: void EnableControls(bool bEnable); DECL_LINK(CheckHdl, weld::Toggleable&, void); -}; +};
\ No newline at end of file |