From 90c978f839e5029c69b4acb70f37909ee3016614 Mon Sep 17 00:00:00 2001 From: Vincent LE GARREC Date: Sat, 6 Mar 2021 08:21:49 +0100 Subject: 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 --- 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 +---- 94 files changed, 94 insertions(+), 371 deletions(-) (limited to 'forms') 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(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 @@ -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 #include @@ -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 @@ -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 #include @@ -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 @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 @@ -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 #include @@ -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 @@ -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 @@ -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 #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 #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 @@ -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 #include @@ -29,6 +28,4 @@ namespace detail sal_Int32 findPos(const OUString& aStr, const css::uno::Sequence& 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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #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 @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 @@ -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 #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 @@ -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 #include @@ -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 @@ -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 #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 #include @@ -58,6 +57,4 @@ public: virtual css::uno::Reference 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 @@ -38,6 +37,4 @@ public: virtual css::uno::Reference 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 @@ -45,6 +44,4 @@ public: virtual css::uno::Reference 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 #include @@ -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& 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& 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 @@ -39,6 +38,4 @@ void copy( const css::uno::Reference& , 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 #include @@ -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 @@ -38,6 +37,4 @@ bool isValidPrefixName( const OUString& sName, css::uno::Reference 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 #include @@ -50,6 +49,4 @@ public: virtual void SAL_CALL initialize(const css::uno::Sequence& aSequence) override; }; -#endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/xpathlib/xpathlib.hxx b/forms/source/xforms/xpathlib/xpathlib.hxx index e1c07965df01..52a477c97e73 100644 --- a/forms/source/xforms/xpathlib/xpathlib.hxx +++ b/forms/source/xforms/xpathlib/xpathlib.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX +#pragma once #include @@ -72,6 +71,4 @@ xmlXPathFunction xforms_lookupFunc(void *ctxt, const xmlChar *name, const xmlCha } -#endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit