[Libreoffice-commits] core.git: fpicker/source

Noel Grandin noel at peralex.com
Wed May 11 10:55:03 UTC 2016


 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(-)

New commits:
commit fcc2543d567fbab2396dc3ce4f4513c0c1d38108
Author: Noel Grandin <noel at peralex.com>
Date:   Wed May 11 11:17:08 2016 +0200

    remove unused FILEDLG_STATE constants and fields
    
    Change-Id: I2d7460e575b0935e5001b2c78d0ffb0dd33f3c39
    Reviewed-on: https://gerrit.libreoffice.org/24880
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/fpicker/source/office/fpdialogbase.hxx b/fpicker/source/office/fpdialogbase.hxx
index 9d561d6..69091ae 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 6d42b49..38415f3 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 c33867e..2a9e858 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 38aa8bd..14dda9a 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;


More information about the Libreoffice-commits mailing list