summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-11 11:17:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-11 10:54:37 +0000
commitfcc2543d567fbab2396dc3ce4f4513c0c1d38108 (patch)
tree04bf68163bbe7714e643f19d6424be26322e8fd4 /fpicker
parentadcd59aebbdeba925eb5c5c4b74a90855bca286f (diff)
remove unused FILEDLG_STATE constants and fields
Change-Id: I2d7460e575b0935e5001b2c78d0ffb0dd33f3c39 Reviewed-on: https://gerrit.libreoffice.org/24880 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/fpdialogbase.hxx1
-rw-r--r--fpicker/source/office/iodlg.cxx6
-rw-r--r--fpicker/source/office/iodlgimp.cxx1
-rw-r--r--fpicker/source/office/iodlgimp.hxx6
4 files changed, 0 insertions, 14 deletions
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;