summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-03-18 15:49:47 +0100
committerJan Holesovsky <kendy@suse.cz>2011-03-18 15:49:47 +0100
commit091e4aee3386f3bfee081dc8646494e0eb97f88a (patch)
treedd79298b4e8729ca7dc874274d4a33ea88fe107d /fpicker
parentf0681adbf092e2b455db52535f2df882bc87343a (diff)
parent224bd63b3fa459baa0a6bb5cd03f5dc2ca475d82 (diff)
Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts: avmedia/source/framework/mediacontrol.cxx connectivity/source/commontools/DateConversion.cxx desktop/source/deployment/registry/component/dp_component.cxx editeng/inc/editeng/numitem.hxx editeng/inc/editeng/txtrange.hxx editeng/source/editeng/editobj.cxx editeng/source/editeng/editview.cxx editeng/source/editeng/eehtml.cxx editeng/source/editeng/impedit3.cxx editeng/source/editeng/impedit4.cxx editeng/source/misc/txtrange.cxx editeng/source/outliner/outlin2.cxx editeng/source/outliner/outlvw.cxx framework/source/layoutmanager/layoutmanager.cxx linguistic/source/lngsvcmgr.hxx sfx2/source/appl/app.cxx sfx2/source/appl/app.src sfx2/source/appl/appbas.cxx sfx2/source/appl/appcfg.cxx sfx2/source/appl/appdde.cxx sfx2/source/appl/appmain.cxx sfx2/source/appl/appopen.cxx sfx2/source/appl/appquit.cxx sfx2/source/appl/appserv.cxx sfx2/source/appl/childwin.cxx sfx2/source/appl/fileobj.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/workwin.cxx sfx2/source/control/dispatch.cxx sfx2/source/control/macro.cxx sfx2/source/control/objface.cxx sfx2/source/control/request.cxx sfx2/source/control/shell.cxx sfx2/source/control/statcach.cxx sfx2/source/dialog/dinfdlg.cxx sfx2/source/dialog/dockwin.cxx sfx2/source/dialog/mailmodel.cxx sfx2/source/dialog/mailmodelapi.cxx sfx2/source/dialog/mgetempl.cxx sfx2/source/dialog/splitwin.cxx sfx2/source/dialog/styledlg.cxx sfx2/source/dialog/tabdlg.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/dialog/tplcitem.cxx sfx2/source/dialog/tplpitem.cxx sfx2/source/doc/doctempl.cxx sfx2/source/doc/docvor.cxx sfx2/source/doc/new.cxx sfx2/source/doc/objcont.cxx sfx2/source/doc/objserv.cxx sfx2/source/doc/objxtor.cxx sfx2/source/inc/appdata.hxx sfx2/source/inc/helpid.hrc sfx2/source/inc/sfxlocal.hrc sfx2/source/inc/statcach.hxx sfx2/source/inc/templdgi.hxx sfx2/source/inc/virtmenu.hxx sfx2/source/inc/workwin.hxx sfx2/source/menu/mnumgr.cxx sfx2/source/menu/virtmenu.cxx sfx2/source/statbar/stbitem.cxx sfx2/source/view/frame.cxx sfx2/source/view/frame2.cxx sfx2/source/view/orgmgr.cxx sfx2/source/view/printer.cxx sfx2/source/view/prnmon.cxx sfx2/source/view/sfxbasecontroller.cxx sfx2/source/view/viewfrm.cxx sfx2/source/view/viewfrm2.cxx sfx2/source/view/viewprn.cxx sfx2/source/view/viewsh.cxx svx/inc/svx/svditer.hxx svx/source/dialog/sdstring.src svx/source/form/fmpage.cxx svx/source/form/formcontroller.cxx svx/source/svdraw/svdcrtv.cxx svx/source/svdraw/svditer.cxx svx/source/svdraw/svdview.cxx xmloff/source/forms/elementimport.cxx
Diffstat (limited to 'fpicker')
-rwxr-xr-x[-rw-r--r--]fpicker/inc/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/inc/pch/precompiled_fpicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/inc/pch/precompiled_fpicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/prj/build.lst2
-rwxr-xr-x[-rw-r--r--]fpicker/prj/d.lst11
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/AquaFilePickerDelegate.hxx2
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/AquaFilePickerDelegate.mm2
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/CFStringUtilities.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/CFStringUtilities.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/ControlHelper.cxx4
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/ControlHelper.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/FPServiceInfo.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/FPentry.cxx26
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/FilterHelper.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/FilterHelper.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/NSString_OOoAdditions.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/NSString_OOoAdditions.mm0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/NSURL_OOoAdditions.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/NSURL_OOoAdditions.mm4
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/SalAquaConstants.h0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/SalAquaFilePicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/SalAquaFilePicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/SalAquaFolderPicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/SalAquaFolderPicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/SalAquaPicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/SalAquaPicker.hxx0
-rw-r--r--fpicker/source/aqua/fps-aqua-ucd.txt13
-rwxr-xr-xfpicker/source/aqua/fps_aqua.component37
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/fps_aqua.xml0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/makefile.mk8
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/resourceprovider.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/aqua/resourceprovider.hxx0
-rwxr-xr-xfpicker/source/generic/fpicker.component37
-rwxr-xr-x[-rw-r--r--]fpicker/source/generic/fpicker.cxx7
-rwxr-xr-x[-rw-r--r--]fpicker/source/generic/makefile.mk8
-rwxr-xr-x[-rw-r--r--]fpicker/source/odma/ODMAFilePicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/odma/ODMAFilePicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/odma/ODMAFolderPicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/odma/ODMAFolderPicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/odma/exports.map0
-rwxr-xr-x[-rw-r--r--]fpicker/source/odma/fps_odma.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/odma/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/OfficeControlAccess.cxx52
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/OfficeControlAccess.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/OfficeFilePicker.cxx8
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/OfficeFilePicker.hxx2
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/OfficeFilePicker.src0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/OfficeFolderPicker.cxx4
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/OfficeFolderPicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/asyncfilepicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/asyncfilepicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/commonpicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/commonpicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/fpinteraction.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/fpinteraction.hxx0
-rwxr-xr-xfpicker/source/office/fps_office.component37
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/fps_office.cxx7
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/fpsmartcontent.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/fpsmartcontent.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/iodlg.cxx133
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/iodlg.hrc21
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/iodlg.hxx18
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/iodlg.src19
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/iodlgimp.cxx8
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/iodlgimp.hxx2
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/makefile.mk8
-rwxr-xr-x[-rw-r--r--]fpicker/source/office/pickercallbacks.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/FPServiceInfo.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/FPentry.cxx26
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/SalGtkFilePicker.cxx59
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/SalGtkFilePicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/SalGtkFolderPicker.cxx4
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/SalGtkFolderPicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/SalGtkPicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/SalGtkPicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/eventnotification.hxx0
-rw-r--r--fpicker/source/unx/gnome/fps-gnome-ucd.txt13
-rwxr-xr-xfpicker/source/unx/gnome/fps_gnome.component37
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/fps_gnome.xml0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/makefile.mk8
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/resourceprovider.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/gnome/resourceprovider.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde/kdecommandthread.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde/kdecommandthread.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde/kdefilepicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde/kdefilepicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde/kdefpmain.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde/kdemodalityfilter.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde/kdemodalityfilter.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde4/FPServiceInfo.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde4/KDE4FPEntry.cxx21
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde4/KDE4FilePicker.cxx6
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde4/KDE4FilePicker.hxx0
-rw-r--r--fpicker/source/unx/kde4/fps-kde4-ucd.txt6
-rwxr-xr-xfpicker/source/unx/kde4/fps_kde4.component34
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde4/fps_kde4.xml0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde4/makefile.mk8
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/FPServiceInfo.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/UnxCommandThread.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/UnxCommandThread.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/UnxFPentry.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/UnxFilePicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/UnxFilePicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/UnxNotifyThread.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/UnxNotifyThread.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/fps-kde-ucd.txt0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/fps_kde.xml0
-rwxr-xr-x[-rw-r--r--]fpicker/source/unx/kde_unx/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/FPServiceInfo.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/FPentry.cxx25
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/FileOpenDlg.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/FileOpenDlg.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/FilePicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/FilePicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/FilterContainer.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/FilterContainer.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/Fps.rc0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/PreviewCtrl.cxx10
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/PreviewCtrl.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/SolarMutex.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/SolarMutex.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/VistaFilePicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/VistaFilePicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx2
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/WinFileOpenImpl.cxx6
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/WinFileOpenImpl.hxx2
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/afxres.h0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/asynceventnotifier.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/asynceventnotifier.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/asyncrequests.cxx2
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/asyncrequests.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/comptr.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/controlaccess.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/controlaccess.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/controlcommand.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/controlcommand.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/controlcommandrequest.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/controlcommandresult.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/customcontrol.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/customcontrol.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/customcontrolcontainer.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/customcontrolcontainer.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/customcontrolfactory.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/customcontrolfactory.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/dialogcustomcontrols.cxx2
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/dialogcustomcontrols.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/dibpreview.cxx6
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/dibpreview.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/eventnotification.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/filepickereventnotification.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/filepickereventnotification.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/filepickerstate.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/filepickerstate.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/fps.xml0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/getfilenamewrapper.cxx6
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/getfilenamewrapper.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/helppopupwindow.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/helppopupwindow.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/platform_vista.h0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/platform_xp.h0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/previewadapter.cxx4
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/previewadapter.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/previewbase.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/previewbase.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/propmap.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/resource.h0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/shared.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/vistatypes.h0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/workbench/Test_fps.cxx2
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/filepicker/workbench/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/FOPServiceInfo.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/FolderPicker.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/FolderPicker.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/FopEvtDisp.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/Fopentry.cxx25
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/MtaFop.cxx4
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/MtaFop.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/WinFOPImpl.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/WinFOPImpl.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/fop.xml0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/workbench/Test_fops.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/folderpicker/workbench/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/misc/AutoBuffer.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/misc/AutoBuffer.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/misc/WinImplHelper.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/misc/WinImplHelper.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/misc/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/misc/resourceprovider.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/source/win32/misc/resourceprovider.hxx0
-rwxr-xr-x[-rw-r--r--]fpicker/test/makefile.mk0
-rwxr-xr-x[-rw-r--r--]fpicker/test/svdem.cxx0
-rwxr-xr-x[-rw-r--r--]fpicker/util/exports.dxp1
-rwxr-xr-xfpicker/util/fop.component34
-rwxr-xr-xfpicker/util/fps.component34
-rwxr-xr-x[-rw-r--r--]fpicker/util/makefile.mk13
202 files changed, 510 insertions, 370 deletions
diff --git a/fpicker/inc/makefile.mk b/fpicker/inc/makefile.mk
index 8d04d47bc375..8d04d47bc375 100644..100755
--- a/fpicker/inc/makefile.mk
+++ b/fpicker/inc/makefile.mk
diff --git a/fpicker/inc/pch/precompiled_fpicker.cxx b/fpicker/inc/pch/precompiled_fpicker.cxx
index b9e46626be11..b9e46626be11 100644..100755
--- a/fpicker/inc/pch/precompiled_fpicker.cxx
+++ b/fpicker/inc/pch/precompiled_fpicker.cxx
diff --git a/fpicker/inc/pch/precompiled_fpicker.hxx b/fpicker/inc/pch/precompiled_fpicker.hxx
index 7ce2239423e0..7ce2239423e0 100644..100755
--- a/fpicker/inc/pch/precompiled_fpicker.hxx
+++ b/fpicker/inc/pch/precompiled_fpicker.hxx
diff --git a/fpicker/prj/build.lst b/fpicker/prj/build.lst
index 04872c535437..75459777d829 100644..100755
--- a/fpicker/prj/build.lst
+++ b/fpicker/prj/build.lst
@@ -1,4 +1,4 @@
-fp fpicker : l10n rdbmaker svtools NULL
+fp fpicker : LIBXSLT:libxslt L10N:l10n rdbmaker svtools NULL
fp fpicker\inc nmake - all fp_inc NULL
fp fpicker\source\generic nmake - all fp_generic fp_inc NULL
fp fpicker\source\office nmake - all fp_office fp_inc NULL
diff --git a/fpicker/prj/d.lst b/fpicker/prj/d.lst
index 33035f34c75b..f16a913f3cc4 100644..100755
--- a/fpicker/prj/d.lst
+++ b/fpicker/prj/d.lst
@@ -10,7 +10,10 @@ mkdir: %COMMON_DEST%\bin%_EXT%\hid
..\source\win32\filepicker\*.xml %_DEST%\xml%_EXT%\*.xml
..\source\win32\folderpicker\*.xml %_DEST%\xml%_EXT%\*.xml
-..\source\unx\gnome\fps-gnome-ucd.txt %_DEST%\bin%_EXT%\fps-gnome-ucd.txt
-..\source\unx\kde4\fps-kde4-ucd.txt %_DEST%\bin%_EXT%\fps-kde4-ucd.txt
-..\source\aqua\fps-aqua-ucd.txt %_DEST%\bin%_EXT%\fps-aqua-ucd.txt
-..\source\unx\kde_unx\fps-kde-ucd.txt %_DEST%\bin%_EXT%\fps-kde-ucd.txt
+..\%__SRC%\misc\fop.component %_DEST%\xml%_EXT%\fop.component
+..\%__SRC%\misc\fpicker.component %_DEST%\xml%_EXT%\fpicker.component
+..\%__SRC%\misc\fps.component %_DEST%\xml%_EXT%\fps.component
+..\%__SRC%\misc\fps_aqua.component %_DEST%\xml%_EXT%\fps_aqua.component
+..\%__SRC%\misc\fps_gnome.component %_DEST%\xml%_EXT%\fps_gnome.component
+..\%__SRC%\misc\fps_kde4.component %_DEST%\xml%_EXT%\fps_kde4.component
+..\%__SRC%\misc\fps_office.component %_DEST%\xml%_EXT%\fps_office.component
diff --git a/fpicker/source/aqua/AquaFilePickerDelegate.hxx b/fpicker/source/aqua/AquaFilePickerDelegate.hxx
index 4ae6eecb04c9..21b7ede9a745 100644..100755
--- a/fpicker/source/aqua/AquaFilePickerDelegate.hxx
+++ b/fpicker/source/aqua/AquaFilePickerDelegate.hxx
@@ -46,7 +46,7 @@ class FilterHelper;
- (void)setFilterHelper:(FilterHelper*)filterHelper;
-- (MacOSBOOL)panel:(id)sender shouldShowFilename:(NSString *)filename;
+- (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename;
- (void)panelSelectionDidChange:(id)sender;
- (void)panel:(id)sender directoryDidChange:(NSString *)path;
diff --git a/fpicker/source/aqua/AquaFilePickerDelegate.mm b/fpicker/source/aqua/AquaFilePickerDelegate.mm
index 4266453a7102..d5c906281475 100644..100755
--- a/fpicker/source/aqua/AquaFilePickerDelegate.mm
+++ b/fpicker/source/aqua/AquaFilePickerDelegate.mm
@@ -56,7 +56,7 @@
#pragma mark NSSavePanel delegate methods
-- (MacOSBOOL)panel:(id)sender shouldShowFilename:(NSString *)filename
+- (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename
{
if( filterHelper == NULL )
return true;
diff --git a/fpicker/source/aqua/CFStringUtilities.cxx b/fpicker/source/aqua/CFStringUtilities.cxx
index 7d9293d7a1f1..7d9293d7a1f1 100644..100755
--- a/fpicker/source/aqua/CFStringUtilities.cxx
+++ b/fpicker/source/aqua/CFStringUtilities.cxx
diff --git a/fpicker/source/aqua/CFStringUtilities.hxx b/fpicker/source/aqua/CFStringUtilities.hxx
index 578782b5567c..578782b5567c 100644..100755
--- a/fpicker/source/aqua/CFStringUtilities.hxx
+++ b/fpicker/source/aqua/CFStringUtilities.hxx
diff --git a/fpicker/source/aqua/ControlHelper.cxx b/fpicker/source/aqua/ControlHelper.cxx
index f7265874f76f..a29abb7d24a2 100644..100755
--- a/fpicker/source/aqua/ControlHelper.cxx
+++ b/fpicker/source/aqua/ControlHelper.cxx
@@ -341,8 +341,8 @@ void ControlHelper::createUserPane()
int currentHeight = kAquaSpaceBoxFrameViewDiffTop + kAquaSpaceBoxFrameViewDiffBottom;
int currentWidth = 300;
- BOOL bPopupControlPresent = NO;
- BOOL bButtonControlPresent = NO;
+ sal_Bool bPopupControlPresent = NO;
+ sal_Bool bButtonControlPresent = NO;
int nCheckboxMaxWidth = 0;
int nPopupMaxWidth = 0;
diff --git a/fpicker/source/aqua/ControlHelper.hxx b/fpicker/source/aqua/ControlHelper.hxx
index 23dd79bc332f..23dd79bc332f 100644..100755
--- a/fpicker/source/aqua/ControlHelper.hxx
+++ b/fpicker/source/aqua/ControlHelper.hxx
diff --git a/fpicker/source/aqua/FPServiceInfo.hxx b/fpicker/source/aqua/FPServiceInfo.hxx
index c3cb6b841b44..c3cb6b841b44 100644..100755
--- a/fpicker/source/aqua/FPServiceInfo.hxx
+++ b/fpicker/source/aqua/FPServiceInfo.hxx
diff --git a/fpicker/source/aqua/FPentry.cxx b/fpicker/source/aqua/FPentry.cxx
index 3a264fc61789..83e915bbb6ca 100644..100755
--- a/fpicker/source/aqua/FPentry.cxx
+++ b/fpicker/source/aqua/FPentry.cxx
@@ -80,32 +80,6 @@ void SAL_CALL component_getImplementationEnvironment(
//
//------------------------------------------------
-sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey )
-{
- sal_Bool bRetVal = sal_True;
-
- if ( pRegistryKey )
- {
- try
- {
- Reference< XRegistryKey > pXNewKey( static_cast< XRegistryKey* >( pRegistryKey ) );
- pXNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( FILE_PICKER_REGKEY_NAME ) ));
- pXNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( FOLDER_PICKER_REGKEY_NAME ) ));
- }
- catch( InvalidRegistryException& )
- {
- OSL_ENSURE( sal_False, "InvalidRegistryException caught" );
- bRetVal = sal_False;
- }
- }
-
- return bRetVal;
-}
-
-//------------------------------------------------
-//
-//------------------------------------------------
-
void* SAL_CALL component_getFactory(
const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
{
diff --git a/fpicker/source/aqua/FilterHelper.cxx b/fpicker/source/aqua/FilterHelper.cxx
index c0a590977ca3..c0a590977ca3 100644..100755
--- a/fpicker/source/aqua/FilterHelper.cxx
+++ b/fpicker/source/aqua/FilterHelper.cxx
diff --git a/fpicker/source/aqua/FilterHelper.hxx b/fpicker/source/aqua/FilterHelper.hxx
index 8e8bcc4b6cf7..8e8bcc4b6cf7 100644..100755
--- a/fpicker/source/aqua/FilterHelper.hxx
+++ b/fpicker/source/aqua/FilterHelper.hxx
diff --git a/fpicker/source/aqua/NSString_OOoAdditions.hxx b/fpicker/source/aqua/NSString_OOoAdditions.hxx
index 65551d15f17e..65551d15f17e 100644..100755
--- a/fpicker/source/aqua/NSString_OOoAdditions.hxx
+++ b/fpicker/source/aqua/NSString_OOoAdditions.hxx
diff --git a/fpicker/source/aqua/NSString_OOoAdditions.mm b/fpicker/source/aqua/NSString_OOoAdditions.mm
index 6707cff4c847..6707cff4c847 100644..100755
--- a/fpicker/source/aqua/NSString_OOoAdditions.mm
+++ b/fpicker/source/aqua/NSString_OOoAdditions.mm
diff --git a/fpicker/source/aqua/NSURL_OOoAdditions.hxx b/fpicker/source/aqua/NSURL_OOoAdditions.hxx
index b5ef549ea51b..b5ef549ea51b 100644..100755
--- a/fpicker/source/aqua/NSURL_OOoAdditions.hxx
+++ b/fpicker/source/aqua/NSURL_OOoAdditions.hxx
diff --git a/fpicker/source/aqua/NSURL_OOoAdditions.mm b/fpicker/source/aqua/NSURL_OOoAdditions.mm
index ecc38b7e232b..6be80a765228 100644..100755
--- a/fpicker/source/aqua/NSURL_OOoAdditions.mm
+++ b/fpicker/source/aqua/NSURL_OOoAdditions.mm
@@ -92,8 +92,8 @@ NSString* resolveAlias( NSString* i_pSystemPath )
FSRef rFS;
if( CFURLGetFSRef( rUrl, &rFS ) )
{
- MacOSBoolean bIsFolder = false;
- MacOSBoolean bAlias = false;
+ Boolean bIsFolder = false;
+ Boolean bAlias = false;
OSErr err = FSResolveAliasFile( &rFS, true, &bIsFolder, &bAlias);
if( (err == noErr) && bAlias )
{
diff --git a/fpicker/source/aqua/SalAquaConstants.h b/fpicker/source/aqua/SalAquaConstants.h
index 7a1ecd353abe..7a1ecd353abe 100644..100755
--- a/fpicker/source/aqua/SalAquaConstants.h
+++ b/fpicker/source/aqua/SalAquaConstants.h
diff --git a/fpicker/source/aqua/SalAquaFilePicker.cxx b/fpicker/source/aqua/SalAquaFilePicker.cxx
index 12846f54caf3..12846f54caf3 100644..100755
--- a/fpicker/source/aqua/SalAquaFilePicker.cxx
+++ b/fpicker/source/aqua/SalAquaFilePicker.cxx
diff --git a/fpicker/source/aqua/SalAquaFilePicker.hxx b/fpicker/source/aqua/SalAquaFilePicker.hxx
index 54b85a651e6e..54b85a651e6e 100644..100755
--- a/fpicker/source/aqua/SalAquaFilePicker.hxx
+++ b/fpicker/source/aqua/SalAquaFilePicker.hxx
diff --git a/fpicker/source/aqua/SalAquaFolderPicker.cxx b/fpicker/source/aqua/SalAquaFolderPicker.cxx
index 7f269ec2b3c4..7f269ec2b3c4 100644..100755
--- a/fpicker/source/aqua/SalAquaFolderPicker.cxx
+++ b/fpicker/source/aqua/SalAquaFolderPicker.cxx
diff --git a/fpicker/source/aqua/SalAquaFolderPicker.hxx b/fpicker/source/aqua/SalAquaFolderPicker.hxx
index 8cd643e24029..8cd643e24029 100644..100755
--- a/fpicker/source/aqua/SalAquaFolderPicker.hxx
+++ b/fpicker/source/aqua/SalAquaFolderPicker.hxx
diff --git a/fpicker/source/aqua/SalAquaPicker.cxx b/fpicker/source/aqua/SalAquaPicker.cxx
index 43962a30d3d5..43962a30d3d5 100644..100755
--- a/fpicker/source/aqua/SalAquaPicker.cxx
+++ b/fpicker/source/aqua/SalAquaPicker.cxx
diff --git a/fpicker/source/aqua/SalAquaPicker.hxx b/fpicker/source/aqua/SalAquaPicker.hxx
index 001dac2d7d92..001dac2d7d92 100644..100755
--- a/fpicker/source/aqua/SalAquaPicker.hxx
+++ b/fpicker/source/aqua/SalAquaPicker.hxx
diff --git a/fpicker/source/aqua/fps-aqua-ucd.txt b/fpicker/source/aqua/fps-aqua-ucd.txt
deleted file mode 100644
index d71e8f4a574f..000000000000
--- a/fpicker/source/aqua/fps-aqua-ucd.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-[ComponentDescriptor]
-ImplementationName=com.sun.star.ui.dialogs.SalAquaFilePicker
-ComponentName=fps_aqua.uno.dylib
-LoaderName=com.sun.star.loader.SharedLibrary
-[SupportedServices]
-com.sun.star.ui.dialogs.AquaFilePicker
-
-[ComponentDescriptor]
-ImplementationName=com.sun.star.ui.dialogs.SalAquaFolderPicker
-ComponentName=fps_aqua.uno.dylib
-LoaderName=com.sun.star.loader.SharedLibrary
-[SupportedServices]
-com.sun.star.ui.dialogs.AquaFolderPicker
diff --git a/fpicker/source/aqua/fps_aqua.component b/fpicker/source/aqua/fps_aqua.component
new file mode 100755
index 000000000000..a04443e37ffd
--- /dev/null
+++ b/fpicker/source/aqua/fps_aqua.component
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.ui.dialogs.SalAquaFilePicker">
+ <service name="com.sun.star.ui.dialogs.AquaFilePicker"/>
+ </implementation>
+ <implementation name="com.sun.star.ui.dialogs.SalAquaFolderPicker">
+ <service name="com.sun.star.ui.dialogs.AquaFolderPicker"/>
+ </implementation>
+</component>
diff --git a/fpicker/source/aqua/fps_aqua.xml b/fpicker/source/aqua/fps_aqua.xml
index 955ad4e32886..955ad4e32886 100644..100755
--- a/fpicker/source/aqua/fps_aqua.xml
+++ b/fpicker/source/aqua/fps_aqua.xml
diff --git a/fpicker/source/aqua/makefile.mk b/fpicker/source/aqua/makefile.mk
index 10990e22d5e1..ff0473c8a71e 100644..100755
--- a/fpicker/source/aqua/makefile.mk
+++ b/fpicker/source/aqua/makefile.mk
@@ -83,3 +83,11 @@ DEF1NAME=$(SHL1TARGET)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/fps_aqua.component
+
+$(MISC)/fps_aqua.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ fps_aqua.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt fps_aqua.component
diff --git a/fpicker/source/aqua/resourceprovider.cxx b/fpicker/source/aqua/resourceprovider.cxx
index bc821ec4730a..bc821ec4730a 100644..100755
--- a/fpicker/source/aqua/resourceprovider.cxx
+++ b/fpicker/source/aqua/resourceprovider.cxx
diff --git a/fpicker/source/aqua/resourceprovider.hxx b/fpicker/source/aqua/resourceprovider.hxx
index 6300def58f07..6300def58f07 100644..100755
--- a/fpicker/source/aqua/resourceprovider.hxx
+++ b/fpicker/source/aqua/resourceprovider.hxx
diff --git a/fpicker/source/generic/fpicker.component b/fpicker/source/generic/fpicker.component
new file mode 100755
index 000000000000..7d44d006d960
--- /dev/null
+++ b/fpicker/source/generic/fpicker.component
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.fpicker.FilePicker">
+ <service name="com.sun.star.ui.dialogs.FilePicker"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.fpicker.FolderPicker">
+ <service name="com.sun.star.ui.dialogs.FolderPicker"/>
+ </implementation>
+</component>
diff --git a/fpicker/source/generic/fpicker.cxx b/fpicker/source/generic/fpicker.cxx
index 1bfdf5a8fae7..77171bce8aa1 100644..100755
--- a/fpicker/source/generic/fpicker.cxx
+++ b/fpicker/source/generic/fpicker.cxx
@@ -233,13 +233,6 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment (
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
-SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo (
- void * pServiceManager, void * pRegistryKey)
-{
- return cppu::component_writeInfoHelper (
- pServiceManager, pRegistryKey, g_entries);
-}
-
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory (
const sal_Char * pImplementationName, void * pServiceManager, void * pRegistryKey)
{
diff --git a/fpicker/source/generic/makefile.mk b/fpicker/source/generic/makefile.mk
index f426bd7ad7d1..29f900ac41da 100644..100755
--- a/fpicker/source/generic/makefile.mk
+++ b/fpicker/source/generic/makefile.mk
@@ -61,3 +61,11 @@ DEF1NAME= $(SHL1TARGET)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/fpicker.component
+
+$(MISC)/fpicker.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ fpicker.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt fpicker.component
diff --git a/fpicker/source/odma/ODMAFilePicker.cxx b/fpicker/source/odma/ODMAFilePicker.cxx
index 80b767dd91f5..80b767dd91f5 100644..100755
--- a/fpicker/source/odma/ODMAFilePicker.cxx
+++ b/fpicker/source/odma/ODMAFilePicker.cxx
diff --git a/fpicker/source/odma/ODMAFilePicker.hxx b/fpicker/source/odma/ODMAFilePicker.hxx
index bb389d8cb8cb..bb389d8cb8cb 100644..100755
--- a/fpicker/source/odma/ODMAFilePicker.hxx
+++ b/fpicker/source/odma/ODMAFilePicker.hxx
diff --git a/fpicker/source/odma/ODMAFolderPicker.cxx b/fpicker/source/odma/ODMAFolderPicker.cxx
index 15490f4503a8..15490f4503a8 100644..100755
--- a/fpicker/source/odma/ODMAFolderPicker.cxx
+++ b/fpicker/source/odma/ODMAFolderPicker.cxx
diff --git a/fpicker/source/odma/ODMAFolderPicker.hxx b/fpicker/source/odma/ODMAFolderPicker.hxx
index 880d5a534500..880d5a534500 100644..100755
--- a/fpicker/source/odma/ODMAFolderPicker.hxx
+++ b/fpicker/source/odma/ODMAFolderPicker.hxx
diff --git a/fpicker/source/odma/exports.map b/fpicker/source/odma/exports.map
index f4ed78b9e970..f4ed78b9e970 100644..100755
--- a/fpicker/source/odma/exports.map
+++ b/fpicker/source/odma/exports.map
diff --git a/fpicker/source/odma/fps_odma.cxx b/fpicker/source/odma/fps_odma.cxx
index 6d7642ca0674..6d7642ca0674 100644..100755
--- a/fpicker/source/odma/fps_odma.cxx
+++ b/fpicker/source/odma/fps_odma.cxx
diff --git a/fpicker/source/odma/makefile.mk b/fpicker/source/odma/makefile.mk
index 3cc62d6f94c4..3cc62d6f94c4 100644..100755
--- a/fpicker/source/odma/makefile.mk
+++ b/fpicker/source/odma/makefile.mk
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx
index de223c446765..50632bf89d95 100644..100755
--- a/fpicker/source/office/OfficeControlAccess.cxx
+++ b/fpicker/source/office/OfficeControlAccess.cxx
@@ -36,6 +36,7 @@
#include <com/sun/star/ui/dialogs/ControlActions.hpp>
#include <vcl/lstbox.hxx>
#include <com/sun/star/uno/Sequence.hxx>
+#include <tools/urlobj.hxx>
#include <algorithm>
#include <functional>
@@ -201,37 +202,36 @@ namespace svt
}
//---------------------------------------------------------------------
- void OControlAccess::setHelpURL( Window* _pControl, const ::rtl::OUString& _rURL, sal_Bool _bFileView )
+ void OControlAccess::setHelpURL( Window* _pControl, const ::rtl::OUString& sHelpURL, sal_Bool _bFileView )
{
- String sHelpURL( _rURL );
- if ( COMPARE_EQUAL == sHelpURL.CompareIgnoreCaseToAscii( "HID:", sizeof( "HID:" ) - 1 ) )
- {
- String sID = sHelpURL.Copy( sizeof( "HID:" ) - 1 );
- sal_Int32 nHelpId = sID.ToInt32();
+ rtl::OUString sHelpID( sHelpURL );
+ INetURLObject aHID( sHelpURL );
+ if ( aHID.GetProtocol() == INET_PROT_HID )
+ sHelpID = aHID.GetURLPath();
- if ( _bFileView )
- // the file view "overloaded" the SetHelpId
- static_cast< SvtFileView* >( _pControl )->SetHelpId( nHelpId );
- else
- _pControl->SetHelpId( nHelpId );
- }
+ // URLs should always be UTF8 encoded and escaped
+ rtl::OString sID( rtl::OUStringToOString( sHelpID, RTL_TEXTENCODING_UTF8 ) );
+ if ( _bFileView )
+ // the file view "overloaded" the SetHelpId
+ static_cast< SvtFileView* >( _pControl )->SetHelpId( sID );
else
- {
- DBG_ERRORFILE( "OControlAccess::setHelpURL: unsupported help URL type!" );
- }
+ _pControl->SetHelpId( sID );
}
//---------------------------------------------------------------------
::rtl::OUString OControlAccess::getHelpURL( Window* _pControl, sal_Bool _bFileView )
{
- sal_Int32 nHelpId = _pControl->GetHelpId();
+ rtl::OString aHelpId = _pControl->GetHelpId();
if ( _bFileView )
// the file view "overloaded" the SetHelpId
- nHelpId = static_cast< SvtFileView* >( _pControl )->GetHelpId( );
-
- ::rtl::OUString sHelpURL( RTL_CONSTASCII_USTRINGPARAM( "HID:" ) );
- sHelpURL += ::rtl::OUString::valueOf( (sal_Int32)nHelpId );
-
+ aHelpId = static_cast< SvtFileView* >( _pControl )->GetHelpId( );
+
+ ::rtl::OUString sHelpURL;
+ ::rtl::OUString aTmp( rtl::OStringToOUString( aHelpId, RTL_TEXTENCODING_UTF8 ) );
+ INetURLObject aHID( aTmp );
+ if ( aHID.GetProtocol() == INET_PROT_NOT_VALID )
+ sHelpURL = rtl::OUString::createFromAscii( INET_HID_SCHEME );
+ sHelpURL += aTmp;
return sHelpURL;
}
@@ -539,7 +539,7 @@ namespace svt
{
sal_Int32 nPos = 0;
if ( _rValue >>= nPos )
- _pListbox->RemoveEntry( (USHORT) nPos );
+ _pListbox->RemoveEntry( (sal_uInt16) nPos );
}
break;
@@ -677,7 +677,7 @@ namespace svt
sal_Int32 nPos = 0;
if ( _rValue >>= nPos )
{
- static_cast< ListBox* >( _pControl )->SelectEntryPos( (USHORT) nPos );
+ static_cast< ListBox* >( _pControl )->SelectEntryPos( (sal_uInt16) nPos );
}
else if ( !_bIgnoreIllegalArgument )
{
@@ -739,7 +739,7 @@ namespace svt
Sequence< ::rtl::OUString > aItems( static_cast< ListBox* >( _pControl )->GetEntryCount() );
::rtl::OUString* pItems = aItems.getArray();
- for ( USHORT i=0; i<static_cast< ListBox* >( _pControl )->GetEntryCount(); ++i )
+ for ( sal_uInt16 i=0; i<static_cast< ListBox* >( _pControl )->GetEntryCount(); ++i )
*pItems++ = static_cast< ListBox* >( _pControl )->GetEntry( i );
aReturn <<= aItems;
@@ -751,7 +751,7 @@ namespace svt
DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(),
"OControlAccess::implGetControlProperty: invalid control/property combination!" );
- USHORT nSelected = static_cast< ListBox* >( _pControl )->GetSelectEntryPos();
+ sal_uInt16 nSelected = static_cast< ListBox* >( _pControl )->GetSelectEntryPos();
::rtl::OUString sSelected;
if ( LISTBOX_ENTRY_NOTFOUND != nSelected )
sSelected = static_cast< ListBox* >( _pControl )->GetSelectEntry();
@@ -764,7 +764,7 @@ namespace svt
DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(),
"OControlAccess::implGetControlProperty: invalid control/property combination!" );
- USHORT nSelected = static_cast< ListBox* >( _pControl )->GetSelectEntryPos();
+ sal_uInt16 nSelected = static_cast< ListBox* >( _pControl )->GetSelectEntryPos();
if ( LISTBOX_ENTRY_NOTFOUND != nSelected )
aReturn <<= (sal_Int32)static_cast< ListBox* >( _pControl )->GetSelectEntryPos();
else
diff --git a/fpicker/source/office/OfficeControlAccess.hxx b/fpicker/source/office/OfficeControlAccess.hxx
index 44bd416f60c1..44bd416f60c1 100644..100755
--- a/fpicker/source/office/OfficeControlAccess.hxx
+++ b/fpicker/source/office/OfficeControlAccess.hxx
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index 47d774bc4d78..a14fc476aca8 100644..100755
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -476,7 +476,7 @@ sal_Int16 SvtFilePicker::implExecutePicker( )
prepareExecute();
- getDialog()->EnableAutocompletion( TRUE );
+ getDialog()->EnableAutocompletion( sal_True );
// now we are ready to execute the dialog
sal_Int16 nRet = getDialog()->Execute();
@@ -548,7 +548,7 @@ void SAL_CALL SvtFilePicker::startExecuteModal( const Reference< ::com::sun::sta
m_xDlgClosedListener = xListener;
prepareDialog();
prepareExecute();
- getDialog()->EnableAutocompletion( TRUE );
+ getDialog()->EnableAutocompletion( sal_True );
getDialog()->StartExecuteModal( LINK( this, SvtFilePicker, DialogClosedHdl ) );
}
@@ -624,8 +624,8 @@ Sequence< rtl::OUString > SAL_CALL SvtFilePicker::getFiles() throw( RuntimeExcep
// files first and then the list of the selected entries
SvStringsDtor* pPathList = getDialog()->GetPathList();
- USHORT i, nCount = pPathList->Count();
- USHORT nTotal = nCount > 1 ? nCount+1: nCount;
+ sal_uInt16 i, nCount = pPathList->Count();
+ sal_uInt16 nTotal = nCount > 1 ? nCount+1: nCount;
Sequence< rtl::OUString > aPath( nTotal );
diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx
index 360e497090b0..d0218461f8f2 100644..100755
--- a/fpicker/source/office/OfficeFilePicker.hxx
+++ b/fpicker/source/office/OfficeFilePicker.hxx
@@ -41,7 +41,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
-#include <vcl/wintypes.hxx>
+#include <tools/wintypes.hxx>
#include "commonpicker.hxx"
#include "pickercallbacks.hxx"
diff --git a/fpicker/source/office/OfficeFilePicker.src b/fpicker/source/office/OfficeFilePicker.src
index 8fbbc35a40e5..8fbbc35a40e5 100644..100755
--- a/fpicker/source/office/OfficeFilePicker.src
+++ b/fpicker/source/office/OfficeFilePicker.src
diff --git a/fpicker/source/office/OfficeFolderPicker.cxx b/fpicker/source/office/OfficeFolderPicker.cxx
index 945616b5ec4a..337f85c02581 100644..100755
--- a/fpicker/source/office/OfficeFolderPicker.cxx
+++ b/fpicker/source/office/OfficeFolderPicker.cxx
@@ -109,7 +109,7 @@ void SAL_CALL SvtFolderPicker::startExecuteModal( const Reference< ::com::sun::s
m_xListener = xListener;
prepareDialog();
prepareExecute();
- getDialog()->EnableAutocompletion( TRUE );
+ getDialog()->EnableAutocompletion( sal_True );
getDialog()->StartExecuteModal( LINK( this, SvtFolderPicker, DialogClosedHdl ) );
}
@@ -125,7 +125,7 @@ sal_Int16 SvtFolderPicker::implExecutePicker( )
prepareExecute();
// now we are ready to execute the dialog
- getDialog()->EnableAutocompletion( FALSE );
+ getDialog()->EnableAutocompletion( sal_False );
sal_Int16 nRet = getDialog()->Execute();
return nRet;
diff --git a/fpicker/source/office/OfficeFolderPicker.hxx b/fpicker/source/office/OfficeFolderPicker.hxx
index 273f971edb5a..273f971edb5a 100644..100755
--- a/fpicker/source/office/OfficeFolderPicker.hxx
+++ b/fpicker/source/office/OfficeFolderPicker.hxx
diff --git a/fpicker/source/office/asyncfilepicker.cxx b/fpicker/source/office/asyncfilepicker.cxx
index 9062a18d577e..9062a18d577e 100644..100755
--- a/fpicker/source/office/asyncfilepicker.cxx
+++ b/fpicker/source/office/asyncfilepicker.cxx
diff --git a/fpicker/source/office/asyncfilepicker.hxx b/fpicker/source/office/asyncfilepicker.hxx
index 4ec9be11ec31..4ec9be11ec31 100644..100755
--- a/fpicker/source/office/asyncfilepicker.hxx
+++ b/fpicker/source/office/asyncfilepicker.hxx
diff --git a/fpicker/source/office/commonpicker.cxx b/fpicker/source/office/commonpicker.cxx
index f360770dea4b..f360770dea4b 100644..100755
--- a/fpicker/source/office/commonpicker.cxx
+++ b/fpicker/source/office/commonpicker.cxx
diff --git a/fpicker/source/office/commonpicker.hxx b/fpicker/source/office/commonpicker.hxx
index 6422019affa5..6422019affa5 100644..100755
--- a/fpicker/source/office/commonpicker.hxx
+++ b/fpicker/source/office/commonpicker.hxx
diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx
index 4f5d906737af..4f5d906737af 100644..100755
--- a/fpicker/source/office/fpinteraction.cxx
+++ b/fpicker/source/office/fpinteraction.cxx
diff --git a/fpicker/source/office/fpinteraction.hxx b/fpicker/source/office/fpinteraction.hxx
index 88a2590384cf..88a2590384cf 100644..100755
--- a/fpicker/source/office/fpinteraction.hxx
+++ b/fpicker/source/office/fpinteraction.hxx
diff --git a/fpicker/source/office/fps_office.component b/fpicker/source/office/fps_office.component
new file mode 100755
index 000000000000..3e49f68a49db
--- /dev/null
+++ b/fpicker/source/office/fps_office.component
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.svtools.OfficeFilePicker">
+ <service name="com.sun.star.ui.dialogs.OfficeFilePicker"/>
+ </implementation>
+ <implementation name="com.sun.star.svtools.OfficeFolderPicker">
+ <service name="com.sun.star.ui.dialogs.OfficeFolderPicker"/>
+ </implementation>
+</component>
diff --git a/fpicker/source/office/fps_office.cxx b/fpicker/source/office/fps_office.cxx
index 77160e4a8253..29eb084335fc 100644..100755
--- a/fpicker/source/office/fps_office.cxx
+++ b/fpicker/source/office/fps_office.cxx
@@ -62,13 +62,6 @@ component_getImplementationEnvironment(
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
-SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
- void * pServiceManager, void * pRegistryKey)
-{
- return cppu::component_writeInfoHelper (
- pServiceManager, pRegistryKey, g_entries);
-}
-
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
const sal_Char * pImplementationName, void * pServiceManager, void * pRegistryKey)
{
diff --git a/fpicker/source/office/fpsmartcontent.cxx b/fpicker/source/office/fpsmartcontent.cxx
index b66cd8ac05a6..b66cd8ac05a6 100644..100755
--- a/fpicker/source/office/fpsmartcontent.cxx
+++ b/fpicker/source/office/fpsmartcontent.cxx
diff --git a/fpicker/source/office/fpsmartcontent.hxx b/fpicker/source/office/fpsmartcontent.hxx
index e16c288678b1..e16c288678b1 100644..100755
--- a/fpicker/source/office/fpsmartcontent.hxx
+++ b/fpicker/source/office/fpsmartcontent.hxx
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 478d4c9ac405..bda16353eb34 100644..100755
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -398,7 +398,7 @@ struct ControlChain_Impl
{
Window* _pControl;
ControlChain_Impl* _pNext;
- BOOL _bHasOwnerShip;
+ sal_Bool _bHasOwnerShip;
ControlChain_Impl( Window* pControl, ControlChain_Impl* pNext );
~ControlChain_Impl();
@@ -413,7 +413,7 @@ ControlChain_Impl::ControlChain_Impl
)
: _pControl( pControl ),
_pNext( pNext ),
- _bHasOwnerShip( TRUE )
+ _bHasOwnerShip( sal_True )
{
}
@@ -451,7 +451,7 @@ namespace
struct SvtResId : public ResId
{
- SvtResId (USHORT nId) : ResId (nId, *ResMgrHolder::getOrCreate()) {}
+ SvtResId (sal_uInt16 nId) : ResId (nId, *ResMgrHolder::getOrCreate()) {}
};
}
@@ -478,7 +478,7 @@ SvtFileDialog::SvtFileDialog
,_pFileNotifier( NULL )
,_pImp( new SvtExpFileDlg_Impl( nBits ) )
,_nExtraBits( nExtraBits )
- ,_bIsInExecute( FALSE )
+ ,_bIsInExecute( sal_False )
,m_bInExecuteAsync( false )
,m_bHasFilename( false )
{
@@ -501,7 +501,7 @@ SvtFileDialog::SvtFileDialog ( Window* _pParent, WinBits nBits )
,_pFileNotifier( NULL )
,_pImp( new SvtExpFileDlg_Impl( nBits ) )
,_nExtraBits( 0L )
- ,_bIsInExecute( FALSE )
+ ,_bIsInExecute( sal_False )
,m_bHasFilename( false )
{
Init_Impl( nBits );
@@ -626,7 +626,7 @@ void SvtFileDialog::Init_Impl
_pImp->_pBtnStandard->SetAccessibleName( _pImp->_pBtnStandard->GetQuickHelpText() );
if ( ( nStyle & SFXWB_MULTISELECTION ) == SFXWB_MULTISELECTION )
- _pImp->_bMultiSelection = TRUE;
+ _pImp->_bMultiSelection = sal_True;
_pFileView = new SvtFileView( this, SvtResId( CTL_EXPLORERFILE_FILELIST ),
FILEDLG_TYPE_PATHDLG == _pImp->_eDlgType,
@@ -655,7 +655,7 @@ void SvtFileDialog::Init_Impl
LogicToPixel( Size( 3, 0 ), MAP_APPFONT ).Width();
// calculate the length of all buttons
- const USHORT nBtnCount = 3; // "previous level", "new folder" and "standard dir"
+ const sal_uInt16 nBtnCount = 3; // "previous level", "new folder" and "standard dir"
long nDelta = n6AppFontInPixel; // right border
nDelta += ( nBtnCount * aSize.Width() ); // button count * button width
nDelta += ( n3AppFontInPixel + n3AppFontInPixel / 2 ); // spacing 1*big 1*small
@@ -745,8 +745,8 @@ void SvtFileDialog::Init_Impl
SetSizePixel( aSize );
// adjust the labels to the mode
- USHORT nResId = STR_EXPLORERFILE_OPEN;
- USHORT nButtonResId = 0;
+ sal_uInt16 nResId = STR_EXPLORERFILE_OPEN;
+ sal_uInt16 nButtonResId = 0;
if ( nStyle & WB_SAVEAS )
{
@@ -924,7 +924,7 @@ sal_uInt16 SvtFileDialog::adjustFilter( const String& _rFilter )
sal_Bool bFilterChanged = sal_True;
// search for a corresponding filter
- SvtFileDialogFilter_Impl* pFilter = FindFilter_Impl( _rFilter, FALSE, bFilterChanged );
+ SvtFileDialogFilter_Impl* pFilter = FindFilter_Impl( _rFilter, sal_False, bFilterChanged );
#ifdef AUTOSELECT_USERFILTER
// if we found a filter which without allowing multi-extensions -> select it
@@ -937,7 +937,7 @@ sal_uInt16 SvtFileDialog::adjustFilter( const String& _rFilter )
// look for multi-ext filters if necessary
if ( !pFilter )
- pFilter = FindFilter_Impl( _rFilter, TRUE, bFilterChanged );
+ pFilter = FindFilter_Impl( _rFilter, sal_True, bFilterChanged );
if ( bFilterChanged )
nReturn |= FLT_CHANGED;
@@ -986,7 +986,7 @@ IMPL_LINK( SvtFileDialog, CancelHdl_Impl, void*, EMPTYARG )
}
else
{
- EndDialog( FALSE );
+ EndDialog( sal_False );
}
return 1L;
}
@@ -1063,7 +1063,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid )
return 0;
}
- USHORT nLen = aFileName.Len();
+ sal_uInt16 nLen = aFileName.Len();
if ( !nLen )
{
// if the dialog was opened to select a folder, the last selected folder should be selected
@@ -1105,7 +1105,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid )
}
// check if it is a folder
- BOOL bIsFolder = FALSE;
+ sal_Bool bIsFolder = sal_False;
// first thing before doing anyhing with the content: Reset it. When the user presses "open" (or "save" or "export",
// for that matter), s/he wants the complete handling, including all possible error messages, even if s/he
@@ -1172,7 +1172,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid )
pThis->_pImp->GetCurFilter()->GetType());
}
- BOOL bOpenFolder = ( FILEDLG_TYPE_PATHDLG == pThis->_pImp->_eDlgType ) &&
+ sal_Bool bOpenFolder = ( FILEDLG_TYPE_PATHDLG == pThis->_pImp->_eDlgType ) &&
!pThis->_pImp->_bDoubleClick && pVoid != pThis->_pImp->_pEdFileName;
if ( bIsFolder )
{
@@ -1251,7 +1251,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid )
// if content does not exist: at least its path must exist
INetURLObject aPathObj = aFileObj;
aPathObj.removeSegment();
- BOOL bFolder = pThis->m_aContent.isFolder( aPathObj.GetMainURL( INetURLObject::NO_DECODE ) );
+ sal_Bool bFolder = pThis->m_aContent.isFolder( aPathObj.GetMainURL( INetURLObject::NO_DECODE ) );
if ( !bFolder )
{
ErrorHandler::HandleError( ERRCODE_IO_NOTEXISTSPATH );
@@ -1308,7 +1308,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid )
if ( nRet )
{
- pThis->EndDialog( TRUE );
+ pThis->EndDialog( sal_True );
}
return nRet;
@@ -1316,7 +1316,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid )
//*****************************************************************************
-void SvtFileDialog::EnableAutocompletion( BOOL _bEnable )
+void SvtFileDialog::EnableAutocompletion( sal_Bool _bEnable )
{
_pImp->_pEdFileName->EnableAutocompletion( _bEnable );
}
@@ -1377,7 +1377,7 @@ IMPL_STATIC_LINK( SvtFileDialog, FilterSelectHdl_Impl, ListBox*, pBox )
// if applicable show extension
pThis->SetDefaultExt( pSelectedFilter->GetExtension() );
- USHORT nSepPos = pThis->GetDefaultExt().Search( FILEDIALOG_DEF_EXTSEP );
+ sal_uInt16 nSepPos = pThis->GetDefaultExt().Search( FILEDIALOG_DEF_EXTSEP );
if ( nSepPos != STRING_NOTFOUND )
pThis->EraseDefaultExt( nSepPos );
@@ -1443,7 +1443,7 @@ SvtFileDialogFilter_Impl* SvtFileDialog::FindFilter_Impl
{
SvtFileDialogFilter_Impl* pFoundFilter = NULL;
SvtFileDialogFilterList_Impl* pList = _pImp->_pFilter;
- USHORT nFilter = pList->Count();
+ sal_uInt16 nFilter = pList->Count();
while ( nFilter-- )
{
@@ -1453,7 +1453,7 @@ SvtFileDialogFilter_Impl* SvtFileDialog::FindFilter_Impl
if ( _bMultiExt )
{
- USHORT nIdx = 0;
+ sal_uInt16 nIdx = 0;
while ( !pFoundFilter && nIdx != STRING_NOTFOUND )
{
aSingleType = rType.GetToken( 0, FILEDIALOG_DEF_EXTSEP, nIdx );
@@ -1504,7 +1504,7 @@ void SvtFileDialog::OpenMultiSelection_Impl()
{
String aPath;
- ULONG nCount = _pFileView->GetSelectionCount();
+ sal_uLong nCount = _pFileView->GetSelectionCount();
SvLBoxEntry* pEntry = nCount ? _pFileView->FirstSelected() : NULL;
if ( nCount && pEntry )
@@ -1519,7 +1519,7 @@ void SvtFileDialog::OpenMultiSelection_Impl()
nRet = OK();
if ( nRet )
- EndDialog( TRUE );
+ EndDialog( sal_True );
}
//*****************************************************************************
@@ -1542,7 +1542,7 @@ void SvtFileDialog::UpdateControls( const String& rURL )
{
// no Fsys path for server file system ( only UCB has mountpoints! )
if ( INET_PROT_FILE != aObj.GetProtocol() )
- sText = rURL.Copy( static_cast< USHORT >(
+ sText = rURL.Copy( static_cast< sal_uInt16 >(
INetURLObject::GetScheme( aObj.GetProtocol() ).getLength() ) );
}
@@ -1634,9 +1634,9 @@ IMPL_LINK( SvtFileDialog, SelectHdl_Impl, SvTabListBox*, pBox )
IMPL_LINK( SvtFileDialog, DblClickHdl_Impl, SvTabListBox*, EMPTYARG )
{
- _pImp->_bDoubleClick = TRUE;
+ _pImp->_bDoubleClick = sal_True;
OpenHdl_Impl( this, NULL );
- _pImp->_bDoubleClick = FALSE;
+ _pImp->_bDoubleClick = sal_False;
return 0;
}
@@ -1738,13 +1738,13 @@ long SvtFileDialog::Notify( NotifyEvent& rNEvt )
*/
{
- USHORT nType = rNEvt.GetType();
+ sal_uInt16 nType = rNEvt.GetType();
long nRet = 0;
if ( EVENT_KEYINPUT == nType && rNEvt.GetKeyEvent() )
{
const KeyCode& rKeyCode = rNEvt.GetKeyEvent()->GetKeyCode();
- USHORT nCode = rKeyCode.GetCode();
+ sal_uInt16 nCode = rKeyCode.GetCode();
if ( !rKeyCode.GetModifier() &&
KEY_BACKSPACE == nCode && !_pImp->_pEdFileName->HasChildPathFocus() )
@@ -1765,7 +1765,7 @@ long SvtFileDialog::Notify( NotifyEvent& rNEvt )
long SvtFileDialog::OK()
{
- return TRUE;
+ return sal_True;
}
//*****************************************************************************
@@ -1842,7 +1842,7 @@ String SvtFileDialog::implGetInitialURL( const String& _rPath, const String& _rF
INetURLObject aURLParser;
// set the path
- bool bWasAbsolute = FALSE;
+ bool bWasAbsolute = sal_False;
aURLParser = aURLParser.smartRel2Abs( _rPath, bWasAbsolute );
// is it a valid folder?
@@ -1894,9 +1894,9 @@ short SvtFileDialog::Execute()
return 0;
// start the dialog
- _bIsInExecute = TRUE;
+ _bIsInExecute = sal_True;
short nResult = ModalDialog::Execute();
- _bIsInExecute = FALSE;
+ _bIsInExecute = sal_False;
DBG_ASSERT( !m_pCurrentAsyncAction.is(), "SvtFilePicker::Execute: still running an async action!" );
// the dialog should not be cancellable while an async action is running - first, the action
@@ -1931,16 +1931,16 @@ void SvtFileDialog::StartExecuteModal( const Link& rEndDialogHdl )
//-----------------------------------------------------------------------------
void SvtFileDialog::onAsyncOperationStarted()
{
- EnableUI( FALSE );
+ EnableUI( sal_False );
// the cancel button must be always enabled
- _pImp->_pBtnCancel->Enable( TRUE );
+ _pImp->_pBtnCancel->Enable( sal_True );
_pImp->_pBtnCancel->GrabFocus();
}
//-----------------------------------------------------------------------------
void SvtFileDialog::onAsyncOperationFinished()
{
- EnableUI( TRUE );
+ EnableUI( sal_True );
m_pCurrentAsyncAction = NULL;
if ( !m_bInExecuteAsync )
_pImp->_pEdFileName->GrabFocus();
@@ -1992,7 +1992,7 @@ void SvtFileDialog::displayIOException( const String& _rURL, IOErrorCode _eCode
}
//-----------------------------------------------------------------------------
-void SvtFileDialog::EnableUI( BOOL _bEnable )
+void SvtFileDialog::EnableUI( sal_Bool _bEnable )
{
Enable( _bEnable );
@@ -2003,13 +2003,13 @@ void SvtFileDialog::EnableUI( BOOL _bEnable )
++aLoop
)
{
- (*aLoop)->Enable( FALSE );
+ (*aLoop)->Enable( sal_False );
}
}
}
//-----------------------------------------------------------------------------
-void SvtFileDialog::EnableControl( Control* _pControl, BOOL _bEnable )
+void SvtFileDialog::EnableControl( Control* _pControl, sal_Bool _bEnable )
{
if ( !_pControl )
{
@@ -2126,16 +2126,16 @@ short SvtFileDialog::PrepareExecute()
_pImp->InitFilterList();
// set up initial filter
- USHORT nFilterCount = GetFilterCount();
+ sal_uInt16 nFilterCount = GetFilterCount();
String aAll( SvtResId( STR_FILTERNAME_ALL ) );
- BOOL bHasAll = _pImp->HasFilterListEntry( aAll );
+ sal_Bool bHasAll = _pImp->HasFilterListEntry( aAll );
if ( _pImp->GetCurFilter() || nFilterCount == 1 || ( nFilterCount == 2 && bHasAll ) )
{
// if applicable set the only filter or the only filter that
// does not refer to all files, as the current one
if ( !_pImp->GetCurFilter() )
{
- USHORT nPos = 0;
+ sal_uInt16 nPos = 0;
if ( 2 == nFilterCount && bHasAll )
{
nPos = nFilterCount;
@@ -2153,7 +2153,7 @@ short SvtFileDialog::PrepareExecute()
// adjust view
_pImp->SelectFilterListEntry( _pImp->GetCurFilter()->GetName() );
SetDefaultExt( _pImp->GetCurFilter()->GetExtension() );
- USHORT nSepPos = GetDefaultExt().Search( FILEDIALOG_DEF_EXTSEP );
+ sal_uInt16 nSepPos = GetDefaultExt().Search( FILEDIALOG_DEF_EXTSEP );
if ( nSepPos != STRING_NOTFOUND )
EraseDefaultExt( nSepPos );
}
@@ -2346,7 +2346,7 @@ void SvtFileDialog::OpenURL_Impl( const String& _rURL )
SvtFileDialogFilter_Impl* SvtFileDialog::implAddFilter( const String& _rFilter, const String& _rType )
{
SvtFileDialogFilter_Impl* pNewFilter = new SvtFileDialogFilter_Impl( _rFilter, _rType );
- _pImp->_pFilter->C40_INSERT( SvtFileDialogFilter_Impl, pNewFilter, (USHORT)0 );
+ _pImp->_pFilter->C40_INSERT( SvtFileDialogFilter_Impl, pNewFilter, (sal_uInt16)0 );
if ( !_pImp->GetCurFilter() )
_pImp->SetCurFilter( pNewFilter, _rFilter );
@@ -2380,7 +2380,7 @@ void SvtFileDialog::SetCurFilter( const String& rFilter )
DBG_ASSERT( !IsInExecute(), "SvtFileDialog::SetCurFilter: currently executing!" );
// look for corresponding filter
- USHORT nPos = _pImp->_pFilter->Count();
+ sal_uInt16 nPos = _pImp->_pFilter->Count();
while ( nPos-- )
{
@@ -2413,14 +2413,14 @@ String SvtFileDialog::getCurFilter( ) const
//*****************************************************************************
-USHORT SvtFileDialog::GetFilterCount() const
+sal_uInt16 SvtFileDialog::GetFilterCount() const
{
return _pImp->_pFilter->Count();
}
//*****************************************************************************
-const String& SvtFileDialog::GetFilterName( USHORT nPos ) const
+const String& SvtFileDialog::GetFilterName( sal_uInt16 nPos ) const
{
DBG_ASSERT( nPos < GetFilterCount(), "invalid index" );
return _pImp->_pFilter->GetObject( nPos )->GetName();
@@ -2463,7 +2463,7 @@ void SvtFileDialog::InitSize()
SvStringsDtor* SvtFileDialog::GetPathList() const
{
SvStringsDtor* pList = new SvStringsDtor;
- ULONG nCount = _pFileView->GetSelectionCount();
+ sal_uLong nCount = _pFileView->GetSelectionCount();
SvLBoxEntry* pEntry = nCount ? _pFileView->FirstSelected() : NULL;
if ( ! pEntry )
@@ -2538,12 +2538,12 @@ void SvtFileDialog::implArrangeControls()
//*****************************************************************************
-BOOL SvtFileDialog::IsolateFilterFromPath_Impl( String& rPath, String& rFilter )
+sal_Bool SvtFileDialog::IsolateFilterFromPath_Impl( String& rPath, String& rFilter )
{
String aEmpty;
String aReversePath( rPath );
aReversePath.Reverse();
- USHORT nQuestionMarkPos = rPath.Search( '?' );
+ sal_uInt16 nQuestionMarkPos = rPath.Search( '?' );
if ( nQuestionMarkPos != STRING_NOTFOUND )
{
@@ -2553,12 +2553,12 @@ BOOL SvtFileDialog::IsolateFilterFromPath_Impl( String& rPath, String& rFilter )
if ( INET_PROT_NOT_VALID != eProt && INET_PROT_FILE != eProt )
nQuestionMarkPos = STRING_NOTFOUND;
}
- USHORT nWildCardPos = Min( rPath.Search( FILEDIALOG_DEF_WILDCARD ), nQuestionMarkPos );
+ sal_uInt16 nWildCardPos = Min( rPath.Search( FILEDIALOG_DEF_WILDCARD ), nQuestionMarkPos );
rFilter = aEmpty;
if ( nWildCardPos != STRING_NOTFOUND )
{
- USHORT nPathTokenPos = aReversePath.Search( INET_PATH_TOKEN );
+ sal_uInt16 nPathTokenPos = aReversePath.Search( INET_PATH_TOKEN );
if ( nPathTokenPos == STRING_NOTFOUND )
{
@@ -2591,7 +2591,7 @@ BOOL SvtFileDialog::IsolateFilterFromPath_Impl( String& rPath, String& rFilter )
if ( nPathTokenPos < (rPath.Len() - nWildCardPos - 1) )
{
ErrorHandler::HandleError( ERRCODE_SFX_INVALIDSYNTAX );
- return FALSE;
+ return sal_False;
}
// cut off filter
@@ -2611,7 +2611,7 @@ BOOL SvtFileDialog::IsolateFilterFromPath_Impl( String& rPath, String& rFilter )
}
}
- return TRUE;
+ return sal_True;
}
//-----------------------------------------------------------------------------
@@ -2945,13 +2945,14 @@ void SvtFileDialog::AddControls_Impl( )
_pPrevBmp = new FixedBitmap( this, WinBits( WB_BORDER ) );
_pPrevBmp->SetBackground( Wallpaper( Color( COL_WHITE ) ) );
_pPrevBmp->Show();
+ _pPrevBmp->SetAccessibleName(SvtResId(STR_PREVIEW));
}
if ( _nExtraBits & SFX_EXTRA_AUTOEXTENSION )
{
_pImp->_pCbAutoExtension = new CheckBox( this, SvtResId( CB_AUTO_EXTENSION ) );
_pImp->_pCbAutoExtension->SetText( SvtResId( STR_SVT_FILEPICKER_AUTO_EXTENSION ) );
- _pImp->_pCbAutoExtension->Check( TRUE );
+ _pImp->_pCbAutoExtension->Check( sal_True );
AddControl( _pImp->_pCbAutoExtension );
ReleaseOwnerShip( _pImp->_pCbAutoExtension );
_pImp->_pCbAutoExtension->SetClickHdl( LINK( this, SvtFileDialog, AutoExtensionHdl_Impl ) );
@@ -3134,7 +3135,7 @@ void SvtFileDialog::ReleaseOwnerShip( Window* pUserControl )
{
if ( pElement->_pControl == pUserControl )
{
- pElement->_bHasOwnerShip = FALSE;
+ pElement->_bHasOwnerShip = sal_False;
break;
}
pElement = pElement->_pNext;
@@ -3143,14 +3144,14 @@ void SvtFileDialog::ReleaseOwnerShip( Window* pUserControl )
//***************************************************************************
-BOOL SvtFileDialog::AddControl( Window* pControl, BOOL bNewLine )
+sal_Bool SvtFileDialog::AddControl( Window* pControl, sal_Bool bNewLine )
{
// control already exists
ControlChain_Impl* pElement = _pUserControls;
while ( pElement )
{
if ( pElement->_pControl == pControl )
- return FALSE;
+ return sal_False;
pElement = pElement->_pNext;
}
@@ -3192,7 +3193,7 @@ BOOL SvtFileDialog::AddControl( Window* pControl, BOOL bNewLine )
}
Point aNewControlPos;
Size* pNewDlgSize = NULL;
- BOOL bNewRow = bNewLine;
+ sal_Bool bNewRow = bNewLine;
if ( nType == WINDOW_WINDOW )
{
@@ -3219,12 +3220,12 @@ BOOL SvtFileDialog::AddControl( Window* pControl, BOOL bNewLine )
// Check if a new row has to be created.
if ( aNewControlRange.X() > aDlgSize.Width() )
- bNewRow = TRUE;
+ bNewRow = sal_True;
}
else
{
// Create a new row if there was no usercontrol before.
- bNewRow = TRUE;
+ bNewRow = sal_True;
}
// Check if a new row has to be created.
@@ -3264,7 +3265,7 @@ BOOL SvtFileDialog::AddControl( Window* pControl, BOOL bNewLine )
pControl->Show();
_pUserControls = new ControlChain_Impl( pControl, _pUserControls );
- return TRUE;
+ return sal_True;
}
sal_Bool SvtFileDialog::ContentHasParentFolder( const rtl::OUString& rURL )
@@ -3312,14 +3313,14 @@ void SvtFileDialog::appendDefaultExtension(String& _rFileName,
if ( ! aType.EqualsAscii(FILEDIALOG_FILTER_ALL) )
{
- USHORT nWildCard = aType.GetTokenCount( FILEDIALOG_DEF_EXTSEP );
- USHORT nIndex, nPos = 0;
+ sal_uInt16 nWildCard = aType.GetTokenCount( FILEDIALOG_DEF_EXTSEP );
+ sal_uInt16 nIndex, nPos = 0;
for ( nIndex = 0; nIndex < nWildCard; nIndex++ )
{
String aExt(aType.GetToken( 0, FILEDIALOG_DEF_EXTSEP, nPos ));
// take care of a leading *
- USHORT nExtOffset = (aExt.GetBuffer()[0] == '*' ? 1 : 0);
+ sal_uInt16 nExtOffset = (aExt.GetBuffer()[0] == '*' ? 1 : 0);
sal_Unicode* pExt = aExt.GetBufferAccess() + nExtOffset;
xub_StrLen nExtLen = aExt.Len() - nExtOffset;
xub_StrLen nOffset = aTemp.Len() - nExtLen;
@@ -3384,12 +3385,12 @@ IMPL_LINK( QueryFolderNameDialog, NameHdl, Edit *, EMPTYARG )
if ( aName.Len() )
{
if ( !aOKBtn.IsEnabled() )
- aOKBtn.Enable( TRUE );
+ aOKBtn.Enable( sal_True );
}
else
{
if ( aOKBtn.IsEnabled() )
- aOKBtn.Enable( FALSE );
+ aOKBtn.Enable( sal_False );
}
return 0;
diff --git a/fpicker/source/office/iodlg.hrc b/fpicker/source/office/iodlg.hrc
index 15f5121b0965..42b235ee31af 100644..100755
--- a/fpicker/source/office/iodlg.hrc
+++ b/fpicker/source/office/iodlg.hrc
@@ -28,9 +28,8 @@
#ifndef _SVTOOLS_IODLGIMPL_HRC
#define _SVTOOLS_IODLGIMPL_HRC
-#ifndef _SVTOOLS_HRC
#include "svtools/svtools.hrc"
-#endif
+#include "svtools/helpid.hrc"
// ModalDialog DLG_SVT_EXPLORERFILE
@@ -71,6 +70,7 @@
#define STR_PATHSELECT 5
#define STR_BUTTONSELECT 6
#define STR_ACTUALVERSION 7
+#define STR_PREVIEW 8
// DLG_SVT_QUERYFOLDERNAME -----------------------
@@ -86,22 +86,5 @@
#define SID_SFX_START 5000
#define SID_OPENURL (SID_SFX_START + 596)
-#define HID_FILEDLG_STANDARD (HID_SFX_START + 27)
-#define HID_FILEDLG_MANAGER (HID_SFX_START + 28)
-#define HID_FILEDLG_URL (HID_SFX_START + 29)
-#define HID_FILEDLG_USE_PASSWD (HID_SFX_START + 31)
-#define HID_FILEDLG_READ_ONLY (HID_SFX_START + 32)
-
-#define HID_FILEDLG_AUTOCOMPLETEBOX (HID_SFX_START + 218)
-#define HID_FILEDLG_SAVE_BTN (HID_SFX_START + 219)
-#define HID_FILEDLG_SAVE_FILENAME (HID_SFX_START + 220)
-#define HID_FILEDLG_SAVE_FILETYPE (HID_SFX_START + 221)
-#define HID_FILEDLG_INSERT_BTN (HID_SFX_START + 222)
-#define HID_FILEDLG_PATH_BTN (HID_SFX_START + 223)
-#define HID_FILEDLG_PATH_FILENAME (HID_SFX_START + 224)
-#define HID_FILEDLG_FOLDER_BTN (HID_SFX_START + 225)
-#define HID_FILEDLG_FOLDER_FILENAME (HID_SFX_START + 226)
-#define HID_FILEDLG_SRCHFOLDER_BTN (HID_SFX_START + 227)
-
#endif
diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx
index c66039e15fa6..b33eeeede9b4 100644..100755
--- a/fpicker/source/office/iodlg.hxx
+++ b/fpicker/source/office/iodlg.hxx
@@ -107,7 +107,7 @@ private:
::svt::IFilePickerListener* _pFileNotifier;
SvtExpFileDlg_Impl* _pImp;
WinBits _nExtraBits;
- BOOL _bIsInExecute : 1;
+ sal_Bool _bIsInExecute : 1;
ImageList m_aImages;
::svt::SmartContent m_aContent;
@@ -160,14 +160,14 @@ private:
DECL_LINK( PlayButtonHdl_Impl, PushButton* );
// removes a filter with wildcards from the path and returns it
- BOOL IsolateFilterFromPath_Impl( String& rPath, String& rFilter );
+ sal_Bool IsolateFilterFromPath_Impl( String& rPath, String& rFilter );
void implArrangeControls();
void implUpdateImages( );
protected:
virtual long Notify( NotifyEvent& rNEvt );
- void EnableInternet( BOOL bInternet );
+ void EnableInternet( sal_Bool bInternet );
// originally from VclFileDialog
Link _aOKHdl;
@@ -188,14 +188,14 @@ protected:
This is under the assumption that you'll use EnableControl. Direct access to the control
(such as pControl->Enable()) will break this.
*/
- void EnableUI( BOOL _bEnable );
+ void EnableUI( sal_Bool _bEnable );
/** enables or disables a control
You are strongly encouraged to prefer this method over pControl->Enable( _bEnable ). See
<member>EnableUI</member> for details.
*/
- void EnableControl( Control* _pControl, BOOL _bEnable );
+ void EnableControl( Control* _pControl, sal_Bool _bEnable );
short PrepareExecute();
public:
@@ -225,8 +225,8 @@ public:
void SetCurFilter( const String& rFilter );
String GetCurFilter() const;
- USHORT GetFilterCount() const;
- const String& GetFilterName( USHORT nPos ) const;
+ sal_uInt16 GetFilterCount() const;
+ const String& GetFilterName( sal_uInt16 nPos ) const;
virtual void Resize();
virtual void DataChanged( const DataChangedEvent& _rDCEvt );
@@ -239,7 +239,7 @@ public:
void DisableSaveLastDirectory();
void InitSize();
void UpdateControls( const String& rURL );
- void EnableAutocompletion( BOOL _bEnable = TRUE );
+ void EnableAutocompletion( sal_Bool _bEnable = sal_True );
void SetFileCallback( ::svt::IFilePickerListener *pNotifier ) { _pFileNotifier = pNotifier; }
@@ -264,7 +264,7 @@ public:
}
// originally from VclFileDialog
- virtual BOOL AddControl( Window* pControl, BOOL bNewLine = FALSE );
+ virtual sal_Bool AddControl( Window* pControl, sal_Bool bNewLine = sal_False );
// inline
inline void SetPath( const String& rNewURL );
diff --git a/fpicker/source/office/iodlg.src b/fpicker/source/office/iodlg.src
index 08ad36f4704c..4a3c2f6736fb 100644..100755
--- a/fpicker/source/office/iodlg.src
+++ b/fpicker/source/office/iodlg.src
@@ -72,12 +72,14 @@ ModalDialog DLG_SVT_EXPLORERFILE
};
ImageButton BTN_EXPLORERFILE_NEWFOLDER
{
+ HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_NEWFOLDER";
TabStop = FALSE ;
Pos = MAP_APPFONT ( 59 , 6 ) ;
QuickHelpText [ en-US ] = "Create New Directory" ;
};
ImageButton BTN_EXPLORERFILE_LISTVIEW
{
+ HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_LISTVIEW";
TabStop = FALSE ;
Pos = MAP_APPFONT ( 109 , 6 ) ;
ButtonImage = Image
@@ -90,8 +92,10 @@ ModalDialog DLG_SVT_EXPLORERFILE
};
QuickHelpText [ en-US ] = "List";
};
+ HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_DETAILSVIEW";
MenuButton BTN_EXPLORERFILE_UP
{
+ HelpID = "fpicker:MenuButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_UP";
TabStop = FALSE ;
Pos = MAP_APPFONT ( 109 , 6 ) ;
QuickHelpText [ en-US ] = "Up One Level" ;
@@ -99,6 +103,7 @@ ModalDialog DLG_SVT_EXPLORERFILE
MenuButton BTN_EXPLORERFILE_STANDARD
{
+ HelpID = "fpicker:MenuButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_STANDARD";
TabStop = FALSE ;
Pos = MAP_APPFONT ( 59 , 6 ) ;
QuickHelpText [ en-US ] = "Default Directory" ;
@@ -118,6 +123,7 @@ ModalDialog DLG_SVT_EXPLORERFILE
};
Edit ED_EXPLORERFILE_FILENAME
{
+ HelpID = "fpicker:Edit:DLG_SVT_EXPLORERFILE:ED_EXPLORERFILE_FILENAME";
Pos = MAP_APPFONT ( 59 , 117 ) ;
Size = MAP_APPFONT ( 159 , 12 ) ;
Border = TRUE ;
@@ -131,6 +137,7 @@ ModalDialog DLG_SVT_EXPLORERFILE
};
ListBox LB_EXPLORERFILE_SHARED_LISTBOX
{
+ HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_SHARED_LISTBOX";
Pos = MAP_APPFONT ( 59 , 132 ) ;
Size = MAP_APPFONT ( 159 , 40 ) ;
DropDown = TRUE ;
@@ -145,6 +152,7 @@ ModalDialog DLG_SVT_EXPLORERFILE
};
ListBox LB_EXPLORERFILE_FILETYPE
{
+ HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_FILETYPE";
Pos = MAP_APPFONT ( 59 , 147 ) ;
Size = MAP_APPFONT ( 159 , 80 ) ;
DropDown = TRUE ;
@@ -154,26 +162,31 @@ ModalDialog DLG_SVT_EXPLORERFILE
};
CheckBox CB_EXPLORERFILE_READONLY
{
+ HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_EXPLORERFILE_READONLY";
Size = MAP_APPFONT ( 80 , 10 ) ;
Text [ en-US ] = "~Read-only" ;
};
CheckBox CB_EXPLORERFILE_PASSWORD
{
+ HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_EXPLORERFILE_PASSWORD";
Size = MAP_APPFONT ( 100, 10 ) ;
Text [ en-US ] = "Save with password" ;
};
CheckBox CB_AUTO_EXTENSION
{
+ HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_AUTO_EXTENSION";
Size = MAP_APPFONT ( 160 , 10 ) ;
Text [ en-US ] = "~Automatic file name extension" ;
};
CheckBox CB_OPTIONS
{
+ HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_OPTIONS";
Size = MAP_APPFONT ( 120 , 10 ) ;
Text [ en-US ] = "Edit ~filter settings";
};
PushButton BTN_EXPLORERFILE_OPEN
{
+ HelpID = "fpicker:PushButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_OPEN";
Pos = MAP_APPFONT ( 224 , 117 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
DefButton = TRUE ;
@@ -217,11 +230,16 @@ ModalDialog DLG_SVT_EXPLORERFILE
{
Text [ en-US ] = "Current version";
};
+ String STR_PREVIEW
+ {
+ Text [ en-US ] = "File Preview";
+ };
};
// QueryFolderNameDialog ----------------------------------------------------------
ModalDialog DLG_SVT_QUERYFOLDERNAME
{
+ HelpID = "fpicker:ModalDialog:DLG_SVT_QUERYFOLDERNAME";
Border = TRUE ;
Moveable = TRUE ;
OutputSize = TRUE ;
@@ -236,6 +254,7 @@ ModalDialog DLG_SVT_QUERYFOLDERNAME
};
Edit ED_SVT_QUERYFOLDERNAME_DLG_NAME
{
+ HelpID = "fpicker:Edit:DLG_SVT_QUERYFOLDERNAME:ED_SVT_QUERYFOLDERNAME_DLG_NAME";
Pos = MAP_APPFONT ( 12 , 27 ) ;
Size = MAP_APPFONT ( 138 , 12 ) ;
Border = TRUE ;
diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx
index 2d25ea4b8900..90b00c4bc803 100644..100755
--- a/fpicker/source/office/iodlgimp.cxx
+++ b/fpicker/source/office/iodlgimp.cxx
@@ -121,7 +121,7 @@ namespace
struct SvtSimpleResId : public ResId
{
- SvtSimpleResId (USHORT nId) : ResId (nId, *ResMgrHolder::getOrCreate()) {}
+ SvtSimpleResId (sal_uInt16 nId) : ResId (nId, *ResMgrHolder::getOrCreate()) {}
};
}
@@ -312,7 +312,7 @@ void SvtTravelButton_Impl::FillURLMenu( PopupMenu* _pMenu )
_pMenu->Clear();
- USHORT nItemId = 1;
+ sal_uInt16 nItemId = 1;
String sDisplayName;
::std::vector< String >::const_iterator aLoop;
@@ -467,7 +467,7 @@ void SvtExpFileDlg_Impl::InsertFilterListEntry( const SvtFileDialogFilter_Impl*
sName = _pFilterDesc->GetName();
// insert an set user data
- USHORT nPos = _pLbFilter->InsertEntry( sName );
+ sal_uInt16 nPos = _pLbFilter->InsertEntry( sName );
_pLbFilter->SetEntryData( nPos, const_cast< void* >( static_cast< const void* >( _pFilterDesc ) ) );
}
@@ -479,7 +479,7 @@ void SvtExpFileDlg_Impl::InitFilterList( )
ClearFilterList( );
// reinit it
- USHORT nPos = _pFilter->Count();
+ sal_uInt16 nPos = _pFilter->Count();
// search for the first entry which is no group separator
while ( nPos-- && _pFilter->GetObject( nPos ) && _pFilter->GetObject( nPos )->isGroupSeparator() )
diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx
index 3b47d52560bf..2cc4f71edcc1 100644..100755
--- a/fpicker/source/office/iodlgimp.hxx
+++ b/fpicker/source/office/iodlgimp.hxx
@@ -261,7 +261,7 @@ public:
inline const ::com::sun::star::uno::Sequence< ::rtl::OUString >& GetBlackList() const { return _aBlackList; }
void SetStandardDir( const String& _rDir );
inline const String& GetStandardDir() const { return _aStdDir; }
- inline void DisableFilterBoxAutoWidth() { _pLbFilter->EnableDDAutoWidth( FALSE ); }
+ inline void DisableFilterBoxAutoWidth() { _pLbFilter->EnableDDAutoWidth( sal_False ); }
// ------------------------------------------
// access to the filter listbox only as Control* - we want to maintain the entries/userdata ourself
diff --git a/fpicker/source/office/makefile.mk b/fpicker/source/office/makefile.mk
index adc3c30f9a3d..7481fd867ca7 100644..100755
--- a/fpicker/source/office/makefile.mk
+++ b/fpicker/source/office/makefile.mk
@@ -86,3 +86,11 @@ RESLIB1SRSFILES=\
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/fps_office.component
+
+$(MISC)/fps_office.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ fps_office.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt fps_office.component
diff --git a/fpicker/source/office/pickercallbacks.hxx b/fpicker/source/office/pickercallbacks.hxx
index 2140fe5c716d..2140fe5c716d 100644..100755
--- a/fpicker/source/office/pickercallbacks.hxx
+++ b/fpicker/source/office/pickercallbacks.hxx
diff --git a/fpicker/source/unx/gnome/FPServiceInfo.hxx b/fpicker/source/unx/gnome/FPServiceInfo.hxx
index c0352af2b25d..c0352af2b25d 100644..100755
--- a/fpicker/source/unx/gnome/FPServiceInfo.hxx
+++ b/fpicker/source/unx/gnome/FPServiceInfo.hxx
diff --git a/fpicker/source/unx/gnome/FPentry.cxx b/fpicker/source/unx/gnome/FPentry.cxx
index e878f0ba03a5..d2463dc4c48a 100644..100755
--- a/fpicker/source/unx/gnome/FPentry.cxx
+++ b/fpicker/source/unx/gnome/FPentry.cxx
@@ -102,32 +102,6 @@ void SAL_CALL component_getImplementationEnvironment(
//
//------------------------------------------------
-sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey )
-{
- sal_Bool bRetVal = sal_True;
-
- if ( pRegistryKey )
- {
- try
- {
- Reference< XRegistryKey > pXNewKey( static_cast< XRegistryKey* >( pRegistryKey ) );
- pXNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( FILE_PICKER_REGKEY_NAME ) ));
- pXNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( FOLDER_PICKER_REGKEY_NAME ) ));
- }
- catch( InvalidRegistryException& )
- {
- OSL_ENSURE( sal_False, "InvalidRegistryException caught" );
- bRetVal = sal_False;
- }
- }
-
- return bRetVal;
-}
-
-//------------------------------------------------
-//
-//------------------------------------------------
-
void* SAL_CALL component_getFactory(
const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
{
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
index 5d443e3faecb..8291c87e2074 100644..100755
--- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
@@ -43,6 +43,7 @@
#include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <osl/diagnose.h>
+#include <osl/process.h>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/ControlActions.hpp>
#include <com/sun/star/uno/Any.hxx>
@@ -105,7 +106,7 @@ static void expandexpanders(GtkContainer *pWidget)
if GTK_IS_CONTAINER(GTK_WIDGET(p->data))
expandexpanders(GTK_CONTAINER(GTK_WIDGET(p->data)));
if GTK_IS_EXPANDER(GTK_WIDGET(p->data))
- gtk_expander_set_expanded(GTK_EXPANDER(GTK_WIDGET(p->data)), TRUE);
+ gtk_expander_set_expanded(GTK_EXPANDER(GTK_WIDGET(p->data)), sal_True);
}
g_list_free(pChildren);
}
@@ -191,17 +192,17 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference<lang::XMultiServiceFact
gtk_dialog_set_default_response( GTK_DIALOG (m_pDialog), GTK_RESPONSE_ACCEPT );
- gtk_file_chooser_set_local_only( GTK_FILE_CHOOSER( m_pDialog ), FALSE );
- gtk_file_chooser_set_select_multiple( GTK_FILE_CHOOSER( m_pDialog ), FALSE );
+ gtk_file_chooser_set_local_only( GTK_FILE_CHOOSER( m_pDialog ), sal_False );
+ gtk_file_chooser_set_select_multiple( GTK_FILE_CHOOSER( m_pDialog ), sal_False );
- m_pVBox = gtk_vbox_new( FALSE, 0 );
+ m_pVBox = gtk_vbox_new( sal_False, 0 );
// We don't want clickable items to have a huge hit-area
- GtkWidget *pHBox = gtk_hbox_new( FALSE, 0 );
- GtkWidget *pThinVBox = gtk_vbox_new( FALSE, 0 );
+ GtkWidget *pHBox = gtk_hbox_new( sal_False, 0 );
+ GtkWidget *pThinVBox = gtk_vbox_new( sal_False, 0 );
- gtk_box_pack_end (GTK_BOX( m_pVBox ), pHBox, FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX( pHBox ), pThinVBox, FALSE, FALSE, 0);
+ gtk_box_pack_end (GTK_BOX( m_pVBox ), pHBox, sal_False, sal_False, 0);
+ gtk_box_pack_start (GTK_BOX( pHBox ), pThinVBox, sal_False, sal_False, 0);
gtk_widget_show( pHBox );
gtk_widget_show( pThinVBox );
@@ -231,12 +232,12 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference<lang::XMultiServiceFact
break;
}
- gtk_box_pack_end( GTK_BOX( pThinVBox ), m_pToggles[i], FALSE, FALSE, 0 );
+ gtk_box_pack_end( GTK_BOX( pThinVBox ), m_pToggles[i], sal_False, sal_False, 0 );
}
for( i = 0; i < LIST_LAST; i++ )
{
- m_pHBoxs[i] = gtk_hbox_new( FALSE, 0 );
+ m_pHBoxs[i] = gtk_hbox_new( sal_False, 0 );
m_pAligns[i] = gtk_alignment_new(0, 0, 0, 1);
@@ -261,18 +262,18 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference<lang::XMultiServiceFact
}
gtk_container_add( GTK_CONTAINER( m_pAligns[i]), m_pLists[i] );
- gtk_box_pack_end( GTK_BOX( m_pHBoxs[i] ), m_pAligns[i], FALSE, FALSE, 0 );
+ gtk_box_pack_end( GTK_BOX( m_pHBoxs[i] ), m_pAligns[i], sal_False, sal_False, 0 );
- gtk_box_pack_end( GTK_BOX( m_pHBoxs[i] ), m_pListLabels[i], FALSE, FALSE, 0 );
+ gtk_box_pack_end( GTK_BOX( m_pHBoxs[i] ), m_pListLabels[i], sal_False, sal_False, 0 );
- gtk_box_pack_end( GTK_BOX( m_pVBox ), m_pHBoxs[i], FALSE, FALSE, 0 );
+ gtk_box_pack_end( GTK_BOX( m_pVBox ), m_pHBoxs[i], sal_False, sal_False, 0 );
}
aLabel = aResProvider.getResString( FILE_PICKER_FILE_TYPE );
m_pFilterExpander = gtk_expander_new_with_mnemonic(
OUStringToOString( aLabel, RTL_TEXTENCODING_UTF8 ).getStr());
- gtk_box_pack_end( GTK_BOX( m_pVBox ), m_pFilterExpander, FALSE, TRUE, 0 );
+ gtk_box_pack_end( GTK_BOX( m_pVBox ), m_pFilterExpander, sal_False, sal_True, 0 );
GtkWidget *scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
@@ -290,11 +291,11 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference<lang::XMultiServiceFact
case 0:
break;
case 1:
- gtk_expander_set_expanded(GTK_EXPANDER(m_pFilterExpander), TRUE);
+ gtk_expander_set_expanded(GTK_EXPANDER(m_pFilterExpander), sal_True);
break;
case 2:
expandexpanders(GTK_CONTAINER(m_pDialog));
- gtk_expander_set_expanded(GTK_EXPANDER(m_pFilterExpander), TRUE);
+ gtk_expander_set_expanded(GTK_EXPANDER(m_pFilterExpander), sal_True);
break;
}
@@ -311,8 +312,8 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference<lang::XMultiServiceFact
{
column = gtk_tree_view_column_new ();
cell = gtk_cell_renderer_text_new ();
- gtk_tree_view_column_set_expand (column, TRUE);
- gtk_tree_view_column_pack_start (column, cell, FALSE);
+ gtk_tree_view_column_set_expand (column, sal_True);
+ gtk_tree_view_column_pack_start (column, cell, sal_False);
gtk_tree_view_column_set_attributes (column, cell, "text", i, (char *)NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW(m_pFilterView), column);
}
@@ -1358,12 +1359,12 @@ throw( uno::RuntimeException )
if( bEnable )
{
OSL_TRACE( "enable\n" );
- gtk_widget_set_sensitive( pWidget, TRUE );
+ gtk_widget_set_sensitive( pWidget, sal_True );
}
else
{
OSL_TRACE( "disable\n" );
- gtk_widget_set_sensitive( pWidget, FALSE );
+ gtk_widget_set_sensitive( pWidget, sal_False );
}
}
else
@@ -1402,7 +1403,7 @@ void SAL_CALL SalGtkFilePicker::setLabel( sal_Int16 nControlId, const ::rtl::OUS
}
else if( tType == GTK_TYPE_TOGGLE_BUTTON || tType == GTK_TYPE_BUTTON || tType == GTK_TYPE_LABEL )
g_object_set( pWidget, "label", aTxt.getStr(),
- "use_underline", TRUE, (char *)NULL );
+ "use_underline", sal_True, (char *)NULL );
else
OSL_TRACE("Can't set label on list\n");
}
@@ -1437,7 +1438,7 @@ uno::Sequence<sal_Int16> SAL_CALL SalGtkFilePicker::getSupportedImageFormats() t
OSL_ASSERT( m_pDialog != NULL );
// TODO return m_pImpl->getSupportedImageFormats();
- return 0;
+ return uno::Sequence<sal_Int16>();
}
sal_Int32 SAL_CALL SalGtkFilePicker::getTargetColorDepth() throw( uno::RuntimeException )
@@ -1540,7 +1541,7 @@ void SalGtkFilePicker::update_preview_cb( GtkFileChooser *file_chooser, SalGtkFi
GtkWidget *preview;
char *filename;
GdkPixbuf *pixbuf;
- gboolean have_preview = FALSE;
+ gboolean have_preview = sal_False;
preview = pobjFP->m_pPreview;
filename = gtk_file_chooser_get_preview_filename( file_chooser );
@@ -1857,22 +1858,22 @@ extern "C"
static gboolean
case_insensitive_filter (const GtkFileFilterInfo *filter_info, gpointer data)
{
- gboolean bRetval = FALSE;
+ gboolean bRetval = sal_False;
const char *pFilter = (const char *) data;
- g_return_val_if_fail( data != NULL, FALSE );
- g_return_val_if_fail( filter_info != NULL, FALSE );
+ g_return_val_if_fail( data != NULL, sal_False );
+ g_return_val_if_fail( filter_info != NULL, sal_False );
if( !filter_info->uri )
- return FALSE;
+ return sal_False;
const char *pExtn = strrchr( filter_info->uri, '.' );
if( !pExtn )
- return FALSE;
+ return sal_False;
pExtn++;
if( !g_ascii_strcasecmp( pFilter, pExtn ) )
- bRetval = TRUE;
+ bRetval = sal_True;
#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "'%s' match extn '%s' vs '%s' yeilds %d\n",
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.hxx b/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
index b846eb351d76..b846eb351d76 100644..100755
--- a/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
+++ b/fpicker/source/unx/gnome/SalGtkFilePicker.hxx
diff --git a/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx b/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
index 5765c94c3263..3be63ded420f 100644..100755
--- a/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
@@ -95,8 +95,8 @@ SalGtkFolderPicker::SalGtkFolderPicker( const uno::Reference<lang::XMultiService
GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, (char *)NULL );
gtk_dialog_set_default_response( GTK_DIALOG (m_pDialog), GTK_RESPONSE_ACCEPT );
- gtk_file_chooser_set_local_only( GTK_FILE_CHOOSER( m_pDialog ), FALSE );
- gtk_file_chooser_set_select_multiple( GTK_FILE_CHOOSER( m_pDialog ), FALSE );
+ gtk_file_chooser_set_local_only( GTK_FILE_CHOOSER( m_pDialog ), sal_False );
+ gtk_file_chooser_set_select_multiple( GTK_FILE_CHOOSER( m_pDialog ), sal_False );
}
// -------------------------------------------------
diff --git a/fpicker/source/unx/gnome/SalGtkFolderPicker.hxx b/fpicker/source/unx/gnome/SalGtkFolderPicker.hxx
index 5110ea86a0f6..5110ea86a0f6 100644..100755
--- a/fpicker/source/unx/gnome/SalGtkFolderPicker.hxx
+++ b/fpicker/source/unx/gnome/SalGtkFolderPicker.hxx
diff --git a/fpicker/source/unx/gnome/SalGtkPicker.cxx b/fpicker/source/unx/gnome/SalGtkPicker.cxx
index 94671521a6fc..94671521a6fc 100644..100755
--- a/fpicker/source/unx/gnome/SalGtkPicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkPicker.cxx
diff --git a/fpicker/source/unx/gnome/SalGtkPicker.hxx b/fpicker/source/unx/gnome/SalGtkPicker.hxx
index 92b29e728a59..92b29e728a59 100644..100755
--- a/fpicker/source/unx/gnome/SalGtkPicker.hxx
+++ b/fpicker/source/unx/gnome/SalGtkPicker.hxx
diff --git a/fpicker/source/unx/gnome/eventnotification.hxx b/fpicker/source/unx/gnome/eventnotification.hxx
index 3866ca59946f..3866ca59946f 100644..100755
--- a/fpicker/source/unx/gnome/eventnotification.hxx
+++ b/fpicker/source/unx/gnome/eventnotification.hxx
diff --git a/fpicker/source/unx/gnome/fps-gnome-ucd.txt b/fpicker/source/unx/gnome/fps-gnome-ucd.txt
deleted file mode 100644
index 4a84215dc960..000000000000
--- a/fpicker/source/unx/gnome/fps-gnome-ucd.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-[ComponentDescriptor]
-ImplementationName=com.sun.star.ui.dialogs.SalGtkFilePicker
-ComponentName=fps_gnome.uno.so
-LoaderName=com.sun.star.loader.SharedLibrary
-[SupportedServices]
-com.sun.star.ui.dialogs.GtkFilePicker
-
-[ComponentDescriptor]
-ImplementationName=com.sun.star.ui.dialogs.SalGtkFolderPicker
-ComponentName=fps_gnome.uno.so
-LoaderName=com.sun.star.loader.SharedLibrary
-[SupportedServices]
-com.sun.star.ui.dialogs.GtkFolderPicker
diff --git a/fpicker/source/unx/gnome/fps_gnome.component b/fpicker/source/unx/gnome/fps_gnome.component
new file mode 100755
index 000000000000..72bca42f8acf
--- /dev/null
+++ b/fpicker/source/unx/gnome/fps_gnome.component
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.ui.dialogs.SalGtkFilePicker">
+ <service name="com.sun.star.ui.dialogs.GtkFilePicker"/>
+ </implementation>
+ <implementation name="com.sun.star.ui.dialogs.SalGtkFolderPicker">
+ <service name="com.sun.star.ui.dialogs.GtkFolderPicker"/>
+ </implementation>
+</component>
diff --git a/fpicker/source/unx/gnome/fps_gnome.xml b/fpicker/source/unx/gnome/fps_gnome.xml
index d4dd4f9231d6..d4dd4f9231d6 100644..100755
--- a/fpicker/source/unx/gnome/fps_gnome.xml
+++ b/fpicker/source/unx/gnome/fps_gnome.xml
diff --git a/fpicker/source/unx/gnome/makefile.mk b/fpicker/source/unx/gnome/makefile.mk
index 04c6e650ff6f..82b2413dd4af 100644..100755
--- a/fpicker/source/unx/gnome/makefile.mk
+++ b/fpicker/source/unx/gnome/makefile.mk
@@ -96,3 +96,11 @@ DEF1NAME=$(SHL1TARGET)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/fps_gnome.component
+
+$(MISC)/fps_gnome.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ fps_gnome.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt fps_gnome.component
diff --git a/fpicker/source/unx/gnome/resourceprovider.cxx b/fpicker/source/unx/gnome/resourceprovider.cxx
index 4a4f49cc089d..4a4f49cc089d 100644..100755
--- a/fpicker/source/unx/gnome/resourceprovider.cxx
+++ b/fpicker/source/unx/gnome/resourceprovider.cxx
diff --git a/fpicker/source/unx/gnome/resourceprovider.hxx b/fpicker/source/unx/gnome/resourceprovider.hxx
index 5bbbbfd68e7e..5bbbbfd68e7e 100644..100755
--- a/fpicker/source/unx/gnome/resourceprovider.hxx
+++ b/fpicker/source/unx/gnome/resourceprovider.hxx
diff --git a/fpicker/source/unx/kde/kdecommandthread.cxx b/fpicker/source/unx/kde/kdecommandthread.cxx
index b68ddb0030c4..b68ddb0030c4 100644..100755
--- a/fpicker/source/unx/kde/kdecommandthread.cxx
+++ b/fpicker/source/unx/kde/kdecommandthread.cxx
diff --git a/fpicker/source/unx/kde/kdecommandthread.hxx b/fpicker/source/unx/kde/kdecommandthread.hxx
index 7486bf9192f6..7486bf9192f6 100644..100755
--- a/fpicker/source/unx/kde/kdecommandthread.hxx
+++ b/fpicker/source/unx/kde/kdecommandthread.hxx
diff --git a/fpicker/source/unx/kde/kdefilepicker.cxx b/fpicker/source/unx/kde/kdefilepicker.cxx
index 779a34d894d0..779a34d894d0 100644..100755
--- a/fpicker/source/unx/kde/kdefilepicker.cxx
+++ b/fpicker/source/unx/kde/kdefilepicker.cxx
diff --git a/fpicker/source/unx/kde/kdefilepicker.hxx b/fpicker/source/unx/kde/kdefilepicker.hxx
index 4d545ebc76ca..4d545ebc76ca 100644..100755
--- a/fpicker/source/unx/kde/kdefilepicker.hxx
+++ b/fpicker/source/unx/kde/kdefilepicker.hxx
diff --git a/fpicker/source/unx/kde/kdefpmain.cxx b/fpicker/source/unx/kde/kdefpmain.cxx
index 2300fe61a2c4..2300fe61a2c4 100644..100755
--- a/fpicker/source/unx/kde/kdefpmain.cxx
+++ b/fpicker/source/unx/kde/kdefpmain.cxx
diff --git a/fpicker/source/unx/kde/kdemodalityfilter.cxx b/fpicker/source/unx/kde/kdemodalityfilter.cxx
index 5aeddb0a80a6..5aeddb0a80a6 100644..100755
--- a/fpicker/source/unx/kde/kdemodalityfilter.cxx
+++ b/fpicker/source/unx/kde/kdemodalityfilter.cxx
diff --git a/fpicker/source/unx/kde/kdemodalityfilter.hxx b/fpicker/source/unx/kde/kdemodalityfilter.hxx
index 8635694a39e1..8635694a39e1 100644..100755
--- a/fpicker/source/unx/kde/kdemodalityfilter.hxx
+++ b/fpicker/source/unx/kde/kdemodalityfilter.hxx
diff --git a/fpicker/source/unx/kde/makefile.mk b/fpicker/source/unx/kde/makefile.mk
index e1bc4db47d36..e1bc4db47d36 100644..100755
--- a/fpicker/source/unx/kde/makefile.mk
+++ b/fpicker/source/unx/kde/makefile.mk
diff --git a/fpicker/source/unx/kde4/FPServiceInfo.hxx b/fpicker/source/unx/kde4/FPServiceInfo.hxx
index 6dfb50e5d1ef..6dfb50e5d1ef 100644..100755
--- a/fpicker/source/unx/kde4/FPServiceInfo.hxx
+++ b/fpicker/source/unx/kde4/FPServiceInfo.hxx
diff --git a/fpicker/source/unx/kde4/KDE4FPEntry.cxx b/fpicker/source/unx/kde4/KDE4FPEntry.cxx
index 6587930bcba9..0dd047c399f0 100644..100755
--- a/fpicker/source/unx/kde4/KDE4FPEntry.cxx
+++ b/fpicker/source/unx/kde4/KDE4FPEntry.cxx
@@ -56,27 +56,6 @@ extern "C"
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
- sal_Bool SAL_CALL component_writeInfo( void*, void* pRegistryKey )
- {
- sal_Bool bRetVal = sal_True;
-
- if ( pRegistryKey )
- {
- try
- {
- Reference< XRegistryKey > pXNewKey( static_cast< XRegistryKey* >( pRegistryKey ) );
- pXNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( FILE_PICKER_REGKEY_NAME ) ));
- }
- catch( InvalidRegistryException& )
- {
- OSL_ENSURE( sal_False, "InvalidRegistryException caught" );
- bRetVal = sal_False;
- }
- }
-
- return bRetVal;
- }
-
void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* )
{
void* pRet = 0;
diff --git a/fpicker/source/unx/kde4/KDE4FilePicker.cxx b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
index 1b53dcaae8ab..7e0cef885bd9 100644..100755
--- a/fpicker/source/unx/kde4/KDE4FilePicker.cxx
+++ b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
@@ -264,7 +264,7 @@ uno::Sequence< ::rtl::OUString > SAL_CALL KDE4FilePicker::getFiles()
files.append(dir);
}
- for (USHORT i = 0; i < rawFiles.size(); ++i)
+ for (sal_uInt16 i = 0; i < rawFiles.size(); ++i)
{
// if the raw file is not the base directory (see above kde bug)
// we add the file to list of avail files
@@ -339,8 +339,8 @@ void SAL_CALL KDE4FilePicker::appendFilterGroup( const rtl::OUString& , const un
if (!_filter.isNull())
_filter.append(QString("\n"));
- const USHORT length = filters.getLength();
- for (USHORT i = 0; i < length; ++i)
+ const sal_uInt16 length = filters.getLength();
+ for (sal_uInt16 i = 0; i < length; ++i)
{
beans::StringPair aPair = filters[i];
diff --git a/fpicker/source/unx/kde4/KDE4FilePicker.hxx b/fpicker/source/unx/kde4/KDE4FilePicker.hxx
index edef224c003e..edef224c003e 100644..100755
--- a/fpicker/source/unx/kde4/KDE4FilePicker.hxx
+++ b/fpicker/source/unx/kde4/KDE4FilePicker.hxx
diff --git a/fpicker/source/unx/kde4/fps-kde4-ucd.txt b/fpicker/source/unx/kde4/fps-kde4-ucd.txt
deleted file mode 100644
index 8ecc4e0a0a52..000000000000
--- a/fpicker/source/unx/kde4/fps-kde4-ucd.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-[ComponentDescriptor]
-ImplementationName=com.sun.star.ui.dialogs.KDE4FilePicker
-ComponentName=fps_kde4.uno.so
-LoaderName=com.sun.star.loader.SharedLibrary
-[SupportedServices]
-com.sun.star.ui.dialogs.KDE4FilePicker
diff --git a/fpicker/source/unx/kde4/fps_kde4.component b/fpicker/source/unx/kde4/fps_kde4.component
new file mode 100755
index 000000000000..d627212b75e8
--- /dev/null
+++ b/fpicker/source/unx/kde4/fps_kde4.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.ui.dialogs.KDE4FilePicker">
+ <service name="com.sun.star.ui.dialogs.KDE4FilePicker"/>
+ </implementation>
+</component>
diff --git a/fpicker/source/unx/kde4/fps_kde4.xml b/fpicker/source/unx/kde4/fps_kde4.xml
index a12bf894186a..a12bf894186a 100644..100755
--- a/fpicker/source/unx/kde4/fps_kde4.xml
+++ b/fpicker/source/unx/kde4/fps_kde4.xml
diff --git a/fpicker/source/unx/kde4/makefile.mk b/fpicker/source/unx/kde4/makefile.mk
index e245e6618465..7ccf6df6a0ce 100644..100755
--- a/fpicker/source/unx/kde4/makefile.mk
+++ b/fpicker/source/unx/kde4/makefile.mk
@@ -80,3 +80,11 @@ DEF1VERSIONMAP=exports.map
$(MISC)$/KDE4FilePicker.moc.cxx : KDE4FilePicker.hxx
$(MOC4) $< -o $@
+
+ALLTAR : $(MISC)/fps_kde4.component
+
+$(MISC)/fps_kde4.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ fps_kde4.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt fps_kde4.component
diff --git a/fpicker/source/unx/kde_unx/FPServiceInfo.hxx b/fpicker/source/unx/kde_unx/FPServiceInfo.hxx
index 9e4cbf1ac44d..9e4cbf1ac44d 100644..100755
--- a/fpicker/source/unx/kde_unx/FPServiceInfo.hxx
+++ b/fpicker/source/unx/kde_unx/FPServiceInfo.hxx
diff --git a/fpicker/source/unx/kde_unx/UnxCommandThread.cxx b/fpicker/source/unx/kde_unx/UnxCommandThread.cxx
index 3b113346eb40..3b113346eb40 100644..100755
--- a/fpicker/source/unx/kde_unx/UnxCommandThread.cxx
+++ b/fpicker/source/unx/kde_unx/UnxCommandThread.cxx
diff --git a/fpicker/source/unx/kde_unx/UnxCommandThread.hxx b/fpicker/source/unx/kde_unx/UnxCommandThread.hxx
index b8c6aaaaf97c..b8c6aaaaf97c 100644..100755
--- a/fpicker/source/unx/kde_unx/UnxCommandThread.hxx
+++ b/fpicker/source/unx/kde_unx/UnxCommandThread.hxx
diff --git a/fpicker/source/unx/kde_unx/UnxFPentry.cxx b/fpicker/source/unx/kde_unx/UnxFPentry.cxx
index 98c94d600937..98c94d600937 100644..100755
--- a/fpicker/source/unx/kde_unx/UnxFPentry.cxx
+++ b/fpicker/source/unx/kde_unx/UnxFPentry.cxx
diff --git a/fpicker/source/unx/kde_unx/UnxFilePicker.cxx b/fpicker/source/unx/kde_unx/UnxFilePicker.cxx
index 8c7cd91a9ec0..8c7cd91a9ec0 100644..100755
--- a/fpicker/source/unx/kde_unx/UnxFilePicker.cxx
+++ b/fpicker/source/unx/kde_unx/UnxFilePicker.cxx
diff --git a/fpicker/source/unx/kde_unx/UnxFilePicker.hxx b/fpicker/source/unx/kde_unx/UnxFilePicker.hxx
index d48af8567d45..d48af8567d45 100644..100755
--- a/fpicker/source/unx/kde_unx/UnxFilePicker.hxx
+++ b/fpicker/source/unx/kde_unx/UnxFilePicker.hxx
diff --git a/fpicker/source/unx/kde_unx/UnxNotifyThread.cxx b/fpicker/source/unx/kde_unx/UnxNotifyThread.cxx
index a97fdfc24fae..a97fdfc24fae 100644..100755
--- a/fpicker/source/unx/kde_unx/UnxNotifyThread.cxx
+++ b/fpicker/source/unx/kde_unx/UnxNotifyThread.cxx
diff --git a/fpicker/source/unx/kde_unx/UnxNotifyThread.hxx b/fpicker/source/unx/kde_unx/UnxNotifyThread.hxx
index b60d7b475871..b60d7b475871 100644..100755
--- a/fpicker/source/unx/kde_unx/UnxNotifyThread.hxx
+++ b/fpicker/source/unx/kde_unx/UnxNotifyThread.hxx
diff --git a/fpicker/source/unx/kde_unx/fps-kde-ucd.txt b/fpicker/source/unx/kde_unx/fps-kde-ucd.txt
index 28aa49d97bea..28aa49d97bea 100644..100755
--- a/fpicker/source/unx/kde_unx/fps-kde-ucd.txt
+++ b/fpicker/source/unx/kde_unx/fps-kde-ucd.txt
diff --git a/fpicker/source/unx/kde_unx/fps_kde.xml b/fpicker/source/unx/kde_unx/fps_kde.xml
index 99683bfecacf..99683bfecacf 100644..100755
--- a/fpicker/source/unx/kde_unx/fps_kde.xml
+++ b/fpicker/source/unx/kde_unx/fps_kde.xml
diff --git a/fpicker/source/unx/kde_unx/makefile.mk b/fpicker/source/unx/kde_unx/makefile.mk
index 067399bf0837..067399bf0837 100644..100755
--- a/fpicker/source/unx/kde_unx/makefile.mk
+++ b/fpicker/source/unx/kde_unx/makefile.mk
diff --git a/fpicker/source/win32/filepicker/FPServiceInfo.hxx b/fpicker/source/win32/filepicker/FPServiceInfo.hxx
index 33a27f683494..33a27f683494 100644..100755
--- a/fpicker/source/win32/filepicker/FPServiceInfo.hxx
+++ b/fpicker/source/win32/filepicker/FPServiceInfo.hxx
diff --git a/fpicker/source/win32/filepicker/FPentry.cxx b/fpicker/source/win32/filepicker/FPentry.cxx
index 82eadcc4eb84..beaa3088ff46 100644..100755
--- a/fpicker/source/win32/filepicker/FPentry.cxx
+++ b/fpicker/source/win32/filepicker/FPentry.cxx
@@ -105,31 +105,6 @@ void SAL_CALL component_getImplementationEnvironment(
//
//------------------------------------------------
-sal_Bool SAL_CALL component_writeInfo( void*, void* pRegistryKey )
-{
- sal_Bool bRetVal = sal_True;
-
- if ( pRegistryKey )
- {
- try
- {
- Reference< XRegistryKey > pXNewKey( static_cast< XRegistryKey* >( pRegistryKey ) );
- pXNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( FILE_PICKER_REGKEY_NAME ) ));
- }
- catch( InvalidRegistryException& )
- {
- OSL_ENSURE( sal_False, "InvalidRegistryException caught" );
- bRetVal = sal_False;
- }
- }
-
- return bRetVal;
-}
-
-//------------------------------------------------
-//
-//------------------------------------------------
-
void* SAL_CALL component_getFactory(
const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* )
{
diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.cxx b/fpicker/source/win32/filepicker/FileOpenDlg.cxx
index ab1f396ad34e..ab1f396ad34e 100644..100755
--- a/fpicker/source/win32/filepicker/FileOpenDlg.cxx
+++ b/fpicker/source/win32/filepicker/FileOpenDlg.cxx
diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.hxx b/fpicker/source/win32/filepicker/FileOpenDlg.hxx
index 4f2a7250ac5f..4f2a7250ac5f 100644..100755
--- a/fpicker/source/win32/filepicker/FileOpenDlg.hxx
+++ b/fpicker/source/win32/filepicker/FileOpenDlg.hxx
diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx
index 0f7dda31a26c..0f7dda31a26c 100644..100755
--- a/fpicker/source/win32/filepicker/FilePicker.cxx
+++ b/fpicker/source/win32/filepicker/FilePicker.cxx
diff --git a/fpicker/source/win32/filepicker/FilePicker.hxx b/fpicker/source/win32/filepicker/FilePicker.hxx
index cb9722198fb6..cb9722198fb6 100644..100755
--- a/fpicker/source/win32/filepicker/FilePicker.hxx
+++ b/fpicker/source/win32/filepicker/FilePicker.hxx
diff --git a/fpicker/source/win32/filepicker/FilterContainer.cxx b/fpicker/source/win32/filepicker/FilterContainer.cxx
index d2de0ac6d74b..d2de0ac6d74b 100644..100755
--- a/fpicker/source/win32/filepicker/FilterContainer.cxx
+++ b/fpicker/source/win32/filepicker/FilterContainer.cxx
diff --git a/fpicker/source/win32/filepicker/FilterContainer.hxx b/fpicker/source/win32/filepicker/FilterContainer.hxx
index 91ee54571418..91ee54571418 100644..100755
--- a/fpicker/source/win32/filepicker/FilterContainer.hxx
+++ b/fpicker/source/win32/filepicker/FilterContainer.hxx
diff --git a/fpicker/source/win32/filepicker/Fps.rc b/fpicker/source/win32/filepicker/Fps.rc
index ad08ad06698e..ad08ad06698e 100644..100755
--- a/fpicker/source/win32/filepicker/Fps.rc
+++ b/fpicker/source/win32/filepicker/Fps.rc
diff --git a/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx b/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx
index a03e6f3fe23c..a03e6f3fe23c 100644..100755
--- a/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx
+++ b/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx
diff --git a/fpicker/source/win32/filepicker/PreviewCtrl.cxx b/fpicker/source/win32/filepicker/PreviewCtrl.cxx
index 823c93e8b71d..16a8afd69c6a 100644..100755
--- a/fpicker/source/win32/filepicker/PreviewCtrl.cxx
+++ b/fpicker/source/win32/filepicker/PreviewCtrl.cxx
@@ -394,7 +394,7 @@ void SAL_CALL CFilePreview::enable( sal_Bool bEnable )
m_bEnabled = bEnable;
// force a redraw
- InvalidateRect( m_hwnd, NULL, TRUE );
+ InvalidateRect( m_hwnd, NULL, sal_True );
UpdateWindow( m_hwnd );
}
@@ -436,7 +436,7 @@ sal_Bool SAL_CALL CFilePreview::update( const rtl::OUString& aFileName )
loadFile( aFileName );
// force a complete window redraw
- InvalidateRect( m_hwnd, NULL, TRUE );
+ InvalidateRect( m_hwnd, NULL, sal_True );
UpdateWindow( m_hwnd );
}
}
@@ -549,12 +549,12 @@ sal_Bool CFilePreview::loadFile( const rtl::OUString& aFileName )
goto CLEANUP_AND_EXIT;
hr = CreateStreamOnHGlobal(
- hGlobal, FALSE, &pIStream );
+ hGlobal, sal_False, &pIStream );
if ( SUCCEEDED( hr ) )
{
hr = OleLoadPicture(
- pIStream, fsize, FALSE,
+ pIStream, fsize, sal_False,
__uuidof( IPicture ), (LPVOID*)&m_IPicture );
}
@@ -602,7 +602,7 @@ LRESULT CALLBACK CFilePreview::WndProc(
// a result of handling WM_NCCREATE what
// leads to a failure of CreateWindow[Ex]!!!
case WM_NCCREATE:
- lResult = TRUE;
+ lResult = sal_True;
break;
default:
diff --git a/fpicker/source/win32/filepicker/PreviewCtrl.hxx b/fpicker/source/win32/filepicker/PreviewCtrl.hxx
index ac11e39e35d9..ac11e39e35d9 100644..100755
--- a/fpicker/source/win32/filepicker/PreviewCtrl.hxx
+++ b/fpicker/source/win32/filepicker/PreviewCtrl.hxx
diff --git a/fpicker/source/win32/filepicker/SolarMutex.cxx b/fpicker/source/win32/filepicker/SolarMutex.cxx
index b11d35a16aaf..b11d35a16aaf 100644..100755
--- a/fpicker/source/win32/filepicker/SolarMutex.cxx
+++ b/fpicker/source/win32/filepicker/SolarMutex.cxx
diff --git a/fpicker/source/win32/filepicker/SolarMutex.hxx b/fpicker/source/win32/filepicker/SolarMutex.hxx
index d9c73ba6fe02..d9c73ba6fe02 100644..100755
--- a/fpicker/source/win32/filepicker/SolarMutex.hxx
+++ b/fpicker/source/win32/filepicker/SolarMutex.hxx
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 83b040f7edff..83b040f7edff 100644..100755
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.hxx b/fpicker/source/win32/filepicker/VistaFilePicker.hxx
index 1a46ca0e1504..1a46ca0e1504 100644..100755
--- a/fpicker/source/win32/filepicker/VistaFilePicker.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.hxx
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx
index 541d1a166687..541d1a166687 100644..100755
--- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
index 85eed3ca39e0..85eed3ca39e0 100644..100755
--- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 5c9760b26d7c..1c48976a9951 100644..100755
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -1106,7 +1106,7 @@ void VistaFilePickerImpl::impl_sta_GetControlValue(const RequestRef& rRequest)
//case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_PREVIEW : // can be ignored ... preview is supported native now !
case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_SELECTION :
{
- BOOL bValue = sal_False;
+ BOOL bValue = FALSE;
HRESULT hResult = iCustom->GetCheckButtonState(nId, &bValue);
if ( SUCCEEDED(hResult) )
aValue = css::uno::makeAny((sal_Bool)bValue);
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
index 1149c9657f22..1149c9657f22 100644..100755
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
diff --git a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
index d28debbdd6b3..7b0db4a451d9 100644..100755
--- a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
+++ b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
@@ -528,7 +528,7 @@ LRESULT CALLBACK CWinFileOpenImpl::SubClassFunc(
reinterpret_cast<WNDPROC>(pImpl->m_pfnOldDlgProc),
hWnd,wMessage,wParam,lParam);
- pImpl->onWMShow((BOOL)wParam);
+ pImpl->onWMShow((sal_Bool)wParam);
break;
case WM_NCDESTROY:
@@ -609,7 +609,7 @@ BOOL CALLBACK CWinFileOpenImpl::EnumChildWndProc(HWND hWnd, LPARAM lParam)
OSL_ASSERT(pImpl);
- BOOL bRet = TRUE;
+ sal_Bool bRet = sal_True;
switch(enumParam->m_action)
{
@@ -842,7 +842,7 @@ void CWinFileOpenImpl::onWMSize()
//
//-----------------------------------------------------------------------------------------
-void CWinFileOpenImpl::onWMShow(BOOL bShow)
+void CWinFileOpenImpl::onWMShow(sal_Bool bShow)
{
m_Preview->notifyParentShow(bShow);
}
diff --git a/fpicker/source/win32/filepicker/WinFileOpenImpl.hxx b/fpicker/source/win32/filepicker/WinFileOpenImpl.hxx
index e20fbf58ff1a..0c58f88c0a74 100644..100755
--- a/fpicker/source/win32/filepicker/WinFileOpenImpl.hxx
+++ b/fpicker/source/win32/filepicker/WinFileOpenImpl.hxx
@@ -188,7 +188,7 @@ protected:
void onWMSize();
- void onWMShow(BOOL bShow);
+ void onWMShow(sal_Bool bShow);
void onWMWindowPosChanged();
void onCustomControlHelpRequest(LPHELPINFO lphi);
diff --git a/fpicker/source/win32/filepicker/afxres.h b/fpicker/source/win32/filepicker/afxres.h
index 61f5ab91ce4c..61f5ab91ce4c 100644..100755
--- a/fpicker/source/win32/filepicker/afxres.h
+++ b/fpicker/source/win32/filepicker/afxres.h
diff --git a/fpicker/source/win32/filepicker/asynceventnotifier.cxx b/fpicker/source/win32/filepicker/asynceventnotifier.cxx
index eeba8c595940..eeba8c595940 100644..100755
--- a/fpicker/source/win32/filepicker/asynceventnotifier.cxx
+++ b/fpicker/source/win32/filepicker/asynceventnotifier.cxx
diff --git a/fpicker/source/win32/filepicker/asynceventnotifier.hxx b/fpicker/source/win32/filepicker/asynceventnotifier.hxx
index d7fd8ea0cefb..d7fd8ea0cefb 100644..100755
--- a/fpicker/source/win32/filepicker/asynceventnotifier.hxx
+++ b/fpicker/source/win32/filepicker/asynceventnotifier.hxx
diff --git a/fpicker/source/win32/filepicker/asyncrequests.cxx b/fpicker/source/win32/filepicker/asyncrequests.cxx
index 7dcf6dac9a0f..b0124859fb12 100644..100755
--- a/fpicker/source/win32/filepicker/asyncrequests.cxx
+++ b/fpicker/source/win32/filepicker/asyncrequests.cxx
@@ -44,7 +44,7 @@ namespace css = ::com::sun::star;
void lcl_sleep(::osl::Condition& aCondition ,
::sal_Int32 nMilliSeconds)
{
- ULONG nAcquireCount = Application::ReleaseSolarMutex();
+ sal_uLong nAcquireCount = Application::ReleaseSolarMutex();
if (nMilliSeconds < 1)
aCondition.wait(0);
diff --git a/fpicker/source/win32/filepicker/asyncrequests.hxx b/fpicker/source/win32/filepicker/asyncrequests.hxx
index ba9b07eae995..ba9b07eae995 100644..100755
--- a/fpicker/source/win32/filepicker/asyncrequests.hxx
+++ b/fpicker/source/win32/filepicker/asyncrequests.hxx
diff --git a/fpicker/source/win32/filepicker/comptr.hxx b/fpicker/source/win32/filepicker/comptr.hxx
index 2eb4796921c2..2eb4796921c2 100644..100755
--- a/fpicker/source/win32/filepicker/comptr.hxx
+++ b/fpicker/source/win32/filepicker/comptr.hxx
diff --git a/fpicker/source/win32/filepicker/controlaccess.cxx b/fpicker/source/win32/filepicker/controlaccess.cxx
index d41eacd60145..d41eacd60145 100644..100755
--- a/fpicker/source/win32/filepicker/controlaccess.cxx
+++ b/fpicker/source/win32/filepicker/controlaccess.cxx
diff --git a/fpicker/source/win32/filepicker/controlaccess.hxx b/fpicker/source/win32/filepicker/controlaccess.hxx
index d62819286b52..d62819286b52 100644..100755
--- a/fpicker/source/win32/filepicker/controlaccess.hxx
+++ b/fpicker/source/win32/filepicker/controlaccess.hxx
diff --git a/fpicker/source/win32/filepicker/controlcommand.cxx b/fpicker/source/win32/filepicker/controlcommand.cxx
index 464d7c72df3f..464d7c72df3f 100644..100755
--- a/fpicker/source/win32/filepicker/controlcommand.cxx
+++ b/fpicker/source/win32/filepicker/controlcommand.cxx
diff --git a/fpicker/source/win32/filepicker/controlcommand.hxx b/fpicker/source/win32/filepicker/controlcommand.hxx
index f44050cf8842..f44050cf8842 100644..100755
--- a/fpicker/source/win32/filepicker/controlcommand.hxx
+++ b/fpicker/source/win32/filepicker/controlcommand.hxx
diff --git a/fpicker/source/win32/filepicker/controlcommandrequest.hxx b/fpicker/source/win32/filepicker/controlcommandrequest.hxx
index 53c28c69ebfd..53c28c69ebfd 100644..100755
--- a/fpicker/source/win32/filepicker/controlcommandrequest.hxx
+++ b/fpicker/source/win32/filepicker/controlcommandrequest.hxx
diff --git a/fpicker/source/win32/filepicker/controlcommandresult.hxx b/fpicker/source/win32/filepicker/controlcommandresult.hxx
index 99fc66d5bfe1..99fc66d5bfe1 100644..100755
--- a/fpicker/source/win32/filepicker/controlcommandresult.hxx
+++ b/fpicker/source/win32/filepicker/controlcommandresult.hxx
diff --git a/fpicker/source/win32/filepicker/customcontrol.cxx b/fpicker/source/win32/filepicker/customcontrol.cxx
index c7d78fa8b294..c7d78fa8b294 100644..100755
--- a/fpicker/source/win32/filepicker/customcontrol.cxx
+++ b/fpicker/source/win32/filepicker/customcontrol.cxx
diff --git a/fpicker/source/win32/filepicker/customcontrol.hxx b/fpicker/source/win32/filepicker/customcontrol.hxx
index ea74c7c4710d..ea74c7c4710d 100644..100755
--- a/fpicker/source/win32/filepicker/customcontrol.hxx
+++ b/fpicker/source/win32/filepicker/customcontrol.hxx
diff --git a/fpicker/source/win32/filepicker/customcontrolcontainer.cxx b/fpicker/source/win32/filepicker/customcontrolcontainer.cxx
index 24ea12111990..24ea12111990 100644..100755
--- a/fpicker/source/win32/filepicker/customcontrolcontainer.cxx
+++ b/fpicker/source/win32/filepicker/customcontrolcontainer.cxx
diff --git a/fpicker/source/win32/filepicker/customcontrolcontainer.hxx b/fpicker/source/win32/filepicker/customcontrolcontainer.hxx
index dc63c8cb355f..dc63c8cb355f 100644..100755
--- a/fpicker/source/win32/filepicker/customcontrolcontainer.hxx
+++ b/fpicker/source/win32/filepicker/customcontrolcontainer.hxx
diff --git a/fpicker/source/win32/filepicker/customcontrolfactory.cxx b/fpicker/source/win32/filepicker/customcontrolfactory.cxx
index c933821641d6..c933821641d6 100644..100755
--- a/fpicker/source/win32/filepicker/customcontrolfactory.cxx
+++ b/fpicker/source/win32/filepicker/customcontrolfactory.cxx
diff --git a/fpicker/source/win32/filepicker/customcontrolfactory.hxx b/fpicker/source/win32/filepicker/customcontrolfactory.hxx
index 8222531f72e7..8222531f72e7 100644..100755
--- a/fpicker/source/win32/filepicker/customcontrolfactory.hxx
+++ b/fpicker/source/win32/filepicker/customcontrolfactory.hxx
diff --git a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
index 0be7a7e72b93..8f42aaaf6d94 100644..100755
--- a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
+++ b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
@@ -54,7 +54,7 @@ void SAL_CALL CDialogCustomControlBase::SetFont(HFONT hFont)
m_CustomControlHandle,
WM_SETFONT,
(WPARAM)hFont,
- (LPARAM)TRUE);
+ (LPARAM)sal_True);
}
//-----------------------------------
diff --git a/fpicker/source/win32/filepicker/dialogcustomcontrols.hxx b/fpicker/source/win32/filepicker/dialogcustomcontrols.hxx
index b7f64dc13ef2..b7f64dc13ef2 100644..100755
--- a/fpicker/source/win32/filepicker/dialogcustomcontrols.hxx
+++ b/fpicker/source/win32/filepicker/dialogcustomcontrols.hxx
diff --git a/fpicker/source/win32/filepicker/dibpreview.cxx b/fpicker/source/win32/filepicker/dibpreview.cxx
index 2ba23b0fa38f..35d0622428d9 100644..100755
--- a/fpicker/source/win32/filepicker/dibpreview.cxx
+++ b/fpicker/source/win32/filepicker/dibpreview.cxx
@@ -204,7 +204,7 @@ void SAL_CALL CDIBPreview::setImage(sal_Int16 aImageFormat, const Any& aImage)
aGuard.clear();
- InvalidateRect(m_Hwnd,NULL,FALSE);
+ InvalidateRect(m_Hwnd,NULL,sal_False);
UpdateWindow(m_Hwnd);
}
@@ -245,7 +245,7 @@ void SAL_CALL CDIBPreview::onPaint(HWND hWnd, HDC hDC)
{
BITMAPFILEHEADER* pbmfh;
BITMAPINFO * pbmi;
- BYTE * pBits;
+ sal_uInt8 * pBits;
int cxDib;
int cyDib;
@@ -259,7 +259,7 @@ void SAL_CALL CDIBPreview::onPaint(HWND hWnd, HDC hDC)
(pbmfh->bfType == ('B' | ('M' << 8))) )
{
pbmi = reinterpret_cast<BITMAPINFO*>((pbmfh + 1));
- pBits = reinterpret_cast<BYTE*>(((DWORD)pbmfh) + pbmfh->bfOffBits);
+ pBits = reinterpret_cast<sal_uInt8*>(((DWORD)pbmfh) + pbmfh->bfOffBits);
cxDib = pbmi->bmiHeader.biWidth;
cyDib = abs (pbmi->bmiHeader.biHeight);
diff --git a/fpicker/source/win32/filepicker/dibpreview.hxx b/fpicker/source/win32/filepicker/dibpreview.hxx
index 2269fce065c7..2269fce065c7 100644..100755
--- a/fpicker/source/win32/filepicker/dibpreview.hxx
+++ b/fpicker/source/win32/filepicker/dibpreview.hxx
diff --git a/fpicker/source/win32/filepicker/eventnotification.hxx b/fpicker/source/win32/filepicker/eventnotification.hxx
index 3866ca59946f..3866ca59946f 100644..100755
--- a/fpicker/source/win32/filepicker/eventnotification.hxx
+++ b/fpicker/source/win32/filepicker/eventnotification.hxx
diff --git a/fpicker/source/win32/filepicker/filepickereventnotification.cxx b/fpicker/source/win32/filepicker/filepickereventnotification.cxx
index 13001fdcd81a..13001fdcd81a 100644..100755
--- a/fpicker/source/win32/filepicker/filepickereventnotification.cxx
+++ b/fpicker/source/win32/filepicker/filepickereventnotification.cxx
diff --git a/fpicker/source/win32/filepicker/filepickereventnotification.hxx b/fpicker/source/win32/filepicker/filepickereventnotification.hxx
index 4a64c0ffcf80..4a64c0ffcf80 100644..100755
--- a/fpicker/source/win32/filepicker/filepickereventnotification.hxx
+++ b/fpicker/source/win32/filepicker/filepickereventnotification.hxx
diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx
index dedc63b3458a..dedc63b3458a 100644..100755
--- a/fpicker/source/win32/filepicker/filepickerstate.cxx
+++ b/fpicker/source/win32/filepicker/filepickerstate.cxx
diff --git a/fpicker/source/win32/filepicker/filepickerstate.hxx b/fpicker/source/win32/filepicker/filepickerstate.hxx
index 1255e9325619..1255e9325619 100644..100755
--- a/fpicker/source/win32/filepicker/filepickerstate.hxx
+++ b/fpicker/source/win32/filepicker/filepickerstate.hxx
diff --git a/fpicker/source/win32/filepicker/fps.xml b/fpicker/source/win32/filepicker/fps.xml
index 93530780956b..93530780956b 100644..100755
--- a/fpicker/source/win32/filepicker/fps.xml
+++ b/fpicker/source/win32/filepicker/fps.xml
diff --git a/fpicker/source/win32/filepicker/getfilenamewrapper.cxx b/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
index 107112a1b1b7..0f1a1a883582 100644..100755
--- a/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
+++ b/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
@@ -55,13 +55,13 @@ namespace /* private */
//-----------------------------------------------
class CurDirGuard
{
- BOOL m_bValid;
+ sal_Bool m_bValid;
wchar_t* m_pBuffer;
DWORD m_nBufLen;
public:
CurDirGuard()
- : m_bValid( FALSE )
+ : m_bValid( sal_False )
, m_pBuffer( NULL )
, m_nBufLen( 0 )
{
@@ -75,7 +75,7 @@ namespace /* private */
~CurDirGuard()
{
- BOOL bDirSet = FALSE;
+ bool bDirSet = false;
if ( m_pBuffer )
{
diff --git a/fpicker/source/win32/filepicker/getfilenamewrapper.hxx b/fpicker/source/win32/filepicker/getfilenamewrapper.hxx
index 2e028b4df210..2e028b4df210 100644..100755
--- a/fpicker/source/win32/filepicker/getfilenamewrapper.hxx
+++ b/fpicker/source/win32/filepicker/getfilenamewrapper.hxx
diff --git a/fpicker/source/win32/filepicker/helppopupwindow.cxx b/fpicker/source/win32/filepicker/helppopupwindow.cxx
index 46021a49777b..46021a49777b 100644..100755
--- a/fpicker/source/win32/filepicker/helppopupwindow.cxx
+++ b/fpicker/source/win32/filepicker/helppopupwindow.cxx
diff --git a/fpicker/source/win32/filepicker/helppopupwindow.hxx b/fpicker/source/win32/filepicker/helppopupwindow.hxx
index 71f74ad5a055..71f74ad5a055 100644..100755
--- a/fpicker/source/win32/filepicker/helppopupwindow.hxx
+++ b/fpicker/source/win32/filepicker/helppopupwindow.hxx
diff --git a/fpicker/source/win32/filepicker/makefile.mk b/fpicker/source/win32/filepicker/makefile.mk
index bfe5bee1da01..bfe5bee1da01 100644..100755
--- a/fpicker/source/win32/filepicker/makefile.mk
+++ b/fpicker/source/win32/filepicker/makefile.mk
diff --git a/fpicker/source/win32/filepicker/platform_vista.h b/fpicker/source/win32/filepicker/platform_vista.h
index c6fd8688bbd7..c6fd8688bbd7 100644..100755
--- a/fpicker/source/win32/filepicker/platform_vista.h
+++ b/fpicker/source/win32/filepicker/platform_vista.h
diff --git a/fpicker/source/win32/filepicker/platform_xp.h b/fpicker/source/win32/filepicker/platform_xp.h
index 41b034070425..41b034070425 100644..100755
--- a/fpicker/source/win32/filepicker/platform_xp.h
+++ b/fpicker/source/win32/filepicker/platform_xp.h
diff --git a/fpicker/source/win32/filepicker/previewadapter.cxx b/fpicker/source/win32/filepicker/previewadapter.cxx
index 407f000a7e6c..7f4ee5d05d79 100644..100755
--- a/fpicker/source/win32/filepicker/previewadapter.cxx
+++ b/fpicker/source/win32/filepicker/previewadapter.cxx
@@ -307,7 +307,7 @@ void SAL_CALL CPreviewAdapterImpl::rearrangeLayout()
// style bit of the FileOpen dialog must be set after that
// message
LONG lStyle = GetWindowLong(prvwnd,GWL_STYLE);
- BOOL bIsVisible = (BOOL)(lStyle & WS_VISIBLE);
+ sal_Bool bIsVisible = (sal_Bool)(lStyle & WS_VISIBLE);
int cx = 0;
@@ -317,7 +317,7 @@ void SAL_CALL CPreviewAdapterImpl::rearrangeLayout()
// resize the filelistbox to the half of the
// available space
- BOOL bRet = SetWindowPos(flb_new,
+ bool bRet = SetWindowPos(flb_new,
NULL, 0, 0, cx, height,
SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
diff --git a/fpicker/source/win32/filepicker/previewadapter.hxx b/fpicker/source/win32/filepicker/previewadapter.hxx
index 0efc2e60245a..0efc2e60245a 100644..100755
--- a/fpicker/source/win32/filepicker/previewadapter.hxx
+++ b/fpicker/source/win32/filepicker/previewadapter.hxx
diff --git a/fpicker/source/win32/filepicker/previewbase.cxx b/fpicker/source/win32/filepicker/previewbase.cxx
index bca984e5ad0f..bca984e5ad0f 100644..100755
--- a/fpicker/source/win32/filepicker/previewbase.cxx
+++ b/fpicker/source/win32/filepicker/previewbase.cxx
diff --git a/fpicker/source/win32/filepicker/previewbase.hxx b/fpicker/source/win32/filepicker/previewbase.hxx
index d4b36a618c7f..d4b36a618c7f 100644..100755
--- a/fpicker/source/win32/filepicker/previewbase.hxx
+++ b/fpicker/source/win32/filepicker/previewbase.hxx
diff --git a/fpicker/source/win32/filepicker/propmap.hxx b/fpicker/source/win32/filepicker/propmap.hxx
index 0e8ffd78425a..0e8ffd78425a 100644..100755
--- a/fpicker/source/win32/filepicker/propmap.hxx
+++ b/fpicker/source/win32/filepicker/propmap.hxx
diff --git a/fpicker/source/win32/filepicker/resource.h b/fpicker/source/win32/filepicker/resource.h
index f99ffe34cf5a..f99ffe34cf5a 100644..100755
--- a/fpicker/source/win32/filepicker/resource.h
+++ b/fpicker/source/win32/filepicker/resource.h
diff --git a/fpicker/source/win32/filepicker/shared.hxx b/fpicker/source/win32/filepicker/shared.hxx
index 38580770515a..38580770515a 100644..100755
--- a/fpicker/source/win32/filepicker/shared.hxx
+++ b/fpicker/source/win32/filepicker/shared.hxx
diff --git a/fpicker/source/win32/filepicker/vistatypes.h b/fpicker/source/win32/filepicker/vistatypes.h
index 08b4613f6d25..08b4613f6d25 100644..100755
--- a/fpicker/source/win32/filepicker/vistatypes.h
+++ b/fpicker/source/win32/filepicker/vistatypes.h
diff --git a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
index f698ea059d0b..379f5b771d50 100644..100755
--- a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
+++ b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
@@ -178,7 +178,7 @@ void SAL_CALL FilePickerListener::fileSelectionChanged( const ::com::sun::star::
Sequence< sal_Int8 > aDIB( dwFileSize );
DWORD dwBytesRead;
- BOOL bSuccess = ReadFile (hFile, aDIB.getArray( ), dwFileSize, &dwBytesRead, NULL) ;
+ sal_Bool bSuccess = ReadFile (hFile, aDIB.getArray( ), dwFileSize, &dwBytesRead, NULL) ;
CloseHandle (hFile);
BITMAPFILEHEADER* pbmfh = (BITMAPFILEHEADER*)aDIB.getConstArray( );
diff --git a/fpicker/source/win32/filepicker/workbench/makefile.mk b/fpicker/source/win32/filepicker/workbench/makefile.mk
index 926e2c22a0ed..926e2c22a0ed 100644..100755
--- a/fpicker/source/win32/filepicker/workbench/makefile.mk
+++ b/fpicker/source/win32/filepicker/workbench/makefile.mk
diff --git a/fpicker/source/win32/folderpicker/FOPServiceInfo.hxx b/fpicker/source/win32/folderpicker/FOPServiceInfo.hxx
index 0f1dd0c0eeb4..0f1dd0c0eeb4 100644..100755
--- a/fpicker/source/win32/folderpicker/FOPServiceInfo.hxx
+++ b/fpicker/source/win32/folderpicker/FOPServiceInfo.hxx
diff --git a/fpicker/source/win32/folderpicker/FolderPicker.cxx b/fpicker/source/win32/folderpicker/FolderPicker.cxx
index 5483b7d78ee9..5483b7d78ee9 100644..100755
--- a/fpicker/source/win32/folderpicker/FolderPicker.cxx
+++ b/fpicker/source/win32/folderpicker/FolderPicker.cxx
diff --git a/fpicker/source/win32/folderpicker/FolderPicker.hxx b/fpicker/source/win32/folderpicker/FolderPicker.hxx
index 0aed9df40630..0aed9df40630 100644..100755
--- a/fpicker/source/win32/folderpicker/FolderPicker.hxx
+++ b/fpicker/source/win32/folderpicker/FolderPicker.hxx
diff --git a/fpicker/source/win32/folderpicker/FopEvtDisp.hxx b/fpicker/source/win32/folderpicker/FopEvtDisp.hxx
index 3da34d8f6bf6..3da34d8f6bf6 100644..100755
--- a/fpicker/source/win32/folderpicker/FopEvtDisp.hxx
+++ b/fpicker/source/win32/folderpicker/FopEvtDisp.hxx
diff --git a/fpicker/source/win32/folderpicker/Fopentry.cxx b/fpicker/source/win32/folderpicker/Fopentry.cxx
index d86fff151a2a..73a048c21ff7 100644..100755
--- a/fpicker/source/win32/folderpicker/Fopentry.cxx
+++ b/fpicker/source/win32/folderpicker/Fopentry.cxx
@@ -84,31 +84,6 @@ void SAL_CALL component_getImplementationEnvironment(
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
-//-----------------------------------------------------------------------
-//
-//-----------------------------------------------------------------------
-
-sal_Bool SAL_CALL component_writeInfo( void*, void* pRegistryKey )
-{
- sal_Bool bRetVal = sal_True;
-
- if ( pRegistryKey )
- {
- try
- {
- Reference< XRegistryKey > pXNewKey( static_cast< XRegistryKey* >( pRegistryKey ) );
- pXNewKey->createKey( OUString( RTL_CONSTASCII_USTRINGPARAM( FOLDER_PICKER_REGKEY_NAME ) ) );
- }
- catch( InvalidRegistryException& )
- {
- OSL_ENSURE(sal_False, "InvalidRegistryException caught");
- bRetVal = sal_False;
- }
- }
-
- return bRetVal;
-}
-
//----------------------------------------------------------------------
// component_getFactory
// returns a factory to create XFilePicker-Services
diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx
index 2933b0e6614e..899d8af2488c 100644..100755
--- a/fpicker/source/win32/folderpicker/MtaFop.cxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.cxx
@@ -280,7 +280,7 @@ sal_Bool CMtaFolderPicker::browseForFolder( )
while ( bContinue )
{
DWORD dwResult = MsgWaitForMultipleObjects(
- 1, &aReqCtx.hEvent, FALSE, INFINITE, QS_ALLEVENTS );
+ 1, &aReqCtx.hEvent, sal_False, INFINITE, QS_ALLEVENTS );
switch ( dwResult )
{
@@ -547,7 +547,7 @@ void SAL_CALL CMtaFolderPicker::onInitialized( )
SendMessageA(
m_hwnd,
BFFM_SETSELECTION,
- (WPARAM)FALSE,
+ (WPARAM)sal_False,
(LPARAM) lpiidDisplayDir );
releaseItemIdList( lpiidDisplayDir );
diff --git a/fpicker/source/win32/folderpicker/MtaFop.hxx b/fpicker/source/win32/folderpicker/MtaFop.hxx
index 36e4648b05bd..36e4648b05bd 100644..100755
--- a/fpicker/source/win32/folderpicker/MtaFop.hxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.hxx
diff --git a/fpicker/source/win32/folderpicker/WinFOPImpl.cxx b/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
index fdf191f07318..fdf191f07318 100644..100755
--- a/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
+++ b/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
diff --git a/fpicker/source/win32/folderpicker/WinFOPImpl.hxx b/fpicker/source/win32/folderpicker/WinFOPImpl.hxx
index d88531629d03..d88531629d03 100644..100755
--- a/fpicker/source/win32/folderpicker/WinFOPImpl.hxx
+++ b/fpicker/source/win32/folderpicker/WinFOPImpl.hxx
diff --git a/fpicker/source/win32/folderpicker/fop.xml b/fpicker/source/win32/folderpicker/fop.xml
index 7c6835a88cb9..7c6835a88cb9 100644..100755
--- a/fpicker/source/win32/folderpicker/fop.xml
+++ b/fpicker/source/win32/folderpicker/fop.xml
diff --git a/fpicker/source/win32/folderpicker/makefile.mk b/fpicker/source/win32/folderpicker/makefile.mk
index f42ff9685c3c..f42ff9685c3c 100644..100755
--- a/fpicker/source/win32/folderpicker/makefile.mk
+++ b/fpicker/source/win32/folderpicker/makefile.mk
diff --git a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
index 7c5a90ca67db..7c5a90ca67db 100644..100755
--- a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
+++ b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
diff --git a/fpicker/source/win32/folderpicker/workbench/makefile.mk b/fpicker/source/win32/folderpicker/workbench/makefile.mk
index 666751f2779d..666751f2779d 100644..100755
--- a/fpicker/source/win32/folderpicker/workbench/makefile.mk
+++ b/fpicker/source/win32/folderpicker/workbench/makefile.mk
diff --git a/fpicker/source/win32/misc/AutoBuffer.cxx b/fpicker/source/win32/misc/AutoBuffer.cxx
index 00c0f91fbf42..00c0f91fbf42 100644..100755
--- a/fpicker/source/win32/misc/AutoBuffer.cxx
+++ b/fpicker/source/win32/misc/AutoBuffer.cxx
diff --git a/fpicker/source/win32/misc/AutoBuffer.hxx b/fpicker/source/win32/misc/AutoBuffer.hxx
index 6b287d2556b0..6b287d2556b0 100644..100755
--- a/fpicker/source/win32/misc/AutoBuffer.hxx
+++ b/fpicker/source/win32/misc/AutoBuffer.hxx
diff --git a/fpicker/source/win32/misc/WinImplHelper.cxx b/fpicker/source/win32/misc/WinImplHelper.cxx
index 301a5bc9e6bc..301a5bc9e6bc 100644..100755
--- a/fpicker/source/win32/misc/WinImplHelper.cxx
+++ b/fpicker/source/win32/misc/WinImplHelper.cxx
diff --git a/fpicker/source/win32/misc/WinImplHelper.hxx b/fpicker/source/win32/misc/WinImplHelper.hxx
index 03cefe901124..03cefe901124 100644..100755
--- a/fpicker/source/win32/misc/WinImplHelper.hxx
+++ b/fpicker/source/win32/misc/WinImplHelper.hxx
diff --git a/fpicker/source/win32/misc/makefile.mk b/fpicker/source/win32/misc/makefile.mk
index 70faefdeaef4..70faefdeaef4 100644..100755
--- a/fpicker/source/win32/misc/makefile.mk
+++ b/fpicker/source/win32/misc/makefile.mk
diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx
index fedea82d3515..fedea82d3515 100644..100755
--- a/fpicker/source/win32/misc/resourceprovider.cxx
+++ b/fpicker/source/win32/misc/resourceprovider.cxx
diff --git a/fpicker/source/win32/misc/resourceprovider.hxx b/fpicker/source/win32/misc/resourceprovider.hxx
index 3b887e602a48..3b887e602a48 100644..100755
--- a/fpicker/source/win32/misc/resourceprovider.hxx
+++ b/fpicker/source/win32/misc/resourceprovider.hxx
diff --git a/fpicker/test/makefile.mk b/fpicker/test/makefile.mk
index 4157d339bd3a..4157d339bd3a 100644..100755
--- a/fpicker/test/makefile.mk
+++ b/fpicker/test/makefile.mk
diff --git a/fpicker/test/svdem.cxx b/fpicker/test/svdem.cxx
index 5fb56e148beb..5fb56e148beb 100644..100755
--- a/fpicker/test/svdem.cxx
+++ b/fpicker/test/svdem.cxx
diff --git a/fpicker/util/exports.dxp b/fpicker/util/exports.dxp
index 028ac4175990..f0e1c69934bc 100644..100755
--- a/fpicker/util/exports.dxp
+++ b/fpicker/util/exports.dxp
@@ -1,3 +1,2 @@
component_getImplementationEnvironment
-component_writeInfo
component_getFactory
diff --git a/fpicker/util/fop.component b/fpicker/util/fop.component
new file mode 100755
index 000000000000..a31c096dd42a
--- /dev/null
+++ b/fpicker/util/fop.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.ui.dialogs.Win32FolderPicker">
+ <service name="com.sun.star.ui.dialogs.SystemFolderPicker"/>
+ </implementation>
+</component>
diff --git a/fpicker/util/fps.component b/fpicker/util/fps.component
new file mode 100755
index 000000000000..cc18d211028c
--- /dev/null
+++ b/fpicker/util/fps.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.ui.dialogs.Win32FilePicker">
+ <service name="com.sun.star.ui.dialogs.SystemFilePicker"/>
+ </implementation>
+</component>
diff --git a/fpicker/util/makefile.mk b/fpicker/util/makefile.mk
index e9642f592c43..39fb31837731 100644..100755
--- a/fpicker/util/makefile.mk
+++ b/fpicker/util/makefile.mk
@@ -102,3 +102,16 @@ DEF2EXPORTFILE= exports.dxp
.INCLUDE : target.mk
+ALLTAR : $(MISC)/fop.component $(MISC)/fps.component
+
+$(MISC)/fop.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ fop.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt fop.component
+
+$(MISC)/fps.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ fps.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt fps.component