From fcc2543d567fbab2396dc3ce4f4513c0c1d38108 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 May 2016 11:17:08 +0200 Subject: remove unused FILEDLG_STATE constants and fields Change-Id: I2d7460e575b0935e5001b2c78d0ffb0dd33f3c39 Reviewed-on: https://gerrit.libreoffice.org/24880 Tested-by: Jenkins Reviewed-by: Noel Grandin --- fpicker/source/office/fpdialogbase.hxx | 1 - fpicker/source/office/iodlg.cxx | 6 ------ fpicker/source/office/iodlgimp.cxx | 1 - fpicker/source/office/iodlgimp.hxx | 6 ------ 4 files changed, 14 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/office/fpdialogbase.hxx b/fpicker/source/office/fpdialogbase.hxx index 9d561d63593e..69091ae46536 100644 --- a/fpicker/source/office/fpdialogbase.hxx +++ b/fpicker/source/office/fpdialogbase.hxx @@ -41,7 +41,6 @@ class SvtFileDialogFilter_Impl; #define SFXWB_PATHDIALOG WB_PATH #define SFXWB_CLASSPATH ( 0x08000000L | SFXWB_PATHDIALOG ) #define SFXWB_MULTISELECTION 0x20000000L // activate Multiselection -#define SFXWB_NOREMOTE 0x40000000L #define SFX_EXTRA_AUTOEXTENSION 0x00000001L #define SFX_EXTRA_FILTEROPTIONS 0x00000002L diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 6d42b49d4ece..38415f3f261c 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -602,12 +602,6 @@ void SvtFileDialog::Init_Impl INetURLObject aStdDirObj( SvtPathOptions().GetWorkPath() ); SetStandardDir( aStdDirObj.GetMainURL( INetURLObject::NO_DECODE ) ); - // determine range - if ( !( nStyle & SFXWB_NOREMOTE ) ) - { - _pImp->_nState |= FILEDLG_STATE_REMOTE; - } - // Create control element, the order defines the tab control. _pImp->_pEdFileName->SetSelectHdl( LINK( this, SvtFileDialog, EntrySelectHdl_Impl ) ); _pImp->_pEdFileName->SetOpenHdl( LINK( this, SvtFileDialog, OpenUrlHdl_Impl ) ); diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx index c33867e2f9be..2a9e858d36f8 100644 --- a/fpicker/source/office/iodlgimp.cxx +++ b/fpicker/source/office/iodlgimp.cxx @@ -230,7 +230,6 @@ SvtExpFileDlg_Impl::SvtExpFileDlg_Impl( WinBits ) : _pBtnConnectToServer( nullptr ), _eMode ( FILEDLG_MODE_OPEN ), _eDlgType ( FILEDLG_TYPE_FILEDLG ), - _nState ( FILEDLG_STATE_REMOTE ), _nStyle ( 0 ), _bDoubleClick ( false ), m_bNeedDelayedFilterExecute ( false ), diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx index 38aa8bdb8e11..14dda9ac6993 100644 --- a/fpicker/source/office/iodlgimp.hxx +++ b/fpicker/source/office/iodlgimp.hxx @@ -112,11 +112,6 @@ protected: virtual Size GetOptimalSize() const override; }; -typedef sal_uInt8 SvtFileDlgState; - -#define FILEDLG_STATE_NONE ((SvtFileDlgState)0x00) -#define FILEDLG_STATE_REMOTE ((SvtFileDlgState)0x01) - class SvtURLBox; class SvtExpFileDlg_Impl { @@ -159,7 +154,6 @@ public: SvtFileDlgMode _eMode; SvtFileDlgType _eDlgType; - SvtFileDlgState _nState; WinBits _nStyle; OUString _aStdDir; -- cgit