summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/linkdlg.cxx4
-rw-r--r--cui/source/inc/linkdlg.hxx1
-rw-r--r--cui/uiconfig/ui/baselinksdialog.ui20
3 files changed, 2 insertions, 23 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index 4ffa5c090cad..6d61767457a5 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -108,7 +108,6 @@ SvBaseLinksDlg::SvBaseLinksDlg( vcl::Window * pParent, LinkManager* pMgr, bool b
get(m_pRbAutomatic, "AUTOMATIC");
get(m_pRbManual, "MANUAL");
get(m_pPbUpdateNow, "UPDATE_NOW");
- get(m_pPbOpenSource, "OPEN");
get(m_pPbChangeSource, "CHANGE_SOURCE");
get(m_pPbBreakLink, "BREAK_LINK");
@@ -126,8 +125,6 @@ SvBaseLinksDlg::SvBaseLinksDlg( vcl::Window * pParent, LinkManager* pMgr, bool b
aUpdateIdle.SetInvokeHandler( LINK( this, SvBaseLinksDlg, UpdateWaitingHdl ) );
aUpdateIdle.SetPriority( TaskPriority::LOWEST );
- m_pPbOpenSource->Hide();
-
m_pTbLinks->SetSelectHdl( LINK( this, SvBaseLinksDlg, LinksSelectHdl ) );
m_pTbLinks->SetDoubleClickHdl( LINK( this, SvBaseLinksDlg, LinksDoubleClickHdl ) );
m_pRbAutomatic->SetClickHdl( LINK( this, SvBaseLinksDlg, AutomaticClickHdl ) );
@@ -156,7 +153,6 @@ void SvBaseLinksDlg::dispose()
m_pRbAutomatic.clear();
m_pRbManual.clear();
m_pPbUpdateNow.clear();
- m_pPbOpenSource.clear();
m_pPbChangeSource.clear();
m_pPbBreakLink.clear();
ModalDialog::dispose();
diff --git a/cui/source/inc/linkdlg.hxx b/cui/source/inc/linkdlg.hxx
index 9d274b431951..15fcb6f7a8d9 100644
--- a/cui/source/inc/linkdlg.hxx
+++ b/cui/source/inc/linkdlg.hxx
@@ -52,7 +52,6 @@ class SvBaseLinksDlg : public ModalDialog
VclPtr<RadioButton> m_pRbAutomatic;
VclPtr<RadioButton> m_pRbManual;
VclPtr<PushButton> m_pPbUpdateNow;
- VclPtr<PushButton> m_pPbOpenSource;
VclPtr<PushButton> m_pPbChangeSource;
VclPtr<PushButton> m_pPbBreakLink;
OUString aStrAutolink;
diff --git a/cui/uiconfig/ui/baselinksdialog.ui b/cui/uiconfig/ui/baselinksdialog.ui
index b04ed44cc7d0..6fe5c16bf870 100644
--- a/cui/uiconfig/ui/baselinksdialog.ui
+++ b/cui/uiconfig/ui/baselinksdialog.ui
@@ -65,21 +65,6 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="OPEN">
- <property name="label" translatable="yes" context="baselinksdialog|OPEN">_Open</property>
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
<object class="GtkButton" id="CHANGE_SOURCE">
<property name="label" translatable="yes" context="baselinksdialog|CHANGE_SOURCE">_Modify...</property>
<property name="use_action_appearance">False</property>
@@ -91,7 +76,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">4</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -106,7 +91,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">5</property>
+ <property name="position">4</property>
</packing>
</child>
</object>
@@ -430,7 +415,6 @@
<action-widget response="0">CLOSE</action-widget>
<action-widget response="0">HELP</action-widget>
<action-widget response="0">UPDATE_NOW</action-widget>
- <action-widget response="0">OPEN</action-widget>
<action-widget response="0">CHANGE_SOURCE</action-widget>
<action-widget response="0">BREAK_LINK</action-widget>
</action-widgets>