diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/chrdlg/chardlg.cxx | 9 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/frmpage.cxx | 9 | ||||
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 10 | ||||
-rw-r--r-- | sw/source/ui/misc/glossary.cxx | 9 | ||||
-rw-r--r-- | sw/source/ui/uiview/srcview.cxx | 9 |
5 files changed, 31 insertions, 15 deletions
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index faa72426f736..d852b0b2ab80 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: chardlg.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: pb $ $Date: 2001-12-06 13:50:04 $ + * last change: $Author: os $ $Date: 2002-10-25 10:07:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -143,6 +143,9 @@ #ifndef _CHARDLG_HRC #include <chardlg.hrc> #endif +#ifndef _COM_SUN_STAR_UI_DIALOGS_TEMPLATEDESCRIPTION_HPP_ +#include <com/sun/star/ui/dialogs/TemplateDescription.hpp> +#endif #ifndef _COM_SUN_STAR_UI_DIALOGS_XFILEPICKER_HPP_ #include <com/sun/star/ui/dialogs/XFilePicker.hpp> #endif @@ -430,7 +433,7 @@ SfxTabPage* SwCharURLPage::Create( Window* pParent, IMPL_LINK( SwCharURLPage, InsertFileHdl, PushButton *, pBtn ) { - FileDialogHelper aDlgHelper( FILEOPEN_SIMPLE, 0 ); + FileDialogHelper aDlgHelper( TemplateDescription::FILEOPEN_SIMPLE, 0 ); if( aDlgHelper.Execute() == ERRCODE_NONE ) { Reference < XFilePicker > xFP = aDlgHelper.GetFilePicker(); diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx index a24fb93bded7..4f93c9f1d4da 100644 --- a/sw/source/ui/frmdlg/frmpage.cxx +++ b/sw/source/ui/frmdlg/frmpage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: frmpage.cxx,v $ * - * $Revision: 1.31 $ + * $Revision: 1.32 $ * - * last change: $Author: os $ $Date: 2002-10-17 13:23:51 $ + * last change: $Author: os $ $Date: 2002-10-25 10:07:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -191,6 +191,9 @@ #ifndef _COM_SUN_STAR_UI_DIALOGS_EXTENDEDFILEPICKERELEMENTIDS_HPP_ #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #endif +#ifndef _COM_SUN_STAR_UI_DIALOGS_TEMPLATEDESCRIPTION_HPP_ +#include <com/sun/star/ui/dialogs/TemplateDescription.hpp> +#endif using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; @@ -2721,7 +2724,7 @@ SfxTabPage* SwFrmURLPage::Create(Window *pParent, const SfxItemSet &rSet) IMPL_LINK( SwFrmURLPage, InsertFileHdl, PushButton *, pBtn ) { - FileDialogHelper aDlgHelper( FILEOPEN_SIMPLE, 0 ); + FileDialogHelper aDlgHelper( TemplateDescription::FILEOPEN_SIMPLE, 0 ); Reference < XFilePicker > xFP = aDlgHelper.GetFilePicker(); String sTemp(aURLED.GetText()); diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index a00b68da1003..fcfbe507de67 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cnttab.cxx,v $ * - * $Revision: 1.47 $ + * $Revision: 1.48 $ * - * last change: $Author: os $ $Date: 2002-09-09 09:02:28 $ + * last change: $Author: os $ $Date: 2002-10-25 10:06:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -100,6 +100,9 @@ #ifndef _SVX_SIMPTABL_HXX //autogen wg. SvxSimpleTable #include <svx/simptabl.hxx> #endif +#ifndef _COM_SUN_STAR_UI_DIALOGS_TEMPLATEDESCRIPTION_HPP_ +#include <com/sun/star/ui/dialogs/TemplateDescription.hpp> +#endif #ifndef _COM_SUN_STAR_UI_DIALOGS_XFILEPICKER_HPP_ #include <com/sun/star/ui/dialogs/XFilePicker.hpp> #endif @@ -253,7 +256,8 @@ String lcl_CreateAutoMarkFileDlg( Window* pParent, const String& rURL, { String sRet; - FileDialogHelper aDlgHelper( bOpen ? FILEOPEN_SIMPLE : FILESAVE_AUTOEXTENSION, 0 ); + FileDialogHelper aDlgHelper( bOpen ? + TemplateDescription::FILEOPEN_SIMPLE : TemplateDescription::FILESAVE_AUTOEXTENSION, 0 ); Reference < XFilePicker > xFP = aDlgHelper.GetFilePicker(); Reference<XFilterManager> xFltMgr(xFP, UNO_QUERY); diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index 0aaab7dbc72f..5301ee46d4fd 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -2,9 +2,9 @@ * * $RCSfile: glossary.cxx,v $ * - * $Revision: 1.27 $ + * $Revision: 1.28 $ * - * last change: $Author: fs $ $Date: 2002-07-19 13:30:41 $ + * last change: $Author: os $ $Date: 2002-10-25 10:08:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -133,6 +133,9 @@ #ifndef _COM_SUN_STAR_UI_DIALOGS_XFILTERMANAGER_HPP_ #include <com/sun/star/ui/dialogs/XFilterManager.hpp> #endif +#ifndef _COM_SUN_STAR_UI_DIALOGS_TEMPLATEDESCRIPTION_HPP_ +#include <com/sun/star/ui/dialogs/TemplateDescription.hpp> +#endif #ifndef SVTOOLS_URIHELPER_HXX #include <svtools/urihelper.hxx> @@ -754,7 +757,7 @@ IMPL_LINK( SwGlossaryDlg, MenuHdl, Menu *, pMn ) case FN_GL_IMPORT: { // call the FileOpenDialog do find WinWord - Files with templates - FileDialogHelper aDlgHelper( FILEOPEN_SIMPLE, 0 ); + FileDialogHelper aDlgHelper( TemplateDescription::FILEOPEN_SIMPLE, 0 ); Reference < XFilePicker > xFP = aDlgHelper.GetFilePicker(); SvtPathOptions aPathOpt; diff --git a/sw/source/ui/uiview/srcview.cxx b/sw/source/ui/uiview/srcview.cxx index 9433575b173c..8be25bf88d68 100644 --- a/sw/source/ui/uiview/srcview.cxx +++ b/sw/source/ui/uiview/srcview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: srcview.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: vg $ $Date: 2002-09-03 10:51:37 $ + * last change: $Author: os $ $Date: 2002-10-25 10:08:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -84,6 +84,9 @@ #ifndef _COM_SUN_STAR_LANG_LOCALE_HPP_ #include <com/sun/star/lang/Locale.hpp> #endif +#ifndef _COM_SUN_STAR_UI_DIALOGS_TEMPLATEDESCRIPTION_HPP_ +#include <com/sun/star/ui/dialogs/TemplateDescription.hpp> +#endif #ifndef _UNOTOOLS_TEMPFILE_HXX #include <unotools/tempfile.hxx> @@ -536,7 +539,7 @@ void SwSrcView::Execute(SfxRequest& rReq) SvtPathOptions aPathOpt; Window* pParent = &GetViewFrame()->GetWindow(); - FileDialogHelper aDlgHelper( FILESAVE_SIMPLE, 0 ); + FileDialogHelper aDlgHelper( TemplateDescription::FILESAVE_SIMPLE, 0 ); Reference < XFilePicker > xFP = aDlgHelper.GetFilePicker(); // pFileDlg->SetHelpId(HID_FILEDLG_SRCVIEW); |