filter/inc/strings.hrc | 5 +---- filter/inc/strings.hxx | 5 +---- filter/source/config/cache/basecontainer.hxx | 5 +---- filter/source/config/cache/cacheitem.hxx | 5 +---- filter/source/config/cache/cacheupdatelistener.hxx | 5 +---- filter/source/config/cache/configflush.hxx | 5 +---- filter/source/config/cache/constant.hxx | 5 +---- filter/source/config/cache/contenthandlerfactory.hxx | 5 +---- filter/source/config/cache/filtercache.hxx | 5 +---- filter/source/config/cache/filterfactory.hxx | 5 +---- filter/source/config/cache/frameloaderfactory.hxx | 5 +---- filter/source/config/cache/querytokenizer.hxx | 5 +---- filter/source/config/cache/typedetection.hxx | 5 +---- filter/source/graphic/GraphicExportFilter.hxx | 5 +---- filter/source/graphicfilter/icgm/bitmap.hxx | 4 +--- filter/source/graphicfilter/icgm/bundles.hxx | 5 +---- filter/source/graphicfilter/icgm/cgm.hxx | 4 +--- filter/source/graphicfilter/icgm/cgmtypes.hxx | 5 +---- filter/source/graphicfilter/icgm/chart.hxx | 5 +---- filter/source/graphicfilter/icgm/elements.hxx | 5 +---- filter/source/graphicfilter/icgm/outact.hxx | 5 +---- filter/source/msfilter/eschesdo.hxx | 5 +---- filter/source/msfilter/viscache.hxx | 5 +---- filter/source/pdf/impdialog.hxx | 5 +---- filter/source/pdf/pdfdialog.hxx | 5 +---- filter/source/pdf/pdfexport.hxx | 5 +---- filter/source/pdf/pdffilter.hxx | 5 +---- filter/source/pdf/pdfinteract.hxx | 5 +---- filter/source/storagefilterdetect/filterdetect.hxx | 5 +---- filter/source/svg/svgfilter.hxx | 5 +---- filter/source/svg/svgfontexport.hxx | 5 +---- filter/source/svg/svgwriter.hxx | 5 +---- filter/source/svg/test/odfserializer.hxx | 5 +---- filter/source/t602/t602filter.hxx | 5 +---- filter/source/textfilterdetect/filterdetect.hxx | 5 +---- filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx | 5 +---- filter/source/xmlfilterdetect/filterdetect.hxx | 5 +---- filter/source/xsltdialog/typedetectionexport.hxx | 5 +---- filter/source/xsltdialog/typedetectionimport.hxx | 4 +--- filter/source/xsltdialog/xmlfiltercommon.hxx | 5 +---- filter/source/xsltdialog/xmlfilterjar.hxx | 5 +---- filter/source/xsltdialog/xmlfiltersettingsdialog.hxx | 5 +---- filter/source/xsltdialog/xmlfiltertabdialog.hxx | 5 +---- filter/source/xsltdialog/xmlfiltertabpagebasic.hxx | 5 +---- filter/source/xsltdialog/xmlfiltertabpagexslt.hxx | 5 +---- filter/source/xsltdialog/xmlfiltertestdialog.hxx | 5 +---- filter/source/xsltfilter/LibXSLTTransformer.hxx | 4 +--- filter/source/xsltfilter/OleHandler.hxx | 5 +---- forms/inc/strings.hrc | 5 +---- forms/source/component/BaseListBox.hxx | 5 +---- forms/source/component/ComboBox.hxx | 5 +---- forms/source/component/File.hxx | 5 +---- forms/source/component/Filter.hxx | 5 +---- forms/source/component/FixedText.hxx | 5 +---- forms/source/component/FormattedField.hxx | 4 +--- forms/source/component/FormattedFieldWrapper.hxx | 5 +---- forms/source/component/FormsCollection.hxx | 5 +---- forms/source/component/Grid.hxx | 5 +---- forms/source/component/GroupBox.hxx | 5 +---- forms/source/component/GroupManager.hxx | 5 +---- forms/source/component/Hidden.hxx | 5 +---- forms/source/component/ImageButton.hxx | 5 +---- forms/source/component/ImageControl.hxx | 5 +---- forms/source/component/ListBox.hxx | 5 +---- forms/source/component/Numeric.hxx | 5 +---- forms/source/component/Pattern.hxx | 5 +---- forms/source/component/RadioButton.hxx | 5 +---- forms/source/component/Time.hxx | 5 +---- forms/source/component/findpos.hxx | 5 +---- forms/source/component/imgprod.hxx | 5 +---- forms/source/component/navigationbar.hxx | 5 +---- forms/source/component/refvaluecomponent.hxx | 5 +---- forms/source/component/scrollbar.hxx | 5 +---- forms/source/component/spinbutton.hxx | 5 +---- forms/source/inc/FormComponent.hxx | 5 +---- forms/source/inc/InterfaceContainer.hxx | 5 +---- forms/source/inc/cloneable.hxx | 5 +---- forms/source/inc/commandimageprovider.hxx | 5 +---- forms/source/inc/componenttools.hxx | 5 +---- forms/source/inc/controlfeatureinterception.hxx | 5 +---- forms/source/inc/featuredispatcher.hxx | 5 +---- forms/source/inc/formcontrolfont.hxx | 5 +---- forms/source/inc/formnavigation.hxx | 5 +---- forms/source/inc/frm_resource.hxx | 5 +---- forms/source/inc/frm_strings.hxx | 5 +---- forms/source/inc/limitedformats.hxx | 5 +---- forms/source/inc/listenercontainers.hxx | 5 +---- forms/source/inc/property.hxx | 5 +---- forms/source/inc/propertybaghelper.hxx | 5 +---- forms/source/inc/resettable.hxx | 5 +---- forms/source/inc/services.hxx | 5 +---- forms/source/inc/togglestate.hxx | 5 +---- forms/source/inc/urltransformer.hxx | 5 +---- forms/source/inc/windowstateguard.hxx | 5 +---- forms/source/richtext/attributedispatcher.hxx | 5 +---- forms/source/richtext/clipboarddispatcher.hxx | 5 +---- forms/source/richtext/featuredispatcher.hxx | 5 +---- forms/source/richtext/parametrizedattributedispatcher.hxx | 5 +---- forms/source/richtext/richtextcontrol.hxx | 5 +---- forms/source/richtext/richtextengine.hxx | 5 +---- forms/source/richtext/richtextimplcontrol.hxx | 5 +---- forms/source/richtext/richtextmodel.hxx | 5 +---- forms/source/richtext/richtextunowrapper.hxx | 5 +---- forms/source/richtext/richtextvclcontrol.hxx | 5 +---- forms/source/richtext/richtextviewport.hxx | 5 +---- forms/source/richtext/rtattributehandler.hxx | 5 +---- forms/source/richtext/rtattributes.hxx | 5 +---- forms/source/richtext/specialdispatchers.hxx | 5 +---- forms/source/richtext/textattributelistener.hxx | 5 +---- forms/source/runtime/formoperations.hxx | 5 +---- forms/source/solar/component/navbarcontrol.hxx | 5 +---- forms/source/solar/inc/navtoolbar.hxx | 5 +---- forms/source/xforms/NameContainer.hxx | 5 +---- forms/source/xforms/binding.hxx | 5 +---- forms/source/xforms/boolexpression.hxx | 5 +---- forms/source/xforms/collection.hxx | 5 +---- forms/source/xforms/computedexpression.hxx | 5 +---- forms/source/xforms/convert.hxx | 5 +---- forms/source/xforms/datatyperepository.hxx | 5 +---- forms/source/xforms/datatypes.hxx | 5 +---- forms/source/xforms/enumeration.hxx | 5 +---- forms/source/xforms/evaluationcontext.hxx | 5 +---- forms/source/xforms/mip.hxx | 5 +---- forms/source/xforms/model.hxx | 4 +--- forms/source/xforms/model_helper.hxx | 5 +---- forms/source/xforms/namedcollection.hxx | 5 +---- forms/source/xforms/pathexpression.hxx | 5 +---- forms/source/xforms/propertysetbase.hxx | 5 +---- forms/source/xforms/resourcehelper.hxx | 5 +---- forms/source/xforms/submission.hxx | 5 +---- forms/source/xforms/submission/serialization.hxx | 5 +---- forms/source/xforms/submission/serialization_app_xml.hxx | 5 +---- forms/source/xforms/submission/serialization_urlencoded.hxx | 5 +---- forms/source/xforms/submission/submission.hxx | 5 +---- forms/source/xforms/submission/submission_get.hxx | 4 +--- forms/source/xforms/submission/submission_post.hxx | 4 +--- forms/source/xforms/submission/submission_put.hxx | 4 +--- forms/source/xforms/unohelper.hxx | 5 +---- forms/source/xforms/xformsevent.hxx | 5 +---- forms/source/xforms/xmlhelper.hxx | 5 +---- forms/source/xforms/xpathlib/extension.hxx | 5 +---- forms/source/xforms/xpathlib/xpathlib.hxx | 5 +---- formula/inc/bitmaps.hlst | 5 +---- formula/inc/core_resource.hrc | 5 +---- formula/inc/strings.hrc | 5 +---- formula/source/ui/dlg/ControlHelper.hxx | 4 +--- formula/source/ui/dlg/funcpage.hxx | 4 +--- formula/source/ui/dlg/parawin.hxx | 5 +---- formula/source/ui/dlg/structpg.hxx | 5 +---- fpicker/inc/bitmaps.hlst | 5 +---- fpicker/inc/fpsofficeResMgr.hxx | 5 +---- fpicker/inc/strings.hrc | 5 +---- fpicker/source/aqua/AquaFilePickerDelegate.hxx | 5 +---- fpicker/source/aqua/CFStringUtilities.hxx | 5 +---- fpicker/source/aqua/ControlHelper.hxx | 5 +---- fpicker/source/aqua/FilterHelper.hxx | 5 +---- fpicker/source/aqua/NSString_OOoAdditions.hxx | 5 +---- fpicker/source/aqua/NSURL_OOoAdditions.hxx | 5 +---- fpicker/source/aqua/SalAquaConstants.h | 5 +---- fpicker/source/aqua/SalAquaFilePicker.hxx | 5 +---- fpicker/source/aqua/SalAquaFolderPicker.hxx | 5 +---- fpicker/source/aqua/SalAquaPicker.hxx | 5 +---- fpicker/source/aqua/resourceprovider.hxx | 5 +---- fpicker/source/office/OfficeControlAccess.hxx | 5 +---- fpicker/source/office/OfficeFilePicker.hxx | 5 +---- fpicker/source/office/OfficeFolderPicker.hxx | 5 +---- fpicker/source/office/PlacesListBox.hxx | 5 +---- fpicker/source/office/QueryFolderName.hxx | 5 +---- fpicker/source/office/RemoteFilesDialog.hxx | 4 +--- fpicker/source/office/asyncfilepicker.hxx | 5 +---- fpicker/source/office/autocmpledit.hxx | 5 +---- fpicker/source/office/breadcrumb.hxx | 5 +---- fpicker/source/office/commonpicker.hxx | 5 +---- fpicker/source/office/contentenumeration.hxx | 5 +---- fpicker/source/office/fileview.hxx | 5 +---- fpicker/source/office/foldertree.hxx | 5 +---- fpicker/source/office/fpdialogbase.hxx | 5 +---- fpicker/source/office/fpinteraction.hxx | 5 +---- fpicker/source/office/fpsmartcontent.hxx | 5 +---- fpicker/source/office/iodlg.hxx | 5 +---- fpicker/source/office/iodlgimp.hxx | 5 +---- fpicker/source/office/pickercallbacks.hxx | 5 +---- fpicker/source/win32/FilterContainer.hxx | 5 +---- fpicker/source/win32/VistaFilePicker.hxx | 5 +---- fpicker/source/win32/VistaFilePickerEventHandler.hxx | 5 +---- fpicker/source/win32/VistaFilePickerImpl.hxx | 5 +---- fpicker/source/win32/WinImplHelper.hxx | 5 +---- fpicker/source/win32/asyncrequests.hxx | 5 +---- fpicker/source/win32/platform_vista.h | 5 +---- fpicker/source/win32/resourceprovider.hxx | 5 +---- fpicker/source/win32/shared.hxx | 4 +--- fpicker/source/win32/vistatypes.h | 5 +---- framework/inc/acceleratorconst.h | 5 +---- framework/inc/bitmaps.hlst | 5 +---- framework/inc/classes/actiontriggercontainer.hxx | 5 +---- framework/inc/classes/actiontriggerpropertyset.hxx | 5 +---- framework/inc/classes/actiontriggerseparatorpropertyset.hxx | 5 +---- framework/inc/classes/converter.hxx | 5 +---- framework/inc/classes/fwkresid.hxx | 5 +---- framework/inc/classes/imagewrapper.hxx | 5 +---- framework/inc/classes/protocolhandlercache.hxx | 5 +---- framework/inc/classes/resource.hxx | 5 +---- framework/inc/classes/rootactiontriggercontainer.hxx | 5 +---- framework/inc/classes/taskcreator.hxx | 5 +---- framework/inc/dispatch/closedispatcher.hxx | 5 +---- framework/inc/dispatch/dispatchinformationprovider.hxx | 5 +---- framework/inc/dispatch/dispatchprovider.hxx | 5 +---- framework/inc/dispatch/interceptionhelper.hxx | 5 +---- framework/inc/dispatch/mailtodispatcher.hxx | 5 +---- framework/inc/dispatch/oxt_handler.hxx | 5 +---- framework/inc/dispatch/popupmenudispatcher.hxx | 5 +---- framework/inc/dispatch/servicehandler.hxx | 5 +---- framework/inc/dispatch/startmoduledispatcher.hxx | 5 +---- framework/inc/dispatch/systemexec.hxx | 5 +---- framework/inc/helper/dockingareadefaultacceptor.hxx | 5 +---- framework/inc/helper/mischelper.hxx | 5 +---- framework/inc/helper/ocomponentaccess.hxx | 5 +---- framework/inc/helper/ocomponentenumeration.hxx | 5 +---- framework/inc/helper/oframes.hxx | 5 +---- framework/inc/helper/persistentwindowstate.hxx | 5 +---- framework/inc/helper/propertysetcontainer.hxx | 5 +---- framework/inc/helper/shareablemutex.hxx | 5 +---- framework/inc/helper/statusindicator.hxx | 5 +---- framework/inc/helper/statusindicatorfactory.hxx | 5 +---- framework/inc/helper/tagwindowasmodified.hxx | 5 +---- framework/inc/helper/titlebarupdate.hxx | 5 +---- framework/inc/helper/uiconfigelementwrapperbase.hxx | 5 +---- framework/inc/helper/uielementwrapperbase.hxx | 5 +---- framework/inc/helper/vclstatusindicator.hxx | 5 +---- framework/inc/helper/wakeupthread.hxx | 5 +---- framework/inc/interaction/quietinteraction.hxx | 5 +---- framework/inc/jobs/configaccess.hxx | 5 +---- framework/inc/jobs/helponstartup.hxx | 5 +---- framework/inc/jobs/job.hxx | 5 +---- framework/inc/jobs/jobconst.hxx | 5 +---- framework/inc/jobs/jobdata.hxx | 5 +---- framework/inc/jobs/jobresult.hxx | 5 +---- framework/inc/jobs/joburl.hxx | 5 +---- framework/inc/jobs/shelljob.hxx | 5 +---- framework/inc/properties.h | 5 +---- framework/inc/protocols.h | 5 +---- framework/inc/recording/dispatchrecorder.hxx | 5 +---- framework/inc/recording/dispatchrecordersupplier.hxx | 5 +---- framework/inc/services.h | 5 +---- framework/inc/services/layoutmanager.hxx | 5 +---- framework/inc/services/mediatypedetectionhelper.hxx | 5 +---- framework/inc/services/uriabbreviation.hxx | 5 +---- framework/inc/stdtypes.h | 5 +---- framework/inc/strings.hrc | 5 +---- framework/inc/targets.h | 5 +---- framework/inc/taskcreatordefs.hxx | 5 +---- framework/inc/threadhelp/transactionguard.hxx | 5 +---- framework/inc/uiconfiguration/globalsettings.hxx | 5 +---- framework/inc/uiconfiguration/graphicnameaccess.hxx | 5 +---- framework/inc/uiconfiguration/imagemanager.hxx | 5 +---- framework/inc/uiconfiguration/imagetype.hxx | 5 +---- framework/inc/uiconfiguration/moduleimagemanager.hxx | 5 +---- framework/inc/uiconfiguration/windowstateproperties.hxx | 5 +---- framework/inc/uielement/FixedImageToolbarController.hxx | 5 +---- framework/inc/uielement/FixedTextToolbarController.hxx | 5 +---- framework/inc/uielement/addonstoolbarwrapper.hxx | 5 +---- framework/inc/uielement/buttontoolbarcontroller.hxx | 5 +---- framework/inc/uielement/comboboxtoolbarcontroller.hxx | 5 +---- framework/inc/uielement/commandinfo.hxx | 5 +---- framework/inc/uielement/complextoolbarcontroller.hxx | 5 +---- framework/inc/uielement/constitemcontainer.hxx | 5 +---- framework/inc/uielement/dropdownboxtoolbarcontroller.hxx | 5 +---- framework/inc/uielement/edittoolbarcontroller.hxx | 5 +---- framework/inc/uielement/fontmenucontroller.hxx | 5 +---- framework/inc/uielement/fontsizemenucontroller.hxx | 5 +---- framework/inc/uielement/footermenucontroller.hxx | 5 +---- framework/inc/uielement/genericstatusbarcontroller.hxx | 5 +---- framework/inc/uielement/headermenucontroller.hxx | 5 +---- framework/inc/uielement/imagebuttontoolbarcontroller.hxx | 5 +---- framework/inc/uielement/itemcontainer.hxx | 5 +---- framework/inc/uielement/langselectionmenucontroller.hxx | 5 +---- framework/inc/uielement/macrosmenucontroller.hxx | 5 +---- framework/inc/uielement/menubarmanager.hxx | 5 +---- framework/inc/uielement/menubarmerger.hxx | 5 +---- framework/inc/uielement/menubarwrapper.hxx | 5 +---- framework/inc/uielement/newmenucontroller.hxx | 5 +---- framework/inc/uielement/progressbarwrapper.hxx | 5 +---- framework/inc/uielement/rootitemcontainer.hxx | 5 +---- framework/inc/uielement/spinfieldtoolbarcontroller.hxx | 5 +---- framework/inc/uielement/statusbar.hxx | 5 +---- framework/inc/uielement/statusbaritem.hxx | 5 +---- framework/inc/uielement/statusbarmanager.hxx | 5 +---- framework/inc/uielement/statusbarmerger.hxx | 5 +---- framework/inc/uielement/statusbarwrapper.hxx | 5 +---- framework/inc/uielement/statusindicatorinterfacewrapper.hxx | 5 +---- framework/inc/uielement/styletoolbarcontroller.hxx | 5 +---- framework/inc/uielement/togglebuttontoolbarcontroller.hxx | 5 +---- framework/inc/uielement/toolbarmanager.hxx | 5 +---- framework/inc/uielement/toolbarmerger.hxx | 5 +---- framework/inc/uielement/toolbarmodemenucontroller.hxx | 5 +---- framework/inc/uielement/toolbarsmenucontroller.hxx | 5 +---- framework/inc/uielement/toolbarwrapper.hxx | 5 +---- framework/inc/uielement/uielement.hxx | 5 +---- framework/inc/uielement/uielementtypenames.hxx | 5 +---- framework/inc/xml/acceleratorconfigurationreader.hxx | 5 +---- framework/inc/xml/acceleratorconfigurationwriter.hxx | 5 +---- framework/inc/xml/imagesconfiguration.hxx | 5 +---- framework/inc/xml/imagesdocumenthandler.hxx | 5 +---- framework/inc/xml/menudocumenthandler.hxx | 5 +---- framework/inc/xml/saxnamespacefilter.hxx | 5 +---- framework/inc/xml/statusbardocumenthandler.hxx | 5 +---- framework/inc/xml/toolboxconfigurationdefines.hxx | 5 +---- framework/inc/xml/toolboxdocumenthandler.hxx | 5 +---- framework/inc/xml/xmlnamespaces.hxx | 5 +---- framework/source/dispatch/isstartmoduledispatch.hxx | 5 +---- framework/source/inc/accelerators/acceleratorcache.hxx | 5 +---- framework/source/inc/accelerators/acceleratorconfiguration.hxx | 5 +---- framework/source/inc/accelerators/keymapping.hxx | 5 +---- framework/source/inc/accelerators/presethandler.hxx | 5 +---- framework/source/inc/accelerators/storageholder.hxx | 5 +---- framework/source/inc/dispatch/dispatchdisabler.hxx | 5 +---- framework/source/inc/dispatch/loaddispatcher.hxx | 5 +---- framework/source/inc/dispatch/windowcommanddispatch.hxx | 5 +---- framework/source/inc/loadenv/actionlockguard.hxx | 5 +---- framework/source/inc/loadenv/loadenv.hxx | 5 +---- framework/source/inc/loadenv/loadenvexception.hxx | 5 +---- framework/source/inc/loadenv/targethelper.hxx | 5 +---- framework/source/inc/pattern/frame.hxx | 5 +---- framework/source/inc/pattern/window.hxx | 5 +---- framework/source/layoutmanager/helpers.hxx | 5 +---- framework/source/layoutmanager/toolbarlayoutmanager.hxx | 5 +---- framework/source/uiconfiguration/CommandImageResolver.hxx | 5 +---- framework/source/uiconfiguration/imagemanagerimpl.hxx | 5 +---- 328 files changed, 328 insertions(+), 1299 deletions(-)
New commits: commit 90c978f839e5029c69b4acb70f37909ee3016614 Author: Vincent LE GARREC <libreoff...@le-garrec.fr> AuthorDate: Sat Mar 6 08:21:49 2021 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Tue Mar 23 13:07:09 2021 +0100 tdf#124176 Use pragma once in f* filter, forms, fpicker, framework Change-Id: I55a25ad2dc3749e63465e638e8eeea3c322eabbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112047 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/filter/inc/strings.hrc b/filter/inc/strings.hrc index 3f1eaeac78ac..b1bea27dec47 100644 --- a/filter/inc/strings.hrc +++ b/filter/inc/strings.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_INC_STRINGS_HRC -#define INCLUDED_FILTER_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) @@ -74,6 +73,4 @@ #define STR_ERR_SIGNATURE_FAILED NC_("STR_ERR_SIGNATURE_FAILED", "Signature generation failed") #define STR_ERR_PDF_EXPORT_ABORTED NC_("STR_ERR_PDF_EXPORT_ABORTED", "PDF export aborted") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/inc/strings.hxx b/filter/inc/strings.hxx index c405e61121ab..df622a59cb11 100644 --- a/filter/inc/strings.hxx +++ b/filter/inc/strings.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FILTER_INC_STRINGS_HXX -#define INCLUDED_FILTER_INC_STRINGS_HXX +#pragma once #define STR_APPL_NAME_WRITER "%PRODUCTNAME Writer (.sxw)" #define STR_APPL_NAME_CALC "%PRODUCTNAME Calc (.sxc)" @@ -20,6 +19,4 @@ #define STR_APPL_NAME_OASIS_DRAW "%PRODUCTNAME Draw (.odg)" #define STR_DEFAULT_EXTENSION "xml" -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx index 7ba811ccc060..001c304ffaed 100644 --- a/filter/source/config/cache/basecontainer.hxx +++ b/filter/source/config/cache/basecontainer.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_BASECONTAINER_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_BASECONTAINER_HXX +#pragma once #include <memory> @@ -258,6 +257,4 @@ class BaseContainer : public BaseLock } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_BASECONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx index aeaaf3a83afb..f0c3558da856 100644 --- a/filter/source/config/cache/cacheitem.hxx +++ b/filter/source/config/cache/cacheitem.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEITEM_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEITEM_HXX +#pragma once #include <unordered_map> #include <com/sun/star/uno/Sequence.h> @@ -189,6 +188,4 @@ typedef ::std::vector< FlatDetectionInfo > FlatDetection; } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEITEM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/cacheupdatelistener.hxx b/filter/source/config/cache/cacheupdatelistener.hxx index 714e4016ba51..9567b3bd3042 100644 --- a/filter/source/config/cache/cacheupdatelistener.hxx +++ b/filter/source/config/cache/cacheupdatelistener.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEUPDATELISTENER_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEUPDATELISTENER_HXX +#pragma once #include "filtercache.hxx" #include <com/sun/star/util/XChangesListener.hpp> @@ -109,6 +108,4 @@ class CacheUpdateListener : public BaseLock // must be the first one to guarante } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEUPDATELISTENER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/configflush.hxx b/filter/source/config/cache/configflush.hxx index f3e284556681..05edb639c886 100644 --- a/filter/source/config/cache/configflush.hxx +++ b/filter/source/config/cache/configflush.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONFIGFLUSH_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONFIGFLUSH_HXX +#pragma once #include "cacheitem.hxx" #include <com/sun/star/util/XRefreshable.hpp> @@ -87,6 +86,4 @@ class ConfigFlush final : public BaseLock } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONFIGFLUSH_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/constant.hxx b/filter/source/config/cache/constant.hxx index 820c16953831..737e9ccd1b1c 100644 --- a/filter/source/config/cache/constant.hxx +++ b/filter/source/config/cache/constant.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX +#pragma once /* disable impl_loadOnDemand function of BaseContainer for certain functions, where it the feature "impl_loadItemOnDemand() of class FilterCache @@ -150,6 +149,4 @@ #define QUERY_PARAM_DEFAULTFIRST "default_first" #define QUERY_CONSTVALUE_ALL "all" -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/contenthandlerfactory.hxx b/filter/source/config/cache/contenthandlerfactory.hxx index bc6f17ba4b45..5c3ecd76019c 100644 --- a/filter/source/config/cache/contenthandlerfactory.hxx +++ b/filter/source/config/cache/contenthandlerfactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONTENTHANDLERFACTORY_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONTENTHANDLERFACTORY_HXX +#pragma once #include "basecontainer.hxx" #include <com/sun/star/frame/XLoaderFactory.hpp> @@ -97,6 +96,4 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONTENTHANDLERFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index 243c192a8072..66d07467f6f3 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERCACHE_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERCACHE_HXX +#pragma once #include <memory> @@ -938,6 +937,4 @@ struct TheFilterCache: public rtl::Static<FilterCache, TheFilterCache> {}; } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERCACHE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/filterfactory.hxx b/filter/source/config/cache/filterfactory.hxx index 77d1b426d08e..19abea5d6db0 100644 --- a/filter/source/config/cache/filterfactory.hxx +++ b/filter/source/config/cache/filterfactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERFACTORY_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERFACTORY_HXX +#pragma once #include "basecontainer.hxx" #include "querytokenizer.hxx" @@ -133,6 +132,4 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/frameloaderfactory.hxx b/filter/source/config/cache/frameloaderfactory.hxx index a1aa859e1555..2b9098b1a8e2 100644 --- a/filter/source/config/cache/frameloaderfactory.hxx +++ b/filter/source/config/cache/frameloaderfactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FRAMELOADERFACTORY_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FRAMELOADERFACTORY_HXX +#pragma once #include "basecontainer.hxx" #include <com/sun/star/frame/XLoaderFactory.hpp> @@ -96,6 +95,4 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FRAMELOADERFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/querytokenizer.hxx b/filter/source/config/cache/querytokenizer.hxx index f5dbf7623650..e0b8d5218130 100644 --- a/filter/source/config/cache/querytokenizer.hxx +++ b/filter/source/config/cache/querytokenizer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_QUERYTOKENIZER_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_QUERYTOKENIZER_HXX +#pragma once #include <rtl/ustring.hxx> #include <unordered_map> @@ -90,6 +89,4 @@ class QueryTokenizer : public std::unordered_map< OUString, OUString > } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_QUERYTOKENIZER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx index b0281d5f983d..21f598055fda 100644 --- a/filter/source/config/cache/typedetection.hxx +++ b/filter/source/config/cache/typedetection.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_TYPEDETECTION_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_TYPEDETECTION_HXX +#pragma once #include "basecontainer.hxx" #include <com/sun/star/document/XTypeDetection.hpp> @@ -360,6 +359,4 @@ public: } -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_TYPEDETECTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphic/GraphicExportFilter.hxx b/filter/source/graphic/GraphicExportFilter.hxx index d9d4c5a898ac..6e2a30448817 100644 --- a/filter/source/graphic/GraphicExportFilter.hxx +++ b/filter/source/graphic/GraphicExportFilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHIC_GRAPHICEXPORTFILTER_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHIC_GRAPHICEXPORTFILTER_HXX +#pragma once #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XExporter.hpp> @@ -77,6 +76,4 @@ public: virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any > & rArguments ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/bitmap.hxx b/filter/source/graphicfilter/icgm/bitmap.hxx index 2fb7de98b32f..3e7b80f5177f 100644 --- a/filter/source/graphicfilter/icgm/bitmap.hxx +++ b/filter/source/graphicfilter/icgm/bitmap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BITMAP_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BITMAP_HXX +#pragma once #include "cgm.hxx" #include <vcl/bitmapex.hxx> @@ -78,6 +77,5 @@ public: CGMBitmapDescriptor* GetBitmap() { return pCGMBitmapDescriptor.get();} std::unique_ptr<CGMBitmap> GetNext(); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/bundles.hxx b/filter/source/graphicfilter/icgm/bundles.hxx index a884937f8dae..209eae6dd396 100644 --- a/filter/source/graphicfilter/icgm/bundles.hxx +++ b/filter/source/graphicfilter/icgm/bundles.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BUNDLES_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BUNDLES_HXX +#pragma once #include <sal/types.h> #include "cgmtypes.hxx" @@ -164,6 +163,4 @@ public: void InsertCharSet( sal_uInt8 const * pSource, sal_uInt32 nSize ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx index 3f9c88dde649..7709b743d4f0 100644 --- a/filter/source/graphicfilter/icgm/cgm.hxx +++ b/filter/source/graphicfilter/icgm/cgm.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CGM_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CGM_HXX +#pragma once #include <com/sun/star/frame/XModel.hpp> @@ -137,6 +136,5 @@ class CGM bool Write( SvStream& rIStm ); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/cgmtypes.hxx b/filter/source/graphicfilter/icgm/cgmtypes.hxx index e78d2757a8d3..5b7def212842 100644 --- a/filter/source/graphicfilter/icgm/cgmtypes.hxx +++ b/filter/source/graphicfilter/icgm/cgmtypes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CGMTYPES_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CGMTYPES_HXX +#pragma once #include <tools/long.hxx> @@ -125,6 +124,4 @@ enum FillInteriorStyle { FIS_HOLLOW = 0, FIS_SOLID = 1, FIS_PATTERN = 2, FIS_HA FIS_INTERPOLATED = 6, FIS_GRADIENT = 7 }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/chart.hxx b/filter/source/graphicfilter/icgm/chart.hxx index 96b715b9a879..ef77ace0e22f 100644 --- a/filter/source/graphicfilter/icgm/chart.hxx +++ b/filter/source/graphicfilter/icgm/chart.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CHART_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CHART_HXX +#pragma once #include <sal/types.h> @@ -82,6 +81,4 @@ class CGMChart final bool IsAnnotation() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/elements.hxx b/filter/source/graphicfilter/icgm/elements.hxx index 8a7812cb699c..3f4bd710a4f2 100644 --- a/filter/source/graphicfilter/icgm/elements.hxx +++ b/filter/source/graphicfilter/icgm/elements.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_ELEMENTS_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_ELEMENTS_HXX +#pragma once #include "bundles.hxx" #include "cgmtypes.hxx" @@ -134,6 +133,4 @@ class CGMElements static void CopyAllBundles( const BundleList& Source, BundleList& Dest ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/outact.hxx b/filter/source/graphicfilter/icgm/outact.hxx index 2364c787fea1..b06fffda8cc0 100644 --- a/filter/source/graphicfilter/icgm/outact.hxx +++ b/filter/source/graphicfilter/icgm/outact.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_OUTACT_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_OUTACT_HXX +#pragma once #include <com/sun/star/awt/Gradient.hpp> #include <com/sun/star/document/XActionLockable.hpp> @@ -106,6 +105,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx index fc1522c79dca..2ca7ab467b6f 100644 --- a/filter/source/msfilter/eschesdo.hxx +++ b/filter/source/msfilter/eschesdo.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_MSFILTER_ESCHESDO_HXX -#define INCLUDED_FILTER_SOURCE_MSFILTER_ESCHESDO_HXX +#pragma once #include <filter/msfilter/escherex.hxx> #include <o3tl/any.hxx> #include <vcl/mapmod.hxx> @@ -139,6 +138,4 @@ public: }; -#endif // INCLUDED_FILTER_SOURCE_MSFILTER_ESCHESDO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/msfilter/viscache.hxx b/filter/source/msfilter/viscache.hxx index e669423ebfc9..5111969b3f9e 100644 --- a/filter/source/msfilter/viscache.hxx +++ b/filter/source/msfilter/viscache.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX -#define INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX +#pragma once #include <memory> #include <sfx2/objsh.hxx> @@ -50,6 +49,4 @@ public: void Write( SvStream & rStm ); }; -#endif // INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index 17fb57890655..b11ee000a970 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_IMPDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_PDF_IMPDIALOG_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -414,6 +413,4 @@ public: void SetFilterConfigItem( const ImpPDFTabDialog* paParent ); }; -#endif // INCLUDED_FILTER_SOURCE_PDF_IMPDIALOG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/pdfdialog.hxx b/filter/source/pdf/pdfdialog.hxx index 463307a857f2..40f0d361215b 100644 --- a/filter/source/pdf/pdfdialog.hxx +++ b/filter/source/pdf/pdfdialog.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_PDFDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_PDF_PDFDIALOG_HXX +#pragma once #include <svtools/genericunodialog.hxx> @@ -72,6 +71,4 @@ public: virtual ~PDFDialog() override; }; -#endif // INCLUDED_FILTER_SOURCE_PDF_PDFDIALOG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/pdfexport.hxx b/filter/source/pdf/pdfexport.hxx index 54784cce1abb..967668e7421b 100644 --- a/filter/source/pdf/pdfexport.hxx +++ b/filter/source/pdf/pdfexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_PDFEXPORT_HXX -#define INCLUDED_FILTER_SOURCE_PDF_PDFEXPORT_HXX +#pragma once #include <tools/multisel.hxx> #include <vcl/pdfwriter.hxx> @@ -143,6 +142,4 @@ public: void showErrors( const std::set<vcl::PDFWriter::ErrorCode>& ); }; -#endif // INCLUDED_FILTER_SOURCE_PDF_PDFEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/pdffilter.hxx b/filter/source/pdf/pdffilter.hxx index afd2b6d571be..28869272c1e8 100644 --- a/filter/source/pdf/pdffilter.hxx +++ b/filter/source/pdf/pdffilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_PDFFILTER_HXX -#define INCLUDED_FILTER_SOURCE_PDF_PDFFILTER_HXX +#pragma once #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XExporter.hpp> @@ -67,7 +66,5 @@ public: virtual ~PDFFilter() override; }; -#endif // INCLUDED_FILTER_SOURCE_PDF_PDFFILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/pdfinteract.hxx b/filter/source/pdf/pdfinteract.hxx index 9ad7405a3f56..0af5c260b9ea 100644 --- a/filter/source/pdf/pdfinteract.hxx +++ b/filter/source/pdf/pdfinteract.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_PDFINTERACT_HXX -#define INCLUDED_FILTER_SOURCE_PDF_PDFINTERACT_HXX +#pragma once #include <cppuhelper/implbase.hxx> @@ -59,6 +58,4 @@ public: virtual ~PDFInteractionHandler() override; }; -#endif // INCLUDED_FILTER_SOURCE_PDF_PDFINTERACT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/storagefilterdetect/filterdetect.hxx b/filter/source/storagefilterdetect/filterdetect.hxx index 27556f376297..0b7849f2d979 100644 --- a/filter/source/storagefilterdetect/filterdetect.hxx +++ b/filter/source/storagefilterdetect/filterdetect.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_STORAGEFILTERDETECT_FILTERDETECT_HXX -#define INCLUDED_FILTER_SOURCE_STORAGEFILTERDETECT_FILTERDETECT_HXX +#pragma once #include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -54,6 +53,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx index 69a90d6e070d..4c2f8229922b 100644 --- a/filter/source/svg/svgfilter.hxx +++ b/filter/source/svg/svgfilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX -#define INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX +#pragma once #include <memory> @@ -314,6 +313,4 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; }; -#endif // INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/svg/svgfontexport.hxx b/filter/source/svg/svgfontexport.hxx index 8b9f5440fa40..c5f6bd2411db 100644 --- a/filter/source/svg/svgfontexport.hxx +++ b/filter/source/svg/svgfontexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_SVG_SVGFONTEXPORT_HXX -#define INCLUDED_FILTER_SOURCE_SVG_SVGFONTEXPORT_HXX +#pragma once #include <sal/config.h> @@ -70,6 +69,4 @@ public: OUString GetMappedFontName( const OUString& rFontName ) const; }; -#endif // INCLUDED_FILTER_SOURCE_SVG_SVGFONTEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx index 993d1162fcf3..30799453c616 100644 --- a/filter/source/svg/svgwriter.hxx +++ b/filter/source/svg/svgwriter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_SVG_SVGWRITER_HXX -#define INCLUDED_FILTER_SOURCE_SVG_SVGWRITER_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include <rtl/ustring.hxx> @@ -402,6 +401,4 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; }; -#endif // INCLUDED_FILTER_SOURCE_SVG_SVGWRITER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/svg/test/odfserializer.hxx b/filter/source/svg/test/odfserializer.hxx index 8bce673b40a2..2724c9f0a57d 100644 --- a/filter/source/svg/test/odfserializer.hxx +++ b/filter/source/svg/test/odfserializer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_SVG_TEST_ODFSERIALIZER_HXX -#define INCLUDED_FILTER_SOURCE_SVG_TEST_ODFSERIALIZER_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> @@ -31,6 +30,4 @@ css::uno::Reference<css::xml::sax::XDocumentHandler> createSerializer(const css::uno::Reference<css::io::XOutputStream>&); } -#endif // INCLUDED_FILTER_SOURCE_SVG_TEST_ODFSERIALIZER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx index 7ac81429a2c2..e9ec3a58e4e3 100644 --- a/filter/source/t602/t602filter.hxx +++ b/filter/source/t602/t602filter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_T602_T602FILTER_HXX -#define INCLUDED_FILTER_SOURCE_T602_T602FILTER_HXX +#pragma once #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XImporter.hpp> @@ -252,6 +251,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/textfilterdetect/filterdetect.hxx b/filter/source/textfilterdetect/filterdetect.hxx index 64a65aa440f1..a981d869faec 100644 --- a/filter/source/textfilterdetect/filterdetect.hxx +++ b/filter/source/textfilterdetect/filterdetect.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_TEXTFILTERDETECT_FILTERDETECT_HXX -#define INCLUDED_FILTER_SOURCE_TEXTFILTERDETECT_FILTERDETECT_HXX +#pragma once #include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -57,6 +56,4 @@ OUString PlainTextFilterDetect_getImplementationName(); css::uno::Sequence<OUString> PlainTextFilterDetect_getSupportedServiceNames(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx index e6b97f041db3..43db4e939ba7 100644 --- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx +++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XMLFILTERADAPTOR_XMLFILTERADAPTOR_HXX -#define INCLUDED_FILTER_SOURCE_XMLFILTERADAPTOR_XMLFILTERADAPTOR_HXX +#pragma once #include <com/sun/star/document/XFilter.hpp> @@ -103,6 +102,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xmlfilterdetect/filterdetect.hxx b/filter/source/xmlfilterdetect/filterdetect.hxx index 9ba2121810ed..61b6dfaf53ee 100644 --- a/filter/source/xmlfilterdetect/filterdetect.hxx +++ b/filter/source/xmlfilterdetect/filterdetect.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XMLFILTERDETECT_FILTERDETECT_HXX -#define INCLUDED_FILTER_SOURCE_XMLFILTERDETECT_FILTERDETECT_HXX +#pragma once #include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -56,6 +55,4 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/typedetectionexport.hxx b/filter/source/xsltdialog/typedetectionexport.hxx index b38b3306dca6..a253540bb673 100644 --- a/filter/source/xsltdialog/typedetectionexport.hxx +++ b/filter/source/xsltdialog/typedetectionexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_TYPEDETECTIONEXPORT_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_TYPEDETECTIONEXPORT_HXX +#pragma once #include <com/sun/star/xml/sax/XWriter.hpp> #include <com/sun/star/io/XOutputStream.hpp> @@ -39,6 +38,4 @@ private: css::uno::Reference< css::uno::XComponentContext > mxContext; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/typedetectionimport.hxx b/filter/source/xsltdialog/typedetectionimport.hxx index 1771eef77e5e..3b69ef9afb22 100644 --- a/filter/source/xsltdialog/typedetectionimport.hxx +++ b/filter/source/xsltdialog/typedetectionimport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_TYPEDETECTIONIMPORT_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_TYPEDETECTIONIMPORT_HXX +#pragma once #include <com/sun/star/io/XInputStream.hpp> #include <cppuhelper/implbase.hxx> @@ -89,6 +88,5 @@ private: OUString maNodeName; OUString maPropertyName; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltercommon.hxx b/filter/source/xsltdialog/xmlfiltercommon.hxx index 53f9592b76b0..9a65974f2606 100644 --- a/filter/source/xsltdialog/xmlfiltercommon.hxx +++ b/filter/source/xsltdialog/xmlfiltercommon.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERCOMMON_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERCOMMON_HXX +#pragma once #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XOutputStream.hpp> @@ -80,6 +79,4 @@ extern OUString getApplicationUIName( std::u16string_view rServiceName ); extern const application_info_impl* getApplicationInfo( std::u16string_view rServiceName ); OUString XsltResId(const char* pId); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfilterjar.hxx b/filter/source/xsltdialog/xmlfilterjar.hxx index 7e469fb202fb..6f02e5f99de0 100644 --- a/filter/source/xsltdialog/xmlfilterjar.hxx +++ b/filter/source/xsltdialog/xmlfilterjar.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERJAR_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERJAR_HXX +#pragma once #include <com/sun/star/container/XHierarchicalNameAccess.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> @@ -49,6 +48,4 @@ private: OUString sProgPath; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx index bfef03b29e28..114d32d12e21 100644 --- a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERSETTINGSDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERSETTINGSDIALOG_HXX +#pragma once #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -95,6 +94,4 @@ private: std::unique_ptr<weld::TreeView> m_xFilterListBox; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.hxx b/filter/source/xsltdialog/xmlfiltertabdialog.hxx index 05d576103924..e764102b01f7 100644 --- a/filter/source/xsltdialog/xmlfiltertabdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltertabdialog.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABDIALOG_HXX +#pragma once #include <com/sun/star/uno/XComponentContext.hpp> #include <vcl/weld.hxx> @@ -52,6 +51,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx b/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx index e3b96e51550c..c11a4c69ef04 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEBASIC_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEBASIC_HXX +#pragma once #include <vcl/weld.hxx> @@ -41,6 +40,4 @@ public: std::unique_ptr<weld::TextView> m_xEDDescription; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx index 142c27a119f2..8eed194b849f 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEXSLT_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEXSLT_HXX +#pragma once #include <vcl/weld.hxx> #include <svtools/inettbc.hxx> @@ -55,6 +54,4 @@ public: std::unique_ptr<weld::CheckButton> m_xCBNeedsXSLT2; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.hxx b/filter/source/xsltdialog/xmlfiltertestdialog.hxx index 4bf66989346b..bce1e19e1d3e 100644 --- a/filter/source/xsltdialog/xmlfiltertestdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltertestdialog.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTESTDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTESTDIALOG_HXX +#pragma once #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/document/XDocumentEventBroadcaster.hpp> @@ -79,6 +78,4 @@ private: std::unique_ptr<weld::Button> m_xPBClose; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltfilter/LibXSLTTransformer.hxx b/filter/source/xsltfilter/LibXSLTTransformer.hxx index ac922a4598f5..6da4a11e1adb 100644 --- a/filter/source/xsltfilter/LibXSLTTransformer.hxx +++ b/filter/source/xsltfilter/LibXSLTTransformer.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTFILTER_LIBXSLTTRANSFORMER_HXX -#define INCLUDED_FILTER_SOURCE_XSLTFILTER_LIBXSLTTRANSFORMER_HXX +#pragma once #include <deque> #include <map> @@ -180,5 +179,4 @@ namespace XSLT }; } -#endif // INCLUDED_FILTER_SOURCE_XSLTFILTER_LIBXSLTTRANSFORMER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltfilter/OleHandler.hxx b/filter/source/xsltfilter/OleHandler.hxx index 1fd00aa39ab7..485541ee1f3b 100644 --- a/filter/source/xsltfilter/OleHandler.hxx +++ b/filter/source/xsltfilter/OleHandler.hxx @@ -8,8 +8,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTFILTER_OLEHANDLER_HXX -#define INCLUDED_FILTER_SOURCE_XSLTFILTER_OLEHANDLER_HXX +#pragma once #include <cstdio> #include <cstring> #include <map> @@ -90,6 +89,4 @@ namespace XSLT }; } -#endif // INCLUDED_FILTER_SOURCE_XSLTFILTER_OLEHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/inc/strings.hrc b/forms/inc/strings.hrc index 56f8f3d3217b..c3b7447fbc84 100644 --- a/forms/inc/strings.hrc +++ b/forms/inc/strings.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_STRINGS_HRC -#define INCLUDED_VCL_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) @@ -82,6 +81,4 @@ #define RID_STR_XFORMS_BINDING_UI_NAME NC_("RID_STR_XFORMS_BINDING_UI_NAME", "Binding" ) #define RID_STR_XFORMS_CANT_REMOVE_TYPE NC_("RID_STR_XFORMS_CANT_REMOVE_TYPE", "This is a built-in type and cannot be removed." ) -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/BaseListBox.hxx b/forms/source/component/BaseListBox.hxx index 1e3ee87a1136..fe0930ea70d1 100644 --- a/forms/source/component/BaseListBox.hxx +++ b/forms/source/component/BaseListBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX +#pragma once #include <sal/types.h> @@ -28,6 +27,4 @@ const sal_uInt16 ENTRY_NOT_FOUND = 0xFFFF; const sal_uInt16 BOUNDCOLUMN = 0x0001; } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx index 3fc0240d9483..7b88717cc5c3 100644 --- a/forms/source/component/ComboBox.hxx +++ b/forms/source/component/ComboBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX +#pragma once #include <memory> #include <FormComponent.hxx> @@ -136,6 +135,4 @@ public: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx index 651d830ace92..a2bf28d6214c 100644 --- a/forms/source/component/File.hxx +++ b/forms/source/component/File.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX +#pragma once #include <FormComponent.hxx> @@ -86,6 +85,4 @@ protected: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Filter.hxx b/forms/source/component/Filter.hxx index ed05f01f27e4..8561d2f5d5af 100644 --- a/forms/source/component/Filter.hxx +++ b/forms/source/component/Filter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX +#pragma once #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -136,6 +135,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/FixedText.hxx b/forms/source/component/FixedText.hxx index 58c2a8a07092..a6d6f0b2d5c1 100644 --- a/forms/source/component/FixedText.hxx +++ b/forms/source/component/FixedText.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX +#pragma once #include <FormComponent.hxx> @@ -58,6 +57,4 @@ protected: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx index 1d35060e0588..e1520cd6ee47 100644 --- a/forms/source/component/FormattedField.hxx +++ b/forms/source/component/FormattedField.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX +#pragma once #include "EditBase.hxx" #include <tools/link.hxx> @@ -172,6 +171,5 @@ class OFormattedModel final DECL_LINK( OnKeyPressed, void*, void ); }; } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/FormattedFieldWrapper.hxx b/forms/source/component/FormattedFieldWrapper.hxx index 1ef0d2d0f761..b34db4148531 100644 --- a/forms/source/component/FormattedFieldWrapper.hxx +++ b/forms/source/component/FormattedFieldWrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX +#pragma once #include <comphelper/uno3.hxx> #include <cppuhelper/implbase3.hxx> @@ -85,6 +84,4 @@ private: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/FormsCollection.hxx b/forms/source/component/FormsCollection.hxx index 994eda6469f6..6a97148af0ba 100644 --- a/forms/source/component/FormsCollection.hxx +++ b/forms/source/component/FormsCollection.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX +#pragma once #include <InterfaceContainer.hxx> #include <cppuhelper/component.hxx> @@ -147,6 +146,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Grid.hxx b/forms/source/component/Grid.hxx index 1f57b32fef69..523a8132db68 100644 --- a/forms/source/component/Grid.hxx +++ b/forms/source/component/Grid.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX +#pragma once #include "errorbroadcaster.hxx" #include <FormComponent.hxx> @@ -190,6 +189,4 @@ private: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/GroupBox.hxx b/forms/source/component/GroupBox.hxx index f761b77ab7bc..00f4523aad07 100644 --- a/forms/source/component/GroupBox.hxx +++ b/forms/source/component/GroupBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX +#pragma once #include <FormComponent.hxx> @@ -73,6 +72,4 @@ public: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx index d3734b751d28..9365d1b44ea8 100644 --- a/forms/source/component/GroupManager.hxx +++ b/forms/source/component/GroupManager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX +#pragma once #include <com/sun/star/awt/XControlModel.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -192,6 +191,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Hidden.hxx b/forms/source/component/Hidden.hxx index 7ff7d860f917..9ed34f3e406f 100644 --- a/forms/source/component/Hidden.hxx +++ b/forms/source/component/Hidden.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX +#pragma once #include <FormComponent.hxx> @@ -67,6 +66,4 @@ protected: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/ImageButton.hxx b/forms/source/component/ImageButton.hxx index 8f618c47c13c..d3d248566944 100644 --- a/forms/source/component/ImageButton.hxx +++ b/forms/source/component/ImageButton.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX +#pragma once #include "clickableimage.hxx" #include <com/sun/star/awt/XMouseListener.hpp> @@ -92,6 +91,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx index 01ae8018a24f..8776d891e83a 100644 --- a/forms/source/component/ImageControl.hxx +++ b/forms/source/component/ImageControl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX +#pragma once #include <FormComponent.hxx> #include "imgprod.hxx" @@ -186,6 +185,4 @@ private: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx index c0ad179d39f5..046717202b2e 100644 --- a/forms/source/component/ListBox.hxx +++ b/forms/source/component/ListBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX +#pragma once #include <FormComponent.hxx> #include "cachedrowset.hxx" @@ -322,6 +321,4 @@ private: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Numeric.hxx b/forms/source/component/Numeric.hxx index 6278b3e3b76c..6a77cc556dce 100644 --- a/forms/source/component/Numeric.hxx +++ b/forms/source/component/Numeric.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX +#pragma once #include "EditBase.hxx" @@ -79,6 +78,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Pattern.hxx b/forms/source/component/Pattern.hxx index 80ce81639255..d7cfa9d09f0d 100644 --- a/forms/source/component/Pattern.hxx +++ b/forms/source/component/Pattern.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX +#pragma once #include "EditBase.hxx" @@ -85,6 +84,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/RadioButton.hxx b/forms/source/component/RadioButton.hxx index ab4e996a8600..b85a0a27ef9f 100644 --- a/forms/source/component/RadioButton.hxx +++ b/forms/source/component/RadioButton.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX +#pragma once #include "refvaluecomponent.hxx" @@ -84,6 +83,4 @@ public: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx index cc9ef1136042..d1187d39f318 100644 --- a/forms/source/component/Time.hxx +++ b/forms/source/component/Time.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX +#pragma once #include "EditBase.hxx" #include <limitedformats.hxx> @@ -106,6 +105,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/findpos.hxx b/forms/source/component/findpos.hxx index b279558fdab0..2a40bc3ca958 100644 --- a/forms/source/component/findpos.hxx +++ b/forms/source/component/findpos.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FINDPOS_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FINDPOS_HXX +#pragma once #include <sal/config.h> #include <com/sun/star/uno/Sequence.hxx> @@ -29,6 +28,4 @@ namespace detail sal_Int32 findPos(const OUString& aStr, const css::uno::Sequence<OUString>& rList); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/imgprod.hxx b/forms/source/component/imgprod.hxx index eff824b90ea8..45a0fa89baa7 100644 --- a/forms/source/component/imgprod.hxx +++ b/forms/source/component/imgprod.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX +#pragma once #include <tools/link.hxx> #include <com/sun/star/awt/XImageConsumer.hpp> @@ -87,6 +86,4 @@ public: }; -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/navigationbar.hxx b/forms/source/component/navigationbar.hxx index af55f64e4b1f..fade59422f8c 100644 --- a/forms/source/component/navigationbar.hxx +++ b/forms/source/component/navigationbar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX +#pragma once #include <FormComponent.hxx> #include <comphelper/propertycontainerhelper.hxx> @@ -107,6 +106,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/refvaluecomponent.hxx b/forms/source/component/refvaluecomponent.hxx index 958837ffcc18..09131c172bf7 100644 --- a/forms/source/component/refvaluecomponent.hxx +++ b/forms/source/component/refvaluecomponent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX +#pragma once #include <FormComponent.hxx> #include <togglestate.hxx> @@ -81,6 +80,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/scrollbar.hxx b/forms/source/component/scrollbar.hxx index e79338e373a4..356d101be40e 100644 --- a/forms/source/component/scrollbar.hxx +++ b/forms/source/component/scrollbar.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX +#pragma once #include <FormComponent.hxx> @@ -82,6 +81,4 @@ namespace frm } // namespacefrm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/spinbutton.hxx b/forms/source/component/spinbutton.hxx index 9f79ce1d94a1..2579c322d733 100644 --- a/forms/source/component/spinbutton.hxx +++ b/forms/source/component/spinbutton.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX +#pragma once #include <FormComponent.hxx> @@ -78,6 +77,4 @@ namespace frm } // namespacefrm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index 5ac06a927660..0310e3455a02 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FORMCOMPONENT_HXX -#define INCLUDED_FORMS_SOURCE_INC_FORMCOMPONENT_HXX +#pragma once #include "cloneable.hxx" #include "propertybaghelper.hxx" @@ -1235,6 +1234,4 @@ private: } -#endif // INCLUDED_FORMS_SOURCE_INC_FORMCOMPONENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx index 690b93d49da6..da55f0ebebb1 100644 --- a/forms/source/inc/InterfaceContainer.hxx +++ b/forms/source/inc/InterfaceContainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_INTERFACECONTAINER_HXX -#define INCLUDED_FORMS_SOURCE_INC_INTERFACECONTAINER_HXX +#pragma once #include <comphelper/uno3.hxx> #include <com/sun/star/container/XNameContainer.hpp> @@ -299,6 +298,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_INTERFACECONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/cloneable.hxx b/forms/source/inc/cloneable.hxx index e920650a516c..e161ad8c095a 100644 --- a/forms/source/inc/cloneable.hxx +++ b/forms/source/inc/cloneable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_CLONEABLE_HXX -#define INCLUDED_FORMS_SOURCE_INC_CLONEABLE_HXX +#pragma once #include <com/sun/star/uno/XAggregation.hpp> @@ -39,6 +38,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_CLONEABLE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/commandimageprovider.hxx b/forms/source/inc/commandimageprovider.hxx index 3a67df02256a..02742b5a99bf 100644 --- a/forms/source/inc/commandimageprovider.hxx +++ b/forms/source/inc/commandimageprovider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_COMMANDIMAGEPROVIDER_HXX -#define INCLUDED_FORMS_SOURCE_INC_COMMANDIMAGEPROVIDER_HXX +#pragma once #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -51,6 +50,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_COMMANDIMAGEPROVIDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/componenttools.hxx b/forms/source/inc/componenttools.hxx index f684ec572220..8c7fd8a8d54e 100644 --- a/forms/source/inc/componenttools.hxx +++ b/forms/source/inc/componenttools.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_COMPONENTTOOLS_HXX -#define INCLUDED_FORMS_SOURCE_INC_COMPONENTTOOLS_HXX +#pragma once #include <com/sun/star/uno/Type.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -82,6 +81,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_COMPONENTTOOLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/controlfeatureinterception.hxx b/forms/source/inc/controlfeatureinterception.hxx index 294d777dc0d4..1e58ffb63233 100644 --- a/forms/source/inc/controlfeatureinterception.hxx +++ b/forms/source/inc/controlfeatureinterception.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_CONTROLFEATUREINTERCEPTION_HXX -#define INCLUDED_FORMS_SOURCE_INC_CONTROLFEATUREINTERCEPTION_HXX +#pragma once #include <com/sun/star/frame/XDispatchProviderInterceptor.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -85,6 +84,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_CONTROLFEATUREINTERCEPTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/featuredispatcher.hxx b/forms/source/inc/featuredispatcher.hxx index 12fbe44ff5fd..33f4610be4b6 100644 --- a/forms/source/inc/featuredispatcher.hxx +++ b/forms/source/inc/featuredispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FEATUREDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_INC_FEATUREDISPATCHER_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Any.hxx> @@ -99,6 +98,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_FEATUREDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/formcontrolfont.hxx b/forms/source/inc/formcontrolfont.hxx index b6d9ea55d1a2..2cb2a9201319 100644 --- a/forms/source/inc/formcontrolfont.hxx +++ b/forms/source/inc/formcontrolfont.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FORMCONTROLFONT_HXX -#define INCLUDED_FORMS_SOURCE_INC_FORMCONTROLFONT_HXX +#pragma once #include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/beans/Property.hpp> @@ -94,6 +93,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_FORMCONTROLFONT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/formnavigation.hxx b/forms/source/inc/formnavigation.hxx index 5a25dd89667e..3ca32a996add 100644 --- a/forms/source/inc/formnavigation.hxx +++ b/forms/source/inc/formnavigation.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FORMNAVIGATION_HXX -#define INCLUDED_FORMS_SOURCE_INC_FORMNAVIGATION_HXX +#pragma once #include <com/sun/star/frame/XDispatchProviderInterception.hpp> #include <com/sun/star/frame/XStatusListener.hpp> @@ -215,6 +214,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_FORMNAVIGATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/frm_resource.hxx b/forms/source/inc/frm_resource.hxx index 529d0f43b391..f56c6e3cfd76 100644 --- a/forms/source/inc/frm_resource.hxx +++ b/forms/source/inc/frm_resource.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX -#define INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX +#pragma once #include <rtl/ustring.hxx> @@ -37,6 +36,4 @@ namespace frm } -#endif // INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/frm_strings.hxx b/forms/source/inc/frm_strings.hxx index 06d3f8cb148b..d0558f80b450 100644 --- a/forms/source/inc/frm_strings.hxx +++ b/forms/source/inc/frm_strings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FRM_STRINGS_HXX -#define INCLUDED_FORMS_SOURCE_INC_FRM_STRINGS_HXX +#pragma once namespace frm @@ -295,6 +294,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_FRM_STRINGS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/limitedformats.hxx b/forms/source/inc/limitedformats.hxx index 5922fd6db8f1..a176df06f054 100644 --- a/forms/source/inc/limitedformats.hxx +++ b/forms/source/inc/limitedformats.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_LIMITEDFORMATS_HXX -#define INCLUDED_FORMS_SOURCE_INC_LIMITEDFORMATS_HXX +#pragma once #include <osl/mutex.hxx> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> @@ -92,6 +91,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_LIMITEDFORMATS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/listenercontainers.hxx b/forms/source/inc/listenercontainers.hxx index 7e67fa0c7f67..f7b0cbb88579 100644 --- a/forms/source/inc/listenercontainers.hxx +++ b/forms/source/inc/listenercontainers.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_LISTENERCONTAINERS_HXX -#define INCLUDED_FORMS_SOURCE_INC_LISTENERCONTAINERS_HXX +#pragma once #include <com/sun/star/form/XResetListener.hpp> #include <comphelper/listenernotification.hxx> @@ -108,6 +107,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_LISTENERCONTAINERS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index fa3f071d011d..f0383433d4b9 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_PROPERTY_HXX -#define INCLUDED_FORMS_SOURCE_INC_PROPERTY_HXX +#pragma once #include <sal/config.h> @@ -430,6 +429,4 @@ public: } //... namespace frm ....................................................... -#endif // INCLUDED_FORMS_SOURCE_INC_PROPERTY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/propertybaghelper.hxx b/forms/source/inc/propertybaghelper.hxx index 0e93500ad1a2..542cef9a6d66 100644 --- a/forms/source/inc/propertybaghelper.hxx +++ b/forms/source/inc/propertybaghelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_PROPERTYBAGHELPER_HXX -#define INCLUDED_FORMS_SOURCE_INC_PROPERTYBAGHELPER_HXX +#pragma once #include <com/sun/star/beans/PropertyValue.hpp> @@ -145,6 +144,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_PROPERTYBAGHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/resettable.hxx b/forms/source/inc/resettable.hxx index 11a2db89777e..2bdb16404b22 100644 --- a/forms/source/inc/resettable.hxx +++ b/forms/source/inc/resettable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX -#define INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX +#pragma once #include <com/sun/star/form/XResetListener.hpp> @@ -60,6 +59,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/services.hxx b/forms/source/inc/services.hxx index 8a3312b30fae..01a346e3f55f 100644 --- a/forms/source/inc/services.hxx +++ b/forms/source/inc/services.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX -#define INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX +#pragma once #define AWT_CONTROL_TEXTFIELD "com.sun.star.awt.TextField" @@ -199,6 +198,4 @@ #define SRV_SDB_ROWSET "com.sun.star.sdb.RowSet" #define SRV_SDB_CONNECTION "com.sun.star.sdb.Connection" -#endif // INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/togglestate.hxx b/forms/source/inc/togglestate.hxx index d02032ea8e89..aeacabc515f1 100644 --- a/forms/source/inc/togglestate.hxx +++ b/forms/source/inc/togglestate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_TOGGLESTATE_HXX -#define INCLUDED_FORMS_SOURCE_INC_TOGGLESTATE_HXX +#pragma once namespace frm @@ -31,6 +30,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_TOGGLESTATE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx index 3db4d79ca560..e11661176b92 100644 --- a/forms/source/inc/urltransformer.hxx +++ b/forms/source/inc/urltransformer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX -#define INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX +#pragma once #include <com/sun/star/util/XURLTransformer.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -68,6 +67,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/windowstateguard.hxx b/forms/source/inc/windowstateguard.hxx index 6d1f94554093..f1a449c39e56 100644 --- a/forms/source/inc/windowstateguard.hxx +++ b/forms/source/inc/windowstateguard.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_WINDOWSTATEGUARD_HXX -#define INCLUDED_FORMS_SOURCE_INC_WINDOWSTATEGUARD_HXX +#pragma once #include <com/sun/star/awt/XWindow2.hpp> #include <com/sun/star/awt/XControlModel.hpp> @@ -68,6 +67,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_WINDOWSTATEGUARD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/attributedispatcher.hxx b/forms/source/richtext/attributedispatcher.hxx index 685825f5c88f..9c6769b60122 100644 --- a/forms/source/richtext/attributedispatcher.hxx +++ b/forms/source/richtext/attributedispatcher.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_ATTRIBUTEDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_ATTRIBUTEDISPATCHER_HXX +#pragma once #include "featuredispatcher.hxx" #include "rtattributes.hxx" @@ -77,6 +76,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_ATTRIBUTEDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx index 914b9bc86640..47e561c6764a 100644 --- a/forms/source/richtext/clipboarddispatcher.hxx +++ b/forms/source/richtext/clipboarddispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_CLIPBOARDDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_CLIPBOARDDISPATCHER_HXX +#pragma once #include "featuredispatcher.hxx" #include <tools/link.hxx> @@ -89,6 +88,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_CLIPBOARDDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/featuredispatcher.hxx b/forms/source/richtext/featuredispatcher.hxx index 29ca81517ca9..feba00d5bfb2 100644 --- a/forms/source/richtext/featuredispatcher.hxx +++ b/forms/source/richtext/featuredispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_FEATUREDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_FEATUREDISPATCHER_HXX +#pragma once #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/lang/DisposedException.hpp> @@ -87,6 +86,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_FEATUREDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/parametrizedattributedispatcher.hxx b/forms/source/richtext/parametrizedattributedispatcher.hxx index 8fe9cfbc2187..69844731612e 100644 --- a/forms/source/richtext/parametrizedattributedispatcher.hxx +++ b/forms/source/richtext/parametrizedattributedispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_PARAMETRIZEDATTRIBUTEDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_PARAMETRIZEDATTRIBUTEDISPATCHER_HXX +#pragma once #include "attributedispatcher.hxx" @@ -59,6 +58,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_PARAMETRIZEDATTRIBUTEDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index d79d4c0c74d0..9cda83bb5257 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTCONTROL_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTCONTROL_HXX +#pragma once #include <toolkit/controls/unocontrols.hxx> #include <toolkit/awt/vclxwindow.hxx> @@ -126,6 +125,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index 21175a4165be..b0eccbe80ef5 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTENGINE_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTENGINE_HXX +#pragma once #include <editeng/editeng.hxx> #include <tools/link.hxx> @@ -72,6 +71,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTENGINE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx index 635799baeb40..d4fef2f66806 100644 --- a/forms/source/richtext/richtextimplcontrol.hxx +++ b/forms/source/richtext/richtextimplcontrol.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTIMPLCONTROL_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTIMPLCONTROL_HXX +#pragma once #include "rtattributehandler.hxx" #include "richtextviewport.hxx" @@ -182,6 +181,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTIMPLCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextmodel.hxx b/forms/source/richtext/richtextmodel.hxx index ef3aff536fb9..e9e42810a46b 100644 --- a/forms/source/richtext/richtextmodel.hxx +++ b/forms/source/richtext/richtextmodel.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTMODEL_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTMODEL_HXX +#pragma once #include <FormComponent.hxx> #include <formcontrolfont.hxx> @@ -178,6 +177,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTMODEL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx index add7c5983ed7..33651f563538 100644 --- a/forms/source/richtext/richtextunowrapper.hxx +++ b/forms/source/richtext/richtextunowrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX +#pragma once #include <memory> #include <editeng/unotext.hxx> @@ -79,6 +78,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index f241e9350c3a..58448c34cd11 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX +#pragma once #include <vcl/ctrl.hxx> #include "rtattributes.hxx" @@ -120,6 +119,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextviewport.hxx b/forms/source/richtext/richtextviewport.hxx index 8e4636fe4932..90df8cb0b489 100644 --- a/forms/source/richtext/richtextviewport.hxx +++ b/forms/source/richtext/richtextviewport.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVIEWPORT_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVIEWPORT_HXX +#pragma once #include <vcl/ctrl.hxx> @@ -62,6 +61,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVIEWPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/rtattributehandler.hxx b/forms/source/richtext/rtattributehandler.hxx index c8c2fcb6cf73..0f2badd640dd 100644 --- a/forms/source/richtext/rtattributehandler.hxx +++ b/forms/source/richtext/rtattributehandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTEHANDLER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTEHANDLER_HXX +#pragma once #include "rtattributes.hxx" #include <rtl/ref.hxx> @@ -161,6 +160,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTEHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/rtattributes.hxx b/forms/source/richtext/rtattributes.hxx index fc514580a64a..b60ac6518562 100644 --- a/forms/source/richtext/rtattributes.hxx +++ b/forms/source/richtext/rtattributes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTES_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTES_HXX +#pragma once #include <sal/types.h> #include <svl/poolitem.hxx> @@ -128,6 +127,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/specialdispatchers.hxx b/forms/source/richtext/specialdispatchers.hxx index aa60816e11dd..9b4bfa1b7939 100644 --- a/forms/source/richtext/specialdispatchers.hxx +++ b/forms/source/richtext/specialdispatchers.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX +#pragma once #include "parametrizedattributedispatcher.hxx" @@ -89,6 +88,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/textattributelistener.hxx b/forms/source/richtext/textattributelistener.hxx index c33ccbc0f932..3025d7b5d626 100644 --- a/forms/source/richtext/textattributelistener.hxx +++ b/forms/source/richtext/textattributelistener.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_TEXTATTRIBUTELISTENER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_TEXTATTRIBUTELISTENER_HXX +#pragma once #include "rtattributes.hxx" @@ -51,6 +50,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_TEXTATTRIBUTELISTENER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/runtime/formoperations.hxx b/forms/source/runtime/formoperations.hxx index 86c44feff3f2..bd092edd2a48 100644 --- a/forms/source/runtime/formoperations.hxx +++ b/forms/source/runtime/formoperations.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RUNTIME_FORMOPERATIONS_HXX -#define INCLUDED_FORMS_SOURCE_RUNTIME_FORMOPERATIONS_HXX +#pragma once #include <com/sun/star/form/runtime/XFormOperations.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -378,6 +377,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RUNTIME_FORMOPERATIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx index f7acd35ed990..e6e8cc1fe563 100644 --- a/forms/source/solar/component/navbarcontrol.hxx +++ b/forms/source/solar/component/navbarcontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_SOLAR_COMPONENT_NAVBARCONTROL_HXX -#define INCLUDED_FORMS_SOURCE_SOLAR_COMPONENT_NAVBARCONTROL_HXX +#pragma once #include <formnavigation.hxx> @@ -126,6 +125,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_SOLAR_COMPONENT_NAVBARCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx index c96fd141662b..8d5113357e5f 100644 --- a/forms/source/solar/inc/navtoolbar.hxx +++ b/forms/source/solar/inc/navtoolbar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_SOLAR_INC_NAVTOOLBAR_HXX -#define INCLUDED_FORMS_SOURCE_SOLAR_INC_NAVTOOLBAR_HXX +#pragma once #include <svtools/recorditemwindow.hxx> #include <memory> @@ -162,6 +161,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_SOLAR_INC_NAVTOOLBAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx index 76e6449a3b84..fc3064e9e2d5 100644 --- a/forms/source/xforms/NameContainer.hxx +++ b/forms/source/xforms/NameContainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_NAMECONTAINER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_NAMECONTAINER_HXX +#pragma once #include <comphelper/sequence.hxx> #include <cppuhelper/implbase.hxx> @@ -157,6 +156,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/binding.hxx b/forms/source/xforms/binding.hxx index 464e1aeb4d4a..d7201a5b5246 100644 --- a/forms/source/xforms/binding.hxx +++ b/forms/source/xforms/binding.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_BINDING_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_BINDING_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <cppuhelper/implbase.hxx> @@ -405,6 +404,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/boolexpression.hxx b/forms/source/xforms/boolexpression.hxx index ae3a0c120d77..ddbc13ce7009 100644 --- a/forms/source/xforms/boolexpression.hxx +++ b/forms/source/xforms/boolexpression.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_BOOLEXPRESSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_BOOLEXPRESSION_HXX +#pragma once #include "computedexpression.hxx" @@ -42,6 +41,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/collection.hxx b/forms/source/xforms/collection.hxx index 410b09e29b6e..19eb1b983f4c 100644 --- a/forms/source/xforms/collection.hxx +++ b/forms/source/xforms/collection.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_COLLECTION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_COLLECTION_HXX +#pragma once #include "enumeration.hxx" @@ -278,6 +277,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/computedexpression.hxx b/forms/source/xforms/computedexpression.hxx index e4511b4c1873..17f39cd21aa2 100644 --- a/forms/source/xforms/computedexpression.hxx +++ b/forms/source/xforms/computedexpression.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_COMPUTEDEXPRESSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_COMPUTEDEXPRESSION_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Reference.hxx> @@ -119,6 +118,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/convert.hxx b/forms/source/xforms/convert.hxx index 8d4555d580ec..c7073f7c36cd 100644 --- a/forms/source/xforms/convert.hxx +++ b/forms/source/xforms/convert.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_CONVERT_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_CONVERT_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <map> @@ -76,6 +75,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/datatyperepository.hxx b/forms/source/xforms/datatyperepository.hxx index 9138a1a5e8d6..cd5ea944d6c4 100644 --- a/forms/source/xforms/datatyperepository.hxx +++ b/forms/source/xforms/datatyperepository.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_DATATYPEREPOSITORY_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_DATATYPEREPOSITORY_HXX +#pragma once #include <com/sun/star/xforms/XDataTypeRepository.hpp> #include <cppuhelper/implbase.hxx> @@ -81,6 +80,4 @@ namespace xforms } // namespace xforms -#endif // INCLUDED_FORMS_SOURCE_XFORMS_DATATYPEREPOSITORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx index 9ccd85b7db95..860d1901b553 100644 --- a/forms/source/xforms/datatypes.hxx +++ b/forms/source/xforms/datatypes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_DATATYPES_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_DATATYPES_HXX +#pragma once #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/util/Date.hpp> @@ -370,6 +369,4 @@ namespace xforms } // namespace xforms -#endif // INCLUDED_FORMS_SOURCE_XFORMS_DATATYPES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/enumeration.hxx b/forms/source/xforms/enumeration.hxx index f790f17bc65c..6374e0c8ef27 100644 --- a/forms/source/xforms/enumeration.hxx +++ b/forms/source/xforms/enumeration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_ENUMERATION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_ENUMERATION_HXX +#pragma once #include <cppuhelper/implbase.hxx> @@ -48,6 +47,4 @@ public: virtual css::uno::Any SAL_CALL nextElement() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/evaluationcontext.hxx b/forms/source/xforms/evaluationcontext.hxx index 0edf05561cdf..145a1f2d25f0 100644 --- a/forms/source/xforms/evaluationcontext.hxx +++ b/forms/source/xforms/evaluationcontext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_EVALUATIONCONTEXT_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_EVALUATIONCONTEXT_HXX +#pragma once #include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/container/XNameContainer.hpp> @@ -55,6 +54,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/mip.hxx b/forms/source/xforms/mip.hxx index a2247b45342d..97b98d04ec52 100644 --- a/forms/source/xforms/mip.hxx +++ b/forms/source/xforms/mip.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_MIP_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_MIP_HXX +#pragma once #include <rtl/ustring.hxx> @@ -100,6 +99,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx index af7075e072ab..af543dd139bf 100644 --- a/forms/source/xforms/model.hxx +++ b/forms/source/xforms/model.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_MODEL_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_MODEL_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include "propertysetbase.hxx" @@ -369,6 +368,5 @@ public: }; } // namespace -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/model_helper.hxx b/forms/source/xforms/model_helper.hxx index 51b65b67127a..6e0c90a07fd8 100644 --- a/forms/source/xforms/model_helper.hxx +++ b/forms/source/xforms/model_helper.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_MODEL_HELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_MODEL_HELPER_HXX +#pragma once // some helper definitions that must be available for model.cxx and @@ -144,6 +143,4 @@ void setInstanceData( } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/namedcollection.hxx b/forms/source/xforms/namedcollection.hxx index 6abfb430e2b8..10eeafcfd65b 100644 --- a/forms/source/xforms/namedcollection.hxx +++ b/forms/source/xforms/namedcollection.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_NAMEDCOLLECTION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_NAMEDCOLLECTION_HXX +#pragma once #include "collection.hxx" #include <cppuhelper/implbase.hxx> @@ -110,6 +109,4 @@ public: } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/pathexpression.hxx b/forms/source/xforms/pathexpression.hxx index 03e2ca18f5f5..31923016022b 100644 --- a/forms/source/xforms/pathexpression.hxx +++ b/forms/source/xforms/pathexpression.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_PATHEXPRESSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_PATHEXPRESSION_HXX +#pragma once #include "computedexpression.hxx" @@ -69,6 +68,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx index d6ba2efda2eb..bb27f8460fea 100644 --- a/forms/source/xforms/propertysetbase.hxx +++ b/forms/source/xforms/propertysetbase.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_PROPERTYSETBASE_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_PROPERTYSETBASE_HXX +#pragma once #include <comphelper/propstate.hxx> #include <rtl/ref.hxx> @@ -344,6 +343,4 @@ public: #define PROPERTY( NAME, TYPE ) PROPERTY_FLAGS( NAME, TYPE, css::beans::PropertyAttribute::BOUND ) #define PROPERTY_RO( NAME, TYPE ) PROPERTY_FLAGS( NAME, TYPE, css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::READONLY ) -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/resourcehelper.hxx b/forms/source/xforms/resourcehelper.hxx index 6741ec10764e..9f200fdc87c0 100644 --- a/forms/source/xforms/resourcehelper.hxx +++ b/forms/source/xforms/resourcehelper.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_RESOURCEHELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_RESOURCEHELPER_HXX +#pragma once #include <sal/config.h> @@ -40,6 +39,4 @@ namespace xforms } // namespace -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index d6283034c226..09983d28b1c6 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include "propertysetbase.hxx" @@ -230,6 +229,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/serialization.hxx b/forms/source/xforms/submission/serialization.hxx index 9c4fcce9052b..19f072b0bcf2 100644 --- a/forms/source/xforms/submission/serialization.hxx +++ b/forms/source/xforms/submission/serialization.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/io/XInputStream.hpp> @@ -58,6 +57,4 @@ public: virtual css::uno::Reference<css::io::XInputStream> getInputStream() = 0; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/serialization_app_xml.hxx b/forms/source/xforms/submission/serialization_app_xml.hxx index eed189943118..51fb1eb54327 100644 --- a/forms/source/xforms/submission/serialization_app_xml.hxx +++ b/forms/source/xforms/submission/serialization_app_xml.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_APP_XML_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_APP_XML_HXX +#pragma once #include <com/sun/star/io/XPipe.hpp> @@ -38,6 +37,4 @@ public: virtual css::uno::Reference<css::io::XInputStream> getInputStream() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/serialization_urlencoded.hxx b/forms/source/xforms/submission/serialization_urlencoded.hxx index 334066f93ba5..2ae91c1f180f 100644 --- a/forms/source/xforms/submission/serialization_urlencoded.hxx +++ b/forms/source/xforms/submission/serialization_urlencoded.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_URLENCODED_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_URLENCODED_HXX +#pragma once #include <sal/config.h> @@ -45,6 +44,4 @@ public: virtual css::uno::Reference<css::io::XInputStream> getInputStream() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/submission.hxx b/forms/source/xforms/submission/submission.hxx index 22228a346e26..655529063a7d 100644 --- a/forms/source/xforms/submission/submission.hxx +++ b/forms/source/xforms/submission/submission.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_HXX +#pragma once #include <tools/urlobj.hxx> #include <osl/conditn.hxx> @@ -135,6 +134,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/submission_get.hxx b/forms/source/xforms/submission/submission_get.hxx index 6ec7c60dd103..10375c5b266e 100644 --- a/forms/source/xforms/submission/submission_get.hxx +++ b/forms/source/xforms/submission/submission_get.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_GET_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_GET_HXX +#pragma once #include "submission.hxx" @@ -30,6 +29,5 @@ public: virtual SubmissionResult submit(const css::uno::Reference<css::task::XInteractionHandler>& aInteractionHandler) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/submission_post.hxx b/forms/source/xforms/submission/submission_post.hxx index 4dec413954b6..c3f67443c8df 100644 --- a/forms/source/xforms/submission/submission_post.hxx +++ b/forms/source/xforms/submission/submission_post.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_POST_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_POST_HXX +#pragma once #include "submission.hxx" @@ -29,6 +28,5 @@ public: virtual SubmissionResult submit(const css::uno::Reference< css::task::XInteractionHandler >& aInteractionHandler) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/submission_put.hxx b/forms/source/xforms/submission/submission_put.hxx index 6d8a2325e3ee..f5e6c2b36ffc 100644 --- a/forms/source/xforms/submission/submission_put.hxx +++ b/forms/source/xforms/submission/submission_put.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_PUT_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_PUT_HXX +#pragma once #include "submission.hxx" @@ -30,6 +29,5 @@ public: virtual SubmissionResult submit(const css::uno::Reference<css::task::XInteractionHandler>& aInteractionHandler) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/unohelper.hxx b/forms/source/xforms/unohelper.hxx index a2e6bd8b4ac4..5aace2f3cf65 100644 --- a/forms/source/xforms/unohelper.hxx +++ b/forms/source/xforms/unohelper.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_UNOHELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_UNOHELPER_HXX +#pragma once #include <sal/types.h> @@ -39,6 +38,4 @@ void copy( const css::uno::Reference<css::beans::XPropertySet>& , css::uno::Refe } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/xformsevent.hxx b/forms/source/xforms/xformsevent.hxx index bfe7b2593026..2622780be402 100644 --- a/forms/source/xforms/xformsevent.hxx +++ b/forms/source/xforms/xformsevent.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XFORMSEVENT_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_XFORMSEVENT_HXX +#pragma once #include <sal/types.h> #include <cppuhelper/implbase.hxx> @@ -66,6 +65,4 @@ class XFormsEventConcrete : public cppu::WeakImplHelper< XFormsEvent > { } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/xmlhelper.hxx b/forms/source/xforms/xmlhelper.hxx index 8a2286bb9239..e8995f764d08 100644 --- a/forms/source/xforms/xmlhelper.hxx +++ b/forms/source/xforms/xmlhelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XMLHELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_XMLHELPER_HXX +#pragma once #include <rtl/ustring.hxx> @@ -38,6 +37,4 @@ bool isValidPrefixName( const OUString& sName, css::uno::Reference<css::xml::dom::XDocumentBuilder> getDocumentBuilder(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/xpathlib/extension.hxx b/forms/source/xforms/xpathlib/extension.hxx index a7eeeec8ef87..267576b746a8 100644 --- a/forms/source/xforms/xpathlib/extension.hxx +++ b/forms/source/xforms/xpathlib/extension.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -50,6 +49,4 @@ public: virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& aSequence) override; }; ... etc. - the rest is truncated _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits