Kaydet (Commit) 6f88c893 authored tarafından Szymon Kłos's avatar Szymon Kłos

RemoteFilesDialog: consistent code in the whole file

Change-Id: I994d07e631b7c8c1efdeca351754c5b3e3997bb4
üst b08c8113
...@@ -59,8 +59,8 @@ enum SvtRemoteDlgType ...@@ -59,8 +59,8 @@ enum SvtRemoteDlgType
REMOTEDLG_TYPE_PATHDLG = 1 REMOTEDLG_TYPE_PATHDLG = 1
}; };
typedef std::shared_ptr<Place> ServicePtr; typedef std::shared_ptr< Place > ServicePtr;
typedef ::com::sun::star::uno::Sequence<OUString> OUStringList; typedef ::com::sun::star::uno::Sequence< OUString > OUStringList;
class FileViewContainer; class FileViewContainer;
class Breadcrumb; class Breadcrumb;
...@@ -69,7 +69,7 @@ class FolderTree; ...@@ -69,7 +69,7 @@ class FolderTree;
class SVT_DLLPUBLIC RemoteFilesDialog : public ModalDialog class SVT_DLLPUBLIC RemoteFilesDialog : public ModalDialog
{ {
public: public:
RemoteFilesDialog(vcl::Window* pParent, WinBits nBits); RemoteFilesDialog( vcl::Window* pParent, WinBits nBits );
virtual ~RemoteFilesDialog(); virtual ~RemoteFilesDialog();
virtual void dispose() SAL_OVERRIDE; virtual void dispose() SAL_OVERRIDE;
...@@ -90,28 +90,28 @@ private: ...@@ -90,28 +90,28 @@ private:
OUString m_sPath; OUString m_sPath;
VclPtr<PushButton> m_pOpen_btn; VclPtr< PushButton > m_pOpen_btn;
VclPtr<PushButton> m_pSave_btn; VclPtr< PushButton > m_pSave_btn;
VclPtr<CancelButton> m_pCancel_btn; VclPtr< CancelButton > m_pCancel_btn;
VclPtr<MenuButton> m_pAddService_btn; VclPtr< MenuButton > m_pAddService_btn;
VclPtr<ListBox> m_pServices_lb; VclPtr< ListBox > m_pServices_lb;
VclPtr<Breadcrumb> m_pPath; VclPtr< Breadcrumb > m_pPath;
VclPtr<Splitter> m_pSplitter; VclPtr< Splitter > m_pSplitter;
VclPtr<FolderTree> m_pTreeView; VclPtr< FolderTree > m_pTreeView;
VclPtr<SvtFileView> m_pFileView; VclPtr< SvtFileView > m_pFileView;
VclPtr<FileViewContainer> m_pContainer; VclPtr< FileViewContainer > m_pContainer;
VclPtr<ListBox> m_pFilter_lb; VclPtr< ListBox > m_pFilter_lb;
VclPtr<Edit> m_pName_ed; VclPtr< Edit > m_pName_ed;
std::vector<ServicePtr> m_aServices; std::vector< ServicePtr > m_aServices;
std::vector<OUString> m_aFilters; std::vector< OUString > m_aFilters;
void FillServicesListbox(); void FillServicesListbox();
/* If failure returns < 0 */ /* If failure returns < 0 */
int GetSelectedServicePos(); int GetSelectedServicePos();
OUString getCurrentFilter(); OUString GetCurrentFilter();
FileViewResult OpenURL( OUString sURL ); FileViewResult OpenURL( OUString sURL );
......
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