Kaydet (Commit) dbba8490 authored tarafından Michael Stahl's avatar Michael Stahl

remove that silly SfxInternetPage already

LibreOffice is not a web browser.

This reloading stuff apparently never even worked for editable documents
anyway, see i#50881.

Change-Id: I720fbb72fd93232ad3e6fdfc65a05748bdf78108
üst d2605c0b
...@@ -15,7 +15,6 @@ $(eval $(call gb_UI_add_uifiles,sfx,\ ...@@ -15,7 +15,6 @@ $(eval $(call gb_UI_add_uifiles,sfx,\
sfx2/uiconfig/ui/descriptioninfopage \ sfx2/uiconfig/ui/descriptioninfopage \
sfx2/uiconfig/ui/documentinfopage \ sfx2/uiconfig/ui/documentinfopage \
sfx2/uiconfig/ui/documentpropertiesdialog \ sfx2/uiconfig/ui/documentpropertiesdialog \
sfx2/uiconfig/ui/internetinfopage \
sfx2/uiconfig/ui/managestylepage \ sfx2/uiconfig/ui/managestylepage \
sfx2/uiconfig/ui/optprintpage \ sfx2/uiconfig/ui/optprintpage \
sfx2/uiconfig/ui/password \ sfx2/uiconfig/ui/password \
......
...@@ -235,70 +235,6 @@ public: ...@@ -235,70 +235,6 @@ public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& ); static SfxTabPage* Create( Window* pParent, const SfxItemSet& );
}; };
// class SfxInternetPage -------------------------------------------------
namespace sfx2
{
class FileDialogHelper;
}
class SfxInternetPage : public SfxTabPage
{
private:
VclContainer* m_pContainer;
RadioButton* m_pRBNoAutoUpdate;
RadioButton* m_pRBReloadUpdate;
RadioButton* m_pRBForwardUpdate;
FixedText* m_pFTEvery;
NumericField* m_pNFReload;
FixedText* m_pFTReloadSeconds;
FixedText* m_pFTAfter;
NumericField* m_pNFAfter;
FixedText* m_pFTAfterSeconds;
FixedText* m_pFTURL;
Edit* m_pEDForwardURL;
PushButton* m_pPBBrowseURL;
FixedText* m_pFTFrame;
ComboBox* m_pCBFrame;
String aForwardErrorMessg;
String aBaseURL;
SfxDocumentInfoItem* pInfoItem;
sfx2::FileDialogHelper* pFileDlg;
enum STATE { S_Init, S_NoUpdate, S_Reload, S_Forward };
// S_Init is only valid as initial value
STATE eState;
void ChangeState( STATE eNewState ); // S_Init is not a valid value here
// also checks corresponding radiobutton
void EnableNoUpdate( sal_Bool bEnable );
void EnableReload( sal_Bool bEnable );
void EnableForward( sal_Bool bEnable );
DECL_LINK( ClickHdlNoUpdate, Control* );
DECL_LINK( ClickHdlReload, Control* );
DECL_LINK( ClickHdlForward, Control* );
DECL_LINK(ClickHdlBrowseURL, void *);
DECL_LINK(DialogClosedHdl, void *);
using TabPage::DeactivatePage;
protected:
SfxInternetPage( Window* pParent, const SfxItemSet& );
~SfxInternetPage();
virtual sal_Bool FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet& );
virtual int DeactivatePage( SfxItemSet* pSet = 0 );
public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& );
};
// class SfxDocumentInfoDialog ------------------------------------------- // class SfxDocumentInfoDialog -------------------------------------------
class SFX2_DLLPUBLIC SfxDocumentInfoDialog : public SfxTabDialog class SFX2_DLLPUBLIC SfxDocumentInfoDialog : public SfxTabDialog
......
This diff is collapsed.
...@@ -129,20 +129,6 @@ ...@@ -129,20 +129,6 @@
<child> <child>
<placeholder/> <placeholder/>
</child> </child>
<child type="tab">
<object class="GtkLabel" id="internet">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Internet </property>
</object>
<packing>
<property name="position">3</property>
<property name="tab_fill">False</property>
</packing>
</child>
<child>
<placeholder/>
</child>
<child type="tab"> <child type="tab">
<object class="GtkLabel" id="security"> <object class="GtkLabel" id="security">
<property name="visible">True</property> <property name="visible">True</property>
...@@ -150,7 +136,7 @@ ...@@ -150,7 +136,7 @@
<property name="label" translatable="yes">Security</property> <property name="label" translatable="yes">Security</property>
</object> </object>
<packing> <packing>
<property name="position">4</property> <property name="position">3</property>
<property name="tab_fill">False</property> <property name="tab_fill">False</property>
</packing> </packing>
</child> </child>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment