summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-01-20 17:12:32 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2022-01-24 10:22:15 +0100
commit91998c71c4604daf14ab5fad53eb838192c83312 (patch)
treeb9758cdb52fe06d81fe90d8d97308e55247189ab /cui
parent1e94ab8a1a9d710451a41a2bc1dd3b62acf1f407 (diff)
Remove external link from spell check options
Change-Id: Ifb998eb3fc150109bda7b1293a6148310d22b7ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128695 Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optlingu.cxx14
-rw-r--r--cui/uiconfig/ui/editmodulesdialog.ui16
-rw-r--r--cui/uiconfig/ui/optlingupage.ui17
3 files changed, 0 insertions, 47 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index 419b93b9d1bd..073a856f73ef 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -837,7 +837,6 @@ SvxLinguTabPage::SvxLinguTabPage(weld::Container* pPage, weld::DialogController*
, m_xLinguDicsDelPB(m_xBuilder->weld_button("lingudictsdelete"))
, m_xLinguOptionsCLB(m_xBuilder->weld_tree_view("linguoptions"))
, m_xLinguOptionsEditPB(m_xBuilder->weld_button("linguoptionsedit"))
- , m_xMoreDictsLink(m_xBuilder->weld_link_button("moredictslink"))
{
std::vector<int> aWidths;
aWidths.push_back(m_xLinguModulesCLB->get_checkbox_column_width());
@@ -863,9 +862,6 @@ SvxLinguTabPage::SvxLinguTabPage(weld::Container* pPage, weld::DialogController*
m_xLinguOptionsCLB->connect_changed( LINK( this, SvxLinguTabPage, SelectHdl_Impl ));
m_xLinguOptionsCLB->connect_row_activated(LINK(this, SvxLinguTabPage, BoxDoubleClickHdl_Impl));
- if ( SvtExtendedSecurityOptions().GetOpenHyperlinkMode() == SvtExtendedSecurityOptions::OPEN_NEVER )
- m_xMoreDictsLink->hide();
-
xProp = LinguMgr::GetLinguPropertySet();
xDicList.set( LinguMgr::GetDictionaryList(), UNO_QUERY );
if (xDicList.is())
@@ -1521,12 +1517,6 @@ void SvxLinguTabPage::HideGroups( sal_uInt16 nGrp )
m_xLinguModulesFT->hide();
m_xLinguModulesCLB->hide();
m_xLinguModulesEditPB->hide();
-
- if ( SvtExtendedSecurityOptions().GetOpenHyperlinkMode()
- != SvtExtendedSecurityOptions::OPEN_NEVER )
- {
- m_xMoreDictsLink->show();
- }
}
}
@@ -1541,7 +1531,6 @@ SvxEditModulesDlg::SvxEditModulesDlg(weld::Window* pParent, SvxLinguData_Impl& r
, m_xPrioUpPB(m_xBuilder->weld_button("up"))
, m_xPrioDownPB(m_xBuilder->weld_button("down"))
, m_xBackPB(m_xBuilder->weld_button("back"))
- , m_xMoreDictsLink(m_xBuilder->weld_link_button("moredictslink"))
, m_xClosePB(m_xBuilder->weld_button("close"))
, m_xLanguageLB(new SvxLanguageBox(m_xBuilder->weld_combo_box("language")))
{
@@ -1565,9 +1554,6 @@ SvxEditModulesDlg::SvxEditModulesDlg(weld::Window* pParent, SvxLinguData_Impl& r
m_xPrioUpPB->set_sensitive( false );
m_xPrioDownPB->set_sensitive( false );
- if ( SvtExtendedSecurityOptions().GetOpenHyperlinkMode() == SvtExtendedSecurityOptions::OPEN_NEVER )
- m_xMoreDictsLink->hide();
-
// set that we want the checkbox shown if spellchecking is available
m_xLanguageLB->SetLanguageList(SvxLanguageListFlags::EMPTY, false, false, true);
diff --git a/cui/uiconfig/ui/editmodulesdialog.ui b/cui/uiconfig/ui/editmodulesdialog.ui
index 77b8af666236..23ab7e81cdff 100644
--- a/cui/uiconfig/ui/editmodulesdialog.ui
+++ b/cui/uiconfig/ui/editmodulesdialog.ui
@@ -111,22 +111,6 @@
<property name="can_focus">False</property>
<property name="row_spacing">12</property>
<child>
- <object class="GtkLinkButton" id="moredictslink">
- <property name="label" translatable="yes" context="editmodulesdialog|moredictslink">Get more dictionaries online...</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="has_tooltip">True</property>
- <property name="relief">none</property>
- <property name="xalign">0</property>
- <property name="uri">https://extensions.libreoffice.org/dictionaries/</property>
- </object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">2</property>
- </packing>
- </child>
- <child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
diff --git a/cui/uiconfig/ui/optlingupage.ui b/cui/uiconfig/ui/optlingupage.ui
index 114bfde51ca2..954813abedaa 100644
--- a/cui/uiconfig/ui/optlingupage.ui
+++ b/cui/uiconfig/ui/optlingupage.ui
@@ -361,23 +361,6 @@
<property name="row_spacing">3</property>
<property name="column_spacing">12</property>
<child>
- <object class="GtkLinkButton" id="moredictslink">
- <property name="label" translatable="yes" context="optlingupage|moredictslink">Get more dictionaries online...</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="has_tooltip">True</property>
- <property name="relief">none</property>
- <property name="xalign">0</property>
- <property name="uri">https://extensions.libreoffice.org/dictionaries/</property>
- </object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">1</property>
- <property name="width">2</property>
- </packing>
- </child>
- <child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>