diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 09:51:47 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 13:14:42 +0100 |
commit | aef40e738842522c050538cc8a62c2d1f4861861 (patch) | |
tree | ecbde063724dd36e9e3401aed887331f0e6f8f40 /xmloff | |
parent | 90c978f839e5029c69b4acb70f37909ee3016614 (diff) |
tdf#124176 Use pragma once in x*
xmlhelp, xmloff, xmlsecurity
Change-Id: I80c6fa806387f3dcba8be7f93fe2fef146b033e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112050
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'xmloff')
288 files changed, 288 insertions, 1146 deletions
diff --git a/xmloff/inc/AttributeContainerHandler.hxx b/xmloff/inc/AttributeContainerHandler.hxx index 1d6a26ae199e..04c812718959 100644 --- a/xmloff/inc/AttributeContainerHandler.hxx +++ b/xmloff/inc/AttributeContainerHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_ATTRIBUTECONTAINERHANDLER_HXX -#define INCLUDED_XMLOFF_INC_ATTRIBUTECONTAINERHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -36,6 +35,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_INC_ATTRIBUTECONTAINERHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/DomBuilderContext.hxx b/xmloff/inc/DomBuilderContext.hxx index c8498a094317..40435abbfc80 100644 --- a/xmloff/inc/DomBuilderContext.hxx +++ b/xmloff/inc/DomBuilderContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_DOMBUILDERCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_DOMBUILDERCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> @@ -91,6 +90,4 @@ public: virtual void SAL_CALL characters( const OUString& rChars ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/DomExport.hxx b/xmloff/inc/DomExport.hxx index c9d6d76db4f7..b6646214f7e8 100644 --- a/xmloff/inc/DomExport.hxx +++ b/xmloff/inc/DomExport.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_XMLOFF_INC_DOMEXPORT_HXX -#define INCLUDED_XMLOFF_INC_DOMEXPORT_HXX +#pragma once // the Solaris compiler apparently needs the following include: #include <com/sun/star/uno/Reference.hxx> @@ -31,6 +30,4 @@ namespace com::sun::star { void exportDom( SvXMLExport&, const css::uno::Reference<css::xml::dom::XDocument>& ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/EnhancedCustomShapeToken.hxx b/xmloff/inc/EnhancedCustomShapeToken.hxx index b35d34323ab8..328704f9b889 100644 --- a/xmloff/inc/EnhancedCustomShapeToken.hxx +++ b/xmloff/inc/EnhancedCustomShapeToken.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_ENHANCEDCUSTOMSHAPETOKEN_HXX -#define INCLUDED_XMLOFF_INC_ENHANCEDCUSTOMSHAPETOKEN_HXX +#pragma once #include <rtl/ustring.hxx> @@ -159,6 +158,4 @@ namespace xmloff::EnhancedCustomShapeToken { } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/MetaExportComponent.hxx b/xmloff/inc/MetaExportComponent.hxx index e9ac444666cc..ad8e36cf937a 100644 --- a/xmloff/inc/MetaExportComponent.hxx +++ b/xmloff/inc/MetaExportComponent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_METAEXPORTCOMPONENT_HXX -#define INCLUDED_XMLOFF_INC_METAEXPORTCOMPONENT_HXX +#pragma once #include <com/sun/star/document/XDocumentProperties.hpp> @@ -53,6 +52,4 @@ private: virtual void ExportContent_() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/MultiPropertySetHelper.hxx b/xmloff/inc/MultiPropertySetHelper.hxx index 65e378bd7a2d..9d539fa26287 100644 --- a/xmloff/inc/MultiPropertySetHelper.hxx +++ b/xmloff/inc/MultiPropertySetHelper.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_XMLOFF_INC_MULTIPROPERTYSETHELPER_HXX -#define INCLUDED_XMLOFF_INC_MULTIPROPERTYSETHELPER_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -184,6 +183,4 @@ bool MultiPropertySetHelper::hasProperty(sal_Int16 nValueNo) return pSequenceIndex[nValueNo] != -1; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/PageMasterImportContext.hxx b/xmloff/inc/PageMasterImportContext.hxx index 44cf86bc99e0..7e164a1f234b 100644 --- a/xmloff/inc/PageMasterImportContext.hxx +++ b/xmloff/inc/PageMasterImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_PAGEMASTERIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_PAGEMASTERIMPORTCONTEXT_HXX +#pragma once #include <xmloff/prstylei.hxx> #include <xmloff/xmlimp.hxx> @@ -54,6 +53,4 @@ public: virtual void SetDefaults() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/PageMasterPropHdlFactory.hxx b/xmloff/inc/PageMasterPropHdlFactory.hxx index e8a4f8c83801..505de4fec016 100644 --- a/xmloff/inc/PageMasterPropHdlFactory.hxx +++ b/xmloff/inc/PageMasterPropHdlFactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERPROPHDLFACTORY_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERPROPHDLFACTORY_HXX +#pragma once #include <xmloff/prhdlfac.hxx> @@ -31,6 +30,4 @@ public: virtual const XMLPropertyHandler* GetPropertyHandler(sal_Int32 nType) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/PageMasterPropMapper.hxx b/xmloff/inc/PageMasterPropMapper.hxx index fc054b2f167a..492aa4e961ef 100644 --- a/xmloff/inc/PageMasterPropMapper.hxx +++ b/xmloff/inc/PageMasterPropMapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERPROPMAPPER_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERPROPMAPPER_HXX +#pragma once #include <xmloff/xmlprmap.hxx> @@ -31,6 +30,4 @@ public: virtual ~XMLPageMasterPropSetMapper() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/PropertySetMerger.hxx b/xmloff/inc/PropertySetMerger.hxx index 26b076b4972b..dba99d5b1b37 100644 --- a/xmloff/inc/PropertySetMerger.hxx +++ b/xmloff/inc/PropertySetMerger.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_PROPERTYSETMERGER_HXX -#define INCLUDED_XMLOFF_INC_PROPERTYSETMERGER_HXX +#pragma once #include <com/sun/star/beans/XPropertySet.hpp> @@ -26,6 +25,4 @@ extern css::uno::Reference<css::beans::XPropertySet> PropertySetMerger_CreateIns const css::uno::Reference<css::beans::XPropertySet>& rPropSet1, const css::uno::Reference<css::beans::XPropertySet>& rPropSet2) throw(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/RDFaExportHelper.hxx b/xmloff/inc/RDFaExportHelper.hxx index 73472016b311..8a8c494589d8 100644 --- a/xmloff/inc/RDFaExportHelper.hxx +++ b/xmloff/inc/RDFaExportHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_RDFAEXPORTHELPER_HXX -#define INCLUDED_XMLOFF_INC_RDFAEXPORTHELPER_HXX +#pragma once #include <com/sun/star/uno/Reference.h> @@ -64,6 +63,4 @@ public: } // namespace xmloff -#endif // INCLUDED_XMLOFF_INC_RDFAEXPORTHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/RDFaImportHelper.hxx b/xmloff/inc/RDFaImportHelper.hxx index 9cda7c29dcf0..31e00af93d06 100644 --- a/xmloff/inc/RDFaImportHelper.hxx +++ b/xmloff/inc/RDFaImportHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_RDFAIMPORTHELPER_HXX -#define INCLUDED_XMLOFF_INC_RDFAIMPORTHELPER_HXX +#pragma once #include <memory> #include <vector> @@ -84,6 +83,4 @@ public: } // namespace xmloff -#endif // INCLUDED_XMLOFF_INC_RDFAIMPORTHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/SchXMLAutoStylePoolP.hxx b/xmloff/inc/SchXMLAutoStylePoolP.hxx index 6e8beb7714f4..50f511eae1f8 100644 --- a/xmloff/inc/SchXMLAutoStylePoolP.hxx +++ b/xmloff/inc/SchXMLAutoStylePoolP.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_XMLOFF_INC_SCHXMLAUTOSTYLEPOOLP_HXX -#define INCLUDED_XMLOFF_INC_SCHXMLAUTOSTYLEPOOLP_HXX +#pragma once #include <xmloff/xmlaustp.hxx> @@ -41,6 +40,4 @@ public: virtual ~SchXMLAutoStylePoolP() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/SchXMLExport.hxx b/xmloff/inc/SchXMLExport.hxx index c5b8b3c59fd2..f332dd3c32c4 100644 --- a/xmloff/inc/SchXMLExport.hxx +++ b/xmloff/inc/SchXMLExport.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_XMLOFF_INC_SCHXMLEXPORT_HXX -#define INCLUDED_XMLOFF_INC_SCHXMLEXPORT_HXX +#pragma once #include <xmloff/SchXMLExportHelper.hxx> #include "SchXMLAutoStylePoolP.hxx" @@ -57,6 +56,4 @@ public: rtl::Reference< XMLPropertySetMapper > const & GetPropertySetMapper() const; }; -#endif // INCLUDED_XMLOFF_INC_SCHXMLEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx index 6b8047afe638..71c85511d85f 100644 --- a/xmloff/inc/SchXMLImport.hxx +++ b/xmloff/inc/SchXMLImport.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_XMLOFF_INC_SCHXMLIMPORT_HXX -#define INCLUDED_XMLOFF_INC_SCHXMLIMPORT_HXX +#pragma once #include <xmloff/SchXMLImportHelper.hxx> #include <xmloff/xmlimp.hxx> @@ -45,6 +44,4 @@ public: setTargetDocument(const css::uno::Reference<css::lang::XComponent>& xDoc) override; }; -#endif // INCLUDED_XMLOFF_INC_SCHXMLIMPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/StyleMap.hxx b/xmloff/inc/StyleMap.hxx index b6b3249e1eae..0b2d302142a1 100644 --- a/xmloff/inc/StyleMap.hxx +++ b/xmloff/inc/StyleMap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_STYLEMAP_HXX -#define INCLUDED_XMLOFF_INC_STYLEMAP_HXX +#pragma once #include <com/sun/star/lang/XUnoTunnel.hpp> #include <comphelper/servicehelper.hxx> @@ -78,6 +77,4 @@ public: UNO3_GETIMPLEMENTATION_DECL(StyleMap) }; -#endif // INCLUDED_XMLOFF_INC_STYLEMAP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/TransGradientStyle.hxx b/xmloff/inc/TransGradientStyle.hxx index 61637eac9ab0..f01ae1c19596 100644 --- a/xmloff/inc/TransGradientStyle.hxx +++ b/xmloff/inc/TransGradientStyle.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_TRANSGRADIENTSTYLE_HXX -#define INCLUDED_XMLOFF_INC_TRANSGRADIENTSTYLE_HXX +#pragma once #include <rtl/ustring.hxx> @@ -57,6 +56,4 @@ public: void exportXML( const OUString& rStrName, const css::uno::Any& rValue ); }; -#endif // INCLUDED_XMLOFF_INC_TRANSGRADIENTSTYLE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/WordWrapPropertyHdl.hxx b/xmloff/inc/WordWrapPropertyHdl.hxx index 22aea9aff4cd..b64d53faf6bf 100644 --- a/xmloff/inc/WordWrapPropertyHdl.hxx +++ b/xmloff/inc/WordWrapPropertyHdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_WORDWRAPPROPERTYHDL_HXX -#define INCLUDED_XMLOFF_WORDWRAPPROPERTYHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -39,6 +38,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_WORDWRAPPROPERTYHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLBackgroundImageContext.hxx b/xmloff/inc/XMLBackgroundImageContext.hxx index 8d3f466ae353..ab81cc3cb461 100644 --- a/xmloff/inc/XMLBackgroundImageContext.hxx +++ b/xmloff/inc/XMLBackgroundImageContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLBACKGROUNDIMAGECONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLBACKGROUNDIMAGECONTEXT_HXX +#pragma once #include <com/sun/star/style/GraphicLocation.hpp> #include "XMLElementPropertyContext.hxx" @@ -67,6 +66,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLBackgroundImageExport.hxx b/xmloff/inc/XMLBackgroundImageExport.hxx index 89a8b8af206d..1eafe86ba5ec 100644 --- a/xmloff/inc/XMLBackgroundImageExport.hxx +++ b/xmloff/inc/XMLBackgroundImageExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLBACKGROUNDIMAGEEXPORT_HXX -#define INCLUDED_XMLOFF_INC_XMLBACKGROUNDIMAGEEXPORT_HXX +#pragma once #include <sal/types.h> #include <rtl/ustring.hxx> @@ -50,6 +49,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLBase64Export.hxx b/xmloff/inc/XMLBase64Export.hxx index 1c248dbd4638..89a91553879d 100644 --- a/xmloff/inc/XMLBase64Export.hxx +++ b/xmloff/inc/XMLBase64Export.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_XMLOFF_INC_XMLBASE64EXPORT_HXX -#define INCLUDED_XMLOFF_INC_XMLBASE64EXPORT_HXX +#pragma once #include <com/sun/star/uno/Reference.h> #include <xmloff/xmltoken.hxx> @@ -43,6 +42,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLBasicExportFilter.hxx b/xmloff/inc/XMLBasicExportFilter.hxx index 44df625cf534..2ed39d409d09 100644 --- a/xmloff/inc/XMLBasicExportFilter.hxx +++ b/xmloff/inc/XMLBasicExportFilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLBASICEXPORTFILTER_HXX -#define INCLUDED_XMLOFF_INC_XMLBASICEXPORTFILTER_HXX +#pragma once #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <cppuhelper/implbase.hxx> @@ -49,6 +48,4 @@ public: virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator ) override; }; -#endif // INCLUDED_XMLOFF_INC_XMLBASICEXPORTFILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx b/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx index 1892432be58d..a3be8f99cb2e 100644 --- a/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx +++ b/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLBITMAPLOGICALSIZEPROPERTYHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLBITMAPLOGICALSIZEPROPERTYHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -50,6 +49,4 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_INC_XMLBITMAPLOGICALSIZEPROPERTYHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx b/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx index 64cfe9876e41..d008935acf58 100644 --- a/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx +++ b/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLBITMAPREPEATOFFSETPROPERTYHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLBITMAPREPEATOFFSETPROPERTYHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -52,6 +51,4 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_INC_XMLBITMAPREPEATOFFSETPROPERTYHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLChartPropertySetMapper.hxx b/xmloff/inc/XMLChartPropertySetMapper.hxx index 72d486f158c7..8b3d72d3e19d 100644 --- a/xmloff/inc/XMLChartPropertySetMapper.hxx +++ b/xmloff/inc/XMLChartPropertySetMapper.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_XMLOFF_INC_XMLCHARTPROPERTYSETMAPPER_HXX -#define INCLUDED_XMLOFF_INC_XMLCHARTPROPERTYSETMAPPER_HXX +#pragma once #include <xmloff/xmlprmap.hxx> #include <xmloff/xmlexppr.hxx> @@ -100,6 +99,4 @@ public: sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const override; }; -#endif // INCLUDED_XMLOFF_INC_XMLCHARTPROPERTYSETMAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLChartStyleContext.hxx b/xmloff/inc/XMLChartStyleContext.hxx index f88be429b8a5..57744a774cf8 100644 --- a/xmloff/inc/XMLChartStyleContext.hxx +++ b/xmloff/inc/XMLChartStyleContext.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_XMLOFF_INC_XMLCHARTSTYLECONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLCHARTSTYLECONTEXT_HXX +#pragma once #include <xmloff/XMLShapeStyleContext.hxx> @@ -49,6 +48,4 @@ public: bool isEmptyDataStyleName() override { return msDataStyleName.isEmpty(); } }; -#endif // INCLUDED_XMLOFF_INC_XMLCHARTSTYLECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLClipPropertyHandler.hxx b/xmloff/inc/XMLClipPropertyHandler.hxx index b11eb2c76327..0f97301716fc 100644 --- a/xmloff/inc/XMLClipPropertyHandler.hxx +++ b/xmloff/inc/XMLClipPropertyHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLCLIPPROPERTYHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLCLIPPROPERTYHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -37,6 +36,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_INC_XMLCLIPPROPERTYHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLElementPropertyContext.hxx b/xmloff/inc/XMLElementPropertyContext.hxx index f6164e75a2a4..bf75533922ec 100644 --- a/xmloff/inc/XMLElementPropertyContext.hxx +++ b/xmloff/inc/XMLElementPropertyContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLELEMENTPROPERTYCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLELEMENTPROPERTYCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <xmloff/maptype.hxx> @@ -49,6 +48,4 @@ public: }; -#endif // _XMLOFF_ELEMENTPROPERTYCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLEmbeddedObjectImportContext.hxx b/xmloff/inc/XMLEmbeddedObjectImportContext.hxx index 1f5bbdd0787c..ca1ea2ac4dcb 100644 --- a/xmloff/inc/XMLEmbeddedObjectImportContext.hxx +++ b/xmloff/inc/XMLEmbeddedObjectImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLEMBEDDEDOBJECTIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLEMBEDDEDOBJECTIMPORTCONTEXT_HXX +#pragma once #include <com/sun/star/xml/sax/XFastDocumentHandler.hpp> #include <xmloff/xmlictxt.hxx> @@ -59,6 +58,4 @@ public: }; -#endif // INCLUDED_XMLOFF_INC_XMLEMBEDDEDOBJECTIMPORTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLEventImportHelper.hxx b/xmloff/inc/XMLEventImportHelper.hxx index 0f0c15b292c5..ccb475ac122d 100644 --- a/xmloff/inc/XMLEventImportHelper.hxx +++ b/xmloff/inc/XMLEventImportHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLEVENTIMPORTHELPER_HXX -#define INCLUDED_XMLOFF_INC_XMLEVENTIMPORTHELPER_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <xmloff/xmlevent.hxx> @@ -91,6 +90,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx b/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx index fa5ecdfd0adf..4d5a21fae677 100644 --- a/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx +++ b/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLFILLBITMAPSIZEPROPERTYHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLFILLBITMAPSIZEPROPERTYHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -50,6 +49,4 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_INC_XMLFILLBITMAPSIZEPROPERTYHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx index aaccbd4f3da2..2bd8efc40364 100644 --- a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx +++ b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLFOOTNOTECONFIGURATIONIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLFOOTNOTECONFIGURATIONIMPORTCONTEXT_HXX +#pragma once #include <memory> #include <xmloff/xmlstyle.hxx> @@ -83,6 +82,4 @@ public: void SetEndNotice( const OUString& sText); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLImageMapContext.hxx b/xmloff/inc/XMLImageMapContext.hxx index 5c9c173c1082..aec96fb29e9c 100644 --- a/xmloff/inc/XMLImageMapContext.hxx +++ b/xmloff/inc/XMLImageMapContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLIMAGEMAPCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLIMAGEMAPCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <rtl/ustring.hxx> @@ -55,6 +54,4 @@ public: virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLImageMapExport.hxx b/xmloff/inc/XMLImageMapExport.hxx index 43d80cc12412..ddf62bb6f394 100644 --- a/xmloff/inc/XMLImageMapExport.hxx +++ b/xmloff/inc/XMLImageMapExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLIMAGEMAPEXPORT_HXX -#define INCLUDED_XMLOFF_INC_XMLIMAGEMAPEXPORT_HXX +#pragma once #include <sal/types.h> @@ -88,6 +87,4 @@ private: const css::uno::Reference< css::beans::XPropertySet> & rPropertySet); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx index d3f689b90349..fe0b24b9040e 100644 --- a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx +++ b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLINDEXBIBLIOGRAPHYCONFIGURATIONCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLINDEXBIBLIOGRAPHYCONFIGURATIONCONTEXT_HXX +#pragma once #include <xmloff/xmlstyle.hxx> #include <xmloff/languagetagodf.hxx> @@ -69,6 +68,4 @@ private: sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLIsPercentagePropertyHandler.hxx b/xmloff/inc/XMLIsPercentagePropertyHandler.hxx index 72f245844150..78ddde336114 100644 --- a/xmloff/inc/XMLIsPercentagePropertyHandler.hxx +++ b/xmloff/inc/XMLIsPercentagePropertyHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLISPERCENTAGEPROPERTYHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLISPERCENTAGEPROPERTYHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -41,6 +40,4 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLLineNumberingImportContext.hxx b/xmloff/inc/XMLLineNumberingImportContext.hxx index 7f44441da4e4..9a2083b37451 100644 --- a/xmloff/inc/XMLLineNumberingImportContext.hxx +++ b/xmloff/inc/XMLLineNumberingImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLLINENUMBERINGIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLLINENUMBERINGIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlstyle.hxx> #include <rtl/ustring.hxx> @@ -66,6 +65,4 @@ private: sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLNumberStylesImport.hxx b/xmloff/inc/XMLNumberStylesImport.hxx index 092c2410f9cd..25be98cbb0bb 100644 --- a/xmloff/inc/XMLNumberStylesImport.hxx +++ b/xmloff/inc/XMLNumberStylesImport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLNUMBERSTYLESIMPORT_HXX -#define INCLUDED_XMLOFF_INC_XMLNUMBERSTYLESIMPORT_HXX +#pragma once #include <xmloff/xmlnumfi.hxx> @@ -60,6 +59,4 @@ public: sal_Int32 GetDrawKey() const { return mnKey; } }; -#endif // INCLUDED_XMLOFF_INC_XMLNUMBERSTYLESIMPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx b/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx index d2712ed3f2b2..d2928d19df75 100644 --- a/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx +++ b/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLPERCENTORMEASUREPROPERTYHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLPERCENTORMEASUREPROPERTYHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -41,6 +40,4 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLRectangleMembersHandler.hxx b/xmloff/inc/XMLRectangleMembersHandler.hxx index e0d61a01f383..5b97661498ca 100644 --- a/xmloff/inc/XMLRectangleMembersHandler.hxx +++ b/xmloff/inc/XMLRectangleMembersHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLRECTANGLEMEMBERSHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLRECTANGLEMEMBERSHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -52,6 +51,4 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_INC_XMLRECTANGLEMEMBERSHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLReplacementImageContext.hxx b/xmloff/inc/XMLReplacementImageContext.hxx index 4b089d6118ce..5fbf683f361c 100644 --- a/xmloff/inc/XMLReplacementImageContext.hxx +++ b/xmloff/inc/XMLReplacementImageContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLREPLACEMENTIMAGECONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLREPLACEMENTIMAGECONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> @@ -52,6 +51,4 @@ public: }; -#endif // INCLUDED_XMLOFF_INC_XMLREPLACEMENTIMAGECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLScriptContextFactory.hxx b/xmloff/inc/XMLScriptContextFactory.hxx index 53317c4bb0c8..cde5bb916eb8 100644 --- a/xmloff/inc/XMLScriptContextFactory.hxx +++ b/xmloff/inc/XMLScriptContextFactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLSCRIPTCONTEXTFACTORY_HXX -#define INCLUDED_XMLOFF_INC_XMLSCRIPTCONTEXTFACTORY_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <xmloff/xmlevent.hxx> @@ -46,6 +45,4 @@ public: const OUString & rApiEventName) override; }; -#endif // INCLUDED_XMLOFF_INC_XMLSCRIPTCONTEXTFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLScriptExportHandler.hxx b/xmloff/inc/XMLScriptExportHandler.hxx index 57390edd3bf5..4197ba77eeb2 100644 --- a/xmloff/inc/XMLScriptExportHandler.hxx +++ b/xmloff/inc/XMLScriptExportHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLSCRIPTEXPORTHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLSCRIPTEXPORTHANDLER_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <rtl/ustring.hxx> @@ -42,6 +41,4 @@ public: bool bUseWhitespace) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLShapePropertySetContext.hxx b/xmloff/inc/XMLShapePropertySetContext.hxx index ce34224c5865..a277c4aa28a0 100644 --- a/xmloff/inc/XMLShapePropertySetContext.hxx +++ b/xmloff/inc/XMLShapePropertySetContext.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_XMLOFF_INC_XMLSHAPEPROPERTYSETCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLSHAPEPROPERTYSETCONTEXT_HXX +#pragma once #include <xmloff/xmlprcon.hxx> @@ -48,6 +47,4 @@ public: const XMLPropertyState& rProp ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLStarBasicContextFactory.hxx b/xmloff/inc/XMLStarBasicContextFactory.hxx index b375f546bb4c..ad0ac8939972 100644 --- a/xmloff/inc/XMLStarBasicContextFactory.hxx +++ b/xmloff/inc/XMLStarBasicContextFactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLSTARBASICCONTEXTFACTORY_HXX -#define INCLUDED_XMLOFF_INC_XMLSTARBASICCONTEXTFACTORY_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <xmloff/xmlevent.hxx> @@ -46,6 +45,4 @@ public: const OUString& rApiEventName) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLStarBasicExportHandler.hxx b/xmloff/inc/XMLStarBasicExportHandler.hxx index 188006dd6f69..c1eb9f76a827 100644 --- a/xmloff/inc/XMLStarBasicExportHandler.hxx +++ b/xmloff/inc/XMLStarBasicExportHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLSTARBASICEXPORTHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLSTARBASICEXPORTHANDLER_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <rtl/ustring.hxx> @@ -42,6 +41,4 @@ public: bool bUseWhitespace) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLStringBufferImportContext.hxx b/xmloff/inc/XMLStringBufferImportContext.hxx index 1975f1e5a0bc..ea44eb1c665c 100644 --- a/xmloff/inc/XMLStringBufferImportContext.hxx +++ b/xmloff/inc/XMLStringBufferImportContext.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_XMLOFF_INC_XMLSTRINGBUFFERIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLSTRINGBUFFERIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> @@ -48,6 +47,4 @@ public: virtual void SAL_CALL characters(const OUString& rChars) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLTextColumnsContext.hxx b/xmloff/inc/XMLTextColumnsContext.hxx index 55a2cd400027..9ce2715ba749 100644 --- a/xmloff/inc/XMLTextColumnsContext.hxx +++ b/xmloff/inc/XMLTextColumnsContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLTEXTCOLUMNSCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLTEXTCOLUMNSCONTEXT_HXX +#pragma once #include <xmloff/xmltkmap.hxx> @@ -55,6 +54,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLTextColumnsExport.hxx b/xmloff/inc/XMLTextColumnsExport.hxx index d407aee40f21..7aa2bc78dc69 100644 --- a/xmloff/inc/XMLTextColumnsExport.hxx +++ b/xmloff/inc/XMLTextColumnsExport.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_XMLOFF_INC_XMLTEXTCOLUMNSEXPORT_HXX -#define INCLUDED_XMLOFF_INC_XMLTEXTCOLUMNSEXPORT_HXX +#pragma once #include <sal/types.h> @@ -39,6 +38,4 @@ public: void exportXML(const css::uno::Any& rAny); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLTextColumnsPropertyHandler.hxx b/xmloff/inc/XMLTextColumnsPropertyHandler.hxx index 7e908d681313..4c06bc8ff8d8 100644 --- a/xmloff/inc/XMLTextColumnsPropertyHandler.hxx +++ b/xmloff/inc/XMLTextColumnsPropertyHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLTEXTCOLUMNSPROPERTYHANDLER_HXX -#define INCLUDED_XMLOFF_INC_XMLTEXTCOLUMNSPROPERTYHANDLER_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -45,6 +44,4 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/XMLTextHeaderFooterContext.hxx b/xmloff/inc/XMLTextHeaderFooterContext.hxx index 350e9a747d66..27b1b35c04a7 100644 --- a/xmloff/inc/XMLTextHeaderFooterContext.hxx +++ b/xmloff/inc/XMLTextHeaderFooterContext.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_XMLOFF_INC_XMLTEXTHEADERFOOTERCONTEXT_HXX -#define INCLUDED_XMLOFF_INC_XMLTEXTHEADERFOOTERCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> @@ -58,6 +57,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/anim.hxx b/xmloff/inc/anim.hxx index f3fb92d38431..b0a4e61d22af 100644 --- a/xmloff/inc/anim.hxx +++ b/xmloff/inc/anim.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_ANIM_HXX -#define INCLUDED_XMLOFF_INC_ANIM_HXX +#pragma once #include <com/sun/star/presentation/AnimationEffect.hpp> #include <com/sun/star/presentation/AnimationSpeed.hpp> @@ -93,6 +92,4 @@ void SdXMLImplSetEffect(css::presentation::AnimationEffect eEffect, XMLEffect& e css::presentation::AnimationEffect ImplSdXMLgetEffect(XMLEffect eKind, XMLEffectDirection eDirection, sal_Int16 nStartScale, bool bIn); -#endif // INCLUDED_XMLOFF_INC_ANIM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/animationimport.hxx b/xmloff/inc/animationimport.hxx index 16e8dfa9becd..b8f8c9068f85 100644 --- a/xmloff/inc/animationimport.hxx +++ b/xmloff/inc/animationimport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_ANIMATIONIMPORT_HXX -#define INCLUDED_XMLOFF_INC_ANIMATIONIMPORT_HXX +#pragma once #include <memory> @@ -56,6 +55,4 @@ public: } -#endif // INCLUDED_XMLOFF_INC_ANIMATIONIMPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/animations.hxx b/xmloff/inc/animations.hxx index 668d1839aa80..935ebf0396f7 100644 --- a/xmloff/inc/animations.hxx +++ b/xmloff/inc/animations.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_ANIMATIONS_HXX -#define INCLUDED_XMLOFF_INC_ANIMATIONS_HXX +#pragma once #include <xmloff/xmltoken.hxx> @@ -52,6 +51,4 @@ struct ImplAttributeNameConversion extern const struct ImplAttributeNameConversion* getAnimationAttributeNamesConversionList(); } -#endif // INCLUDED_XMLOFF_INC_ANIMATIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/animimp.hxx b/xmloff/inc/animimp.hxx index f526af6fb07b..b26c138ab6a5 100644 --- a/xmloff/inc/animimp.hxx +++ b/xmloff/inc/animimp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_ANIMIMP_HXX -#define INCLUDED_XMLOFF_INC_ANIMIMP_HXX +#pragma once #include <memory> @@ -40,6 +39,4 @@ public: const css::uno::Reference<css::xml::sax::XFastAttributeList>& AttrList) override; }; -#endif // INCLUDED_XMLOFF_INC_ANIMIMP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/enummaps.hxx b/xmloff/inc/enummaps.hxx index 97bd9ea8764f..ae61adc3433a 100644 --- a/xmloff/inc/enummaps.hxx +++ b/xmloff/inc/enummaps.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_XMLOFF_INC_ENUMMAPS_HXX -#define INCLUDED_XMLOFF_INC_ENUMMAPS_HXX +#pragma once #include <sal/config.h> #include <com/sun/star/drawing/BitmapMode.hpp> @@ -21,6 +20,4 @@ extern SvXMLEnumMapEntry<css::drawing::FillStyle> const aXML_FillStyle_EnumMap[] extern SvXMLEnumMapEntry<css::drawing::RectanglePoint> const aXML_RefPoint_EnumMap[]; extern SvXMLEnumMapEntry<css::drawing::BitmapMode> const aXML_BitmapMode_EnumMap[]; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/xmloff/inc/forms/form_handler_factory.hxx b/xmloff/inc/forms/form_handler_factory.hxx index 5f33b23dda03..181c1bc14428 100644 --- a/xmloff/inc/forms/form_handler_factory.hxx +++ b/xmloff/inc/forms/form_handler_factory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_FORMS_FORM_HANDLER_FACTORY_HXX -#define INCLUDED_XMLOFF_INC_FORMS_FORM_HANDLER_FACTORY_HXX +#pragma once #include <forms/property_handler.hxx> @@ -33,6 +32,4 @@ public: } // namespace xmloff -#endif // INCLUDED_XMLOFF_INC_FORMS_FORM_HANDLER_FACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/forms/property_handler.hxx b/xmloff/inc/forms/property_handler.hxx index de5d42eb5337..822baaf3c9e6 100644 --- a/xmloff/inc/forms/property_handler.hxx +++ b/xmloff/inc/forms/property_handler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_FORMS_PROPERTY_HANDLER_HXX -#define INCLUDED_XMLOFF_INC_FORMS_PROPERTY_HANDLER_HXX +#pragma once #include <forms/property_ids.hxx> @@ -57,6 +56,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_INC_FORMS_PROPERTY_HANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/forms/property_ids.hxx b/xmloff/inc/forms/property_ids.hxx index 22b71239f426..49c896fc20cb 100644 --- a/xmloff/inc/forms/property_ids.hxx +++ b/xmloff/inc/forms/property_ids.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_FORMS_PROPERTY_IDS_HXX -#define INCLUDED_XMLOFF_INC_FORMS_PROPERTY_IDS_HXX +#pragma once namespace xmloff { @@ -40,6 +39,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_INC_FORMS_PROPERTY_IDS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/propimp0.hxx b/xmloff/inc/propimp0.hxx index 1e8615f380f8..341cdc73e64f 100644 --- a/xmloff/inc/propimp0.hxx +++ b/xmloff/inc/propimp0.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_PROPIMP0_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_PROPIMP0_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -65,6 +64,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_PROPIMP0_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx index 989d3fb02149..66c5eed3f67e 100644 --- a/xmloff/inc/txtflde.hxx +++ b/xmloff/inc/txtflde.hxx @@ -21,8 +21,7 @@ * XML export of all text fields */ -#ifndef INCLUDED_XMLOFF_INC_TXTFLDE_HXX -#define INCLUDED_XMLOFF_INC_TXTFLDE_HXX +#pragma once #include <com/sun/star/uno/Reference.h> #include <xmloff/xmlnamespace.hxx> @@ -412,6 +411,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index 8f7e248bddd9..f6f27d633f96 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -23,8 +23,7 @@ * (except variable related + database display field: see txtvfldi.hxx) */ -#ifndef INCLUDED_XMLOFF_INC_TXTFLDI_HXX -#define INCLUDED_XMLOFF_INC_TXTFLDI_HXX +#pragma once #include <com/sun/star/uno/Reference.h> #include <com/sun/star/beans/PropertyValue.hpp> @@ -1120,6 +1119,4 @@ public: const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx index 282c87c586a8..30529a141fb9 100644 --- a/xmloff/inc/txtlists.hxx +++ b/xmloff/inc/txtlists.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_TXTLISTS_HXX -#define INCLUDED_XMLOFF_INC_TXTLISTS_HXX +#pragma once #include <rtl/ustring.hxx> #include <map> @@ -174,6 +173,5 @@ class XMLTextListsHelper ::std::map< OUString, NumParaList_t > mNPLists; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/txtvfldi.hxx b/xmloff/inc/txtvfldi.hxx index 8a288bdfb436..d5a4176d5dd2 100644 --- a/xmloff/inc/txtvfldi.hxx +++ b/xmloff/inc/txtvfldi.hxx @@ -22,8 +22,7 @@ * XML import of all variable related text fields plus database display field */ -#ifndef INCLUDED_XMLOFF_INC_TXTVFLDI_HXX -#define INCLUDED_XMLOFF_INC_TXTVFLDI_HXX +#pragma once #include "txtfldi.hxx" #include <com/sun/star/beans/XPropertySet.hpp> @@ -450,6 +449,4 @@ private: virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/xexptran.hxx b/xmloff/inc/xexptran.hxx index b5ed9f5bba2f..c40629f3a61c 100644 --- a/xmloff/inc/xexptran.hxx +++ b/xmloff/inc/xexptran.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XEXPTRAN_HXX -#define INCLUDED_XMLOFF_INC_XEXPTRAN_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/drawing/HomogenMatrix.hpp> @@ -99,6 +98,4 @@ public: const OUString& GetExportString(); }; -#endif // _XEXPTRANSFORM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/xmlmultiimagehelper.hxx b/xmloff/inc/xmlmultiimagehelper.hxx index 1661130f3f51..adfdce2e9285 100644 --- a/xmloff/inc/xmlmultiimagehelper.hxx +++ b/xmloff/inc/xmlmultiimagehelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLMULTIIMAGEHELPER_HXX -#define INCLUDED_XMLOFF_INC_XMLMULTIIMAGEHELPER_HXX +#pragma once #include <xmloff/xmlimp.hxx> @@ -54,6 +53,4 @@ public: }; -#endif // INCLUDED_XMLOFF_INC_XMLMULTIIMAGEHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/xmlsdtypes.hxx b/xmloff/inc/xmlsdtypes.hxx index 01849d004f4f..898c475bd7ef 100644 --- a/xmloff/inc/xmlsdtypes.hxx +++ b/xmloff/inc/xmlsdtypes.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_XMLOFF_INC_XMLSDTYPES_HXX -#define INCLUDED_XMLOFF_INC_XMLSDTYPES_HXX +#pragma once //#include <xmloff/xmlnume.hxx> //#include <xmloff/maptype.hxx> @@ -202,6 +201,4 @@ ////////////////////////////////////////////////////////////////////////////// -#endif // _XMLSDTYPES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/xmltabi.hxx b/xmloff/inc/xmltabi.hxx index 809c257de9ef..81cc60e3d76a 100644 --- a/xmloff/inc/xmltabi.hxx +++ b/xmloff/inc/xmltabi.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_INC_XMLTABI_HXX -#define INCLUDED_XMLOFF_INC_XMLTABI_HXX +#pragma once #include <memory> @@ -46,6 +45,4 @@ public: virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; -#endif // INCLUDED_XMLOFF_INC_XMLTABI_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx index 6faaa0cd240f..e3e696434604 100644 --- a/xmloff/inc/xmlversion.hxx +++ b/xmloff/inc/xmlversion.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_XMLOFF_INC_XMLVERSION_HXX -#define INCLUDED_XMLOFF_INC_XMLVERSION_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/document/XDocumentRevisionListPersistence.hpp> @@ -110,6 +109,4 @@ public: css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/MultiPropertySetHandler.hxx b/xmloff/source/chart/MultiPropertySetHandler.hxx index a89e1c1ee7ed..178fb3e1adf6 100644 --- a/xmloff/source/chart/MultiPropertySetHandler.hxx +++ b/xmloff/source/chart/MultiPropertySetHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_CHART_MULTIPROPERTYSETHANDLER_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_MULTIPROPERTYSETHANDLER_HXX +#pragma once #include <map> #include <memory> @@ -241,6 +240,4 @@ bool MultiPropertySetHandler::SingleGet (const css::uno::Sequence< return true; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx index c35e34b83dbe..171fd124c9b6 100644 --- a/xmloff/source/chart/PropertyMap.hxx +++ b/xmloff/source/chart/PropertyMap.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_XMLOFF_SOURCE_CHART_PROPERTYMAP_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_PROPERTYMAP_HXX +#pragma once #include <xmloff/maptype.hxx> #include <xmloff/xmlnamespace.hxx> @@ -386,6 +385,4 @@ const SvXMLEnumMapEntry<sal_Int32> aXMLChartMissingValueTreatmentEnumMap[] = #endif // XML_SCH_CREATE_GLOBAL_MAPS -#endif // _PROPERTYMAP_HXX_ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLAxisContext.hxx b/xmloff/source/chart/SchXMLAxisContext.hxx index ab2516a0bffd..f128edeab461 100644 --- a/xmloff/source/chart/SchXMLAxisContext.hxx +++ b/xmloff/source/chart/SchXMLAxisContext.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_XMLOFF_SOURCE_CHART_SCHXMLAXISCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLAXISCONTEXT_HXX +#pragma once #include <xmloff/SchXMLImportHelper.hxx> #include <xmloff/xmlictxt.hxx> @@ -75,6 +74,4 @@ private: void SetAxisTitle(); }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLAXISCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLCalculationSettingsContext.hxx b/xmloff/source/chart/SchXMLCalculationSettingsContext.hxx index 559358c0afbe..b10f1545d4e9 100644 --- a/xmloff/source/chart/SchXMLCalculationSettingsContext.hxx +++ b/xmloff/source/chart/SchXMLCalculationSettingsContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLCALCULATIONSETTINGSCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLCALCULATIONSETTINGSCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> @@ -37,6 +36,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLChartContext.hxx b/xmloff/source/chart/SchXMLChartContext.hxx index a40465394df0..53402168b36d 100644 --- a/xmloff/source/chart/SchXMLChartContext.hxx +++ b/xmloff/source/chart/SchXMLChartContext.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_XMLOFF_SOURCE_CHART_SCHXMLCHARTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLCHARTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/drawing/XShape.hpp> @@ -146,6 +145,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLCHARTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLEnumConverter.hxx b/xmloff/source/chart/SchXMLEnumConverter.hxx index b17e560fe0db..a61a611b0a39 100644 --- a/xmloff/source/chart/SchXMLEnumConverter.hxx +++ b/xmloff/source/chart/SchXMLEnumConverter.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_XMLOFF_SOURCE_CHART_SCHXMLENUMCONVERTER_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLENUMCONVERTER_HXX +#pragma once #include <xmloff/EnumPropertyHdl.hxx> @@ -28,6 +27,4 @@ public: static XMLEnumPropertyHdl& getLegendExpansionConverter(); //returns a singleton }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLENUMCONVERTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLLegendContext.hxx b/xmloff/source/chart/SchXMLLegendContext.hxx index 40b9bff04c34..9477e45b77cc 100644 --- a/xmloff/source/chart/SchXMLLegendContext.hxx +++ b/xmloff/source/chart/SchXMLLegendContext.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_XMLOFF_SOURCE_CHART_SCHXMLLEGENDCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLLEGENDCONTEXT_HXX +#pragma once #include <com/sun/star/xml/sax/XAttributeList.hpp> @@ -37,6 +36,4 @@ private: SchXMLImportHelper& mrImportHelper; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLLEGENDCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLParagraphContext.hxx b/xmloff/source/chart/SchXMLParagraphContext.hxx index 9ae5d5a42264..65e90522e860 100644 --- a/xmloff/source/chart/SchXMLParagraphContext.hxx +++ b/xmloff/source/chart/SchXMLParagraphContext.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_XMLOFF_SOURCE_CHART_SCHXMLPARAGRAPHCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPARAGRAPHCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <rtl/ustring.hxx> @@ -51,6 +50,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPARAGRAPHCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx index 137bbb45d6e8..f0c2c2982a46 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.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_XMLOFF_SOURCE_CHART_SCHXMLPLOTAREACONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPLOTAREACONTEXT_HXX +#pragma once #include "SchXMLChartContext.hxx" #include <rtl/ustrbuf.hxx> @@ -303,6 +302,4 @@ private: tSchXMLLSequencesPerIndex& mrLSequencesPerIndex; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPLOTAREACONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLPropertyMappingContext.hxx b/xmloff/source/chart/SchXMLPropertyMappingContext.hxx index 41154d344d4c..1696a32f36a0 100644 --- a/xmloff/source/chart/SchXMLPropertyMappingContext.hxx +++ b/xmloff/source/chart/SchXMLPropertyMappingContext.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPROPERTYMAPPINGCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPROPERTYMAPPINGCONTEXT_HXX +#pragma once #include "transporttypes.hxx" #include <xmloff/xmlictxt.hxx> @@ -43,6 +42,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.hxx b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.hxx index f9e815eb9cb8..13b796cd24e0 100644 --- a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.hxx +++ b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.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_XMLOFF_SOURCE_CHART_SCHXMLREGRESSIONCURVEOBJECTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLREGRESSIONCURVEOBJECTCONTEXT_HXX +#pragma once #include <com/sun/star/awt/Size.hpp> #include <xmloff/xmlictxt.hxx> @@ -72,6 +71,4 @@ private: css::awt::Size maChartSize; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLREGRESSIONCURVEOBJECTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLSeries2Context.hxx b/xmloff/source/chart/SchXMLSeries2Context.hxx index 6b863bd39a53..4996ecf8bc8e 100644 --- a/xmloff/source/chart/SchXMLSeries2Context.hxx +++ b/xmloff/source/chart/SchXMLSeries2Context.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_XMLOFF_SOURCE_CHART_SCHXMLSERIES2CONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLSERIES2CONTEXT_HXX +#pragma once #include "transporttypes.hxx" #include "SchXMLChartContext.hxx" @@ -130,6 +129,5 @@ public: }; // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLSERIES2CONTEXT_HXX -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLTableContext.hxx b/xmloff/source/chart/SchXMLTableContext.hxx index ed231db352ca..cd8a6443b177 100644 --- a/xmloff/source/chart/SchXMLTableContext.hxx +++ b/xmloff/source/chart/SchXMLTableContext.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_XMLOFF_SOURCE_CHART_SCHXMLTABLECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLTABLECONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <xmloff/SchXMLImportHelper.hxx> @@ -170,6 +169,4 @@ public: virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLTABLECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLTextListContext.hxx b/xmloff/source/chart/SchXMLTextListContext.hxx index 068bfd95beb7..32d9bd3e3786 100644 --- a/xmloff/source/chart/SchXMLTextListContext.hxx +++ b/xmloff/source/chart/SchXMLTextListContext.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_XMLOFF_SOURCE_CHART_SCHXMLTEXTLISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLTEXTLISTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <rtl/ustring.hxx> @@ -44,6 +43,4 @@ private: std::vector< OUString> m_aTextVector; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLTEXTLISTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/SchXMLTools.hxx b/xmloff/source/chart/SchXMLTools.hxx index 6097707b7f78..885e57aef7bf 100644 --- a/xmloff/source/chart/SchXMLTools.hxx +++ b/xmloff/source/chart/SchXMLTools.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_XMLOFF_SOURCE_CHART_SCHXMLTOOLS_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLTOOLS_HXX +#pragma once #include <rtl/ustring.hxx> #include <xmloff/xmltoken.hxx> @@ -134,6 +133,4 @@ namespace SchXMLTools const css::uno::Reference< css::beans::XPropertySet > & xDestination ); } -#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLTOOLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx b/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx index 485b7a89c379..dd779c11dadc 100644 --- a/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx +++ b/xmloff/source/chart/XMLAxisPositionPropertyHdl.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_XMLOFF_SOURCE_CHART_XMLAXISPOSITIONPROPERTYHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_XMLAXISPOSITIONPROPERTYHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ private: bool m_bCrossingValue; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLAXISPOSITIONPROPERTYHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/XMLChartPropertyContext.hxx b/xmloff/source/chart/XMLChartPropertyContext.hxx index 7bbd55ed5b1c..d0fa489d390f 100644 --- a/xmloff/source/chart/XMLChartPropertyContext.hxx +++ b/xmloff/source/chart/XMLChartPropertyContext.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_XMLOFF_SOURCE_CHART_XMLCHARTPROPERTYCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_XMLCHARTPROPERTYCONTEXT_HXX +#pragma once #include <xmloff/xmlprcon.hxx> @@ -42,6 +41,4 @@ public: private: }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLCHARTPROPERTYCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/XMLErrorBarStylePropertyHdl.hxx b/xmloff/source/chart/XMLErrorBarStylePropertyHdl.hxx index 57530f638963..2a006f0e3492 100644 --- a/xmloff/source/chart/XMLErrorBarStylePropertyHdl.hxx +++ b/xmloff/source/chart/XMLErrorBarStylePropertyHdl.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_XMLOFF_SOURCE_CHART_XMLERRORBARSTYLEPROPERTYHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_XMLERRORBARSTYLEPROPERTYHDL_HXX +#pragma once #include <xmloff/EnumPropertyHdl.hxx> @@ -31,6 +30,4 @@ public: const SvXMLUnitConverter& rUnitConverter) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLERRORBARSTYLEPROPERTYHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx index 6e4de8706283..d33e6641307b 100644 --- a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx +++ b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.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_XMLOFF_SOURCE_CHART_XMLERRORINDICATORPROPERTYHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_XMLERRORINDICATORPROPERTYHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -35,6 +34,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLERRORINDICATORPROPERTYHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/XMLLabelSeparatorContext.hxx b/xmloff/source/chart/XMLLabelSeparatorContext.hxx index d7d8928c82f1..83e69f01a2ec 100644 --- a/xmloff/source/chart/XMLLabelSeparatorContext.hxx +++ b/xmloff/source/chart/XMLLabelSeparatorContext.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_XMLOFF_SOURCE_CHART_XMLLABELSEPARATORCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_XMLLABELSEPARATORCONTEXT_HXX +#pragma once #include <XMLElementPropertyContext.hxx> @@ -38,6 +37,4 @@ private: OUString m_aSeparator; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLLABELSEPARATORCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/XMLSymbolImageContext.hxx b/xmloff/source/chart/XMLSymbolImageContext.hxx index 9cdc270360c6..a4796775cd81 100644 --- a/xmloff/source/chart/XMLSymbolImageContext.hxx +++ b/xmloff/source/chart/XMLSymbolImageContext.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_XMLOFF_SOURCE_CHART_XMLSYMBOLIMAGECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_XMLSYMBOLIMAGECONTEXT_HXX +#pragma once #include <XMLElementPropertyContext.hxx> @@ -46,6 +45,4 @@ private: css::uno::Reference < css::io::XOutputStream > mxBase64Stream; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLSYMBOLIMAGECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx b/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx index 475463a5943b..78d2be6862bb 100644 --- a/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx +++ b/xmloff/source/chart/XMLSymbolTypePropertyHdl.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_XMLOFF_SOURCE_CHART_XMLSYMBOLTYPEPROPERTYHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_XMLSYMBOLTYPEPROPERTYHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ private: bool m_bIsNamedSymbol; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLSYMBOLTYPEPROPERTYHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/XMLTextOrientationHdl.hxx b/xmloff/source/chart/XMLTextOrientationHdl.hxx index 2a2cd95f91fa..e84dcb90984c 100644 --- a/xmloff/source/chart/XMLTextOrientationHdl.hxx +++ b/xmloff/source/chart/XMLTextOrientationHdl.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_XMLOFF_SOURCE_CHART_XMLTEXTORIENTATIONHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_XMLTEXTORIENTATIONHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -35,6 +34,4 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLTEXTORIENTATIONHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/contexts.hxx b/xmloff/source/chart/contexts.hxx index 342066135e2b..4a710bcc55df 100644 --- a/xmloff/source/chart/contexts.hxx +++ b/xmloff/source/chart/contexts.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_XMLOFF_SOURCE_CHART_CONTEXTS_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_CONTEXTS_HXX +#pragma once #include <SchXMLImport.hxx> #include <xmloff/xmlictxt.hxx> @@ -83,6 +82,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_CONTEXTS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/chart/transporttypes.hxx b/xmloff/source/chart/transporttypes.hxx index 28527c6c06f8..7393a7b34848 100644 --- a/xmloff/source/chart/transporttypes.hxx +++ b/xmloff/source/chart/transporttypes.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_XMLOFF_SOURCE_CHART_TRANSPORTTYPES_HXX -#define INCLUDED_XMLOFF_SOURCE_CHART_TRANSPORTTYPES_HXX +#pragma once #include <com/sun/star/chart2/XDataSeries.hpp> #include <com/sun/star/chart2/data/XLabeledDataSequence.hpp> @@ -211,6 +210,4 @@ struct DataRowPointStyle typedef ::std::multimap< OUString, css::uno::Reference< css::chart2::data::XDataSequence > > tSchXMLRangeSequenceMap; -#endif // INCLUDED_XMLOFF_SOURCE_CHART_TRANSPORTTYPES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/core/SvXMLAttr.hxx b/xmloff/source/core/SvXMLAttr.hxx index 354b67497cd8..bdfc279835e0 100644 --- a/xmloff/source/core/SvXMLAttr.hxx +++ b/xmloff/source/core/SvXMLAttr.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTR_HXX -#define INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTR_HXX +#pragma once #include <rtl/ustring.hxx> @@ -32,6 +31,4 @@ public: const OUString& getValue() const { return aValue;} }; -#endif // INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/core/SvXMLAttrCollection.hxx b/xmloff/source/core/SvXMLAttrCollection.hxx index 6c051edcf9eb..a99b149650a7 100644 --- a/xmloff/source/core/SvXMLAttrCollection.hxx +++ b/xmloff/source/core/SvXMLAttrCollection.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTRCOLLECTION_HXX -#define INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTRCOLLECTION_HXX +#pragma once #include "SvXMLAttr.hxx" @@ -63,7 +62,5 @@ private: sal_uInt16 GetPrefixPos( size_t i ) const; }; -#endif // INCLUDED_XMLOFF_SOURCE_CORE_SVXMLATTRCOLLECTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/core/xmlenums.hxx b/xmloff/source/core/xmlenums.hxx index 18b0f9a4a31b..b331dd1ae138 100644 --- a/xmloff/source/core/xmlenums.hxx +++ b/xmloff/source/core/xmlenums.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_CORE_XMLENUMS_HXX -#define INCLUDED_XMLOFF_SOURCE_CORE_XMLENUMS_HXX +#pragma once enum XMLForbiddenCharactersEnum { @@ -44,6 +43,5 @@ enum XMLSymbolDescriptorsEnum XML_SYMBOL_DESCRIPTOR_ITALIC, XML_SYMBOL_DESCRIPTOR_MAX }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/SignatureLineContext.hxx b/xmloff/source/draw/SignatureLineContext.hxx index cabefaafd954..68a9373ae799 100644 --- a/xmloff/source/draw/SignatureLineContext.hxx +++ b/xmloff/source/draw/SignatureLineContext.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_SIGNATURELINECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_SIGNATURELINECONTEXT_HXX +#pragma once #include <com/sun/star/drawing/XShape.hpp> #include <xmloff/xmlictxt.hxx> @@ -23,6 +22,4 @@ public: const css::uno::Reference<css::drawing::XShape>& rxShape); }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_SIGNATURELINECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/xmloff/source/draw/XMLNumberStylesExport.hxx b/xmloff/source/draw/XMLNumberStylesExport.hxx index 6e196775e98b..8b4f39dc5a2e 100644 --- a/xmloff/source/draw/XMLNumberStylesExport.hxx +++ b/xmloff/source/draw/XMLNumberStylesExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XMLNUMBERSTYLESEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XMLNUMBERSTYLESEXPORT_HXX +#pragma once #include <sal/types.h> #include <rtl/ustring.hxx> @@ -38,6 +37,4 @@ public: static OUString getDateStyleName(const sal_Int32 nDateFormat); }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XMLNUMBERSTYLESEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/descriptionimp.hxx b/xmloff/source/draw/descriptionimp.hxx index 57a1fa2b7c81..cc94507727bd 100644 --- a/xmloff/source/draw/descriptionimp.hxx +++ b/xmloff/source/draw/descriptionimp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_DESCRIPTIONIMP_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_DESCRIPTIONIMP_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/drawing/XShape.hpp> @@ -44,6 +43,4 @@ public: virtual void SAL_CALL characters( const OUString& rChars ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_DESCRIPTIONIMP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/eventimp.hxx b/xmloff/source/draw/eventimp.hxx index 2f66b7865dcb..bb14aea5ed8a 100644 --- a/xmloff/source/draw/eventimp.hxx +++ b/xmloff/source/draw/eventimp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_EVENTIMP_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_EVENTIMP_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/drawing/XShape.hpp> @@ -66,6 +65,4 @@ struct SdXMLEventContextData OUString msLanguage; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_EVENTIMP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/layerexp.hxx b/xmloff/source/draw/layerexp.hxx index 90c905879091..76c04e157035 100644 --- a/xmloff/source/draw/layerexp.hxx +++ b/xmloff/source/draw/layerexp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_LAYEREXP_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_LAYEREXP_HXX +#pragma once class SvXMLExport; @@ -28,6 +27,4 @@ public: static void exportLayer(SvXMLExport& rExport); }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_LAYEREXP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/layerimp.hxx b/xmloff/source/draw/layerimp.hxx index 1f31916e5325..4d3b899419fd 100644 --- a/xmloff/source/draw/layerimp.hxx +++ b/xmloff/source/draw/layerimp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_LAYERIMP_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_LAYERIMP_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/container/XNameAccess.hpp> @@ -39,6 +38,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_LAYERIMP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/numithdl.hxx b/xmloff/source/draw/numithdl.hxx index 3decd01f471b..91db9c17e948 100644 --- a/xmloff/source/draw/numithdl.hxx +++ b/xmloff/source/draw/numithdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_NUMITHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_NUMITHDL_HXX +#pragma once #include <com/sun/star/ucb/XAnyCompare.hpp> #include <xmloff/xmlprhdl.hxx> @@ -41,6 +40,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_NUMITHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/sdpropls.hxx b/xmloff/source/draw/sdpropls.hxx index 0b47d5e6743f..c73de5d61904 100644 --- a/xmloff/source/draw/sdpropls.hxx +++ b/xmloff/source/draw/sdpropls.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_SDPROPLS_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_SDPROPLS_HXX +#pragma once #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/drawing/ConnectorType.hpp> @@ -129,6 +128,4 @@ public: ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_SDPROPLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/sdxmlexp_impl.hxx b/xmloff/source/draw/sdxmlexp_impl.hxx index c350bf701e5a..799767f990b1 100644 --- a/xmloff/source/draw/sdxmlexp_impl.hxx +++ b/xmloff/source/draw/sdxmlexp_impl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_SDXMLEXP_IMPL_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_SDXMLEXP_IMPL_HXX +#pragma once #include <xmloff/xmlexp.hxx> @@ -176,6 +175,4 @@ public: virtual OUString getDataStyleName(const sal_Int32 nNumberFormat, bool bTimeFormat = false ) const override; }; -#endif // _SDXMLEXP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx index b033a6bb913c..924f46a5e80e 100644 --- a/xmloff/source/draw/sdxmlimp_impl.hxx +++ b/xmloff/source/draw/sdxmlimp_impl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_SDXMLIMP_IMPL_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_SDXMLIMP_IMPL_HXX +#pragma once #include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> @@ -133,6 +132,4 @@ public: virtual void NotifyContainsEmbeddedFont() override; }; -#endif // _SDXMLIMP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximp3dobject.hxx b/xmloff/source/draw/ximp3dobject.hxx index 7bbab86f7ea0..2862d094db40 100644 --- a/xmloff/source/draw/ximp3dobject.hxx +++ b/xmloff/source/draw/ximp3dobject.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMP3DOBJECT_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMP3DOBJECT_HXX +#pragma once #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/drawing/HomogenMatrix.hpp> @@ -134,6 +133,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMP3DOBJECT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximp3dscene.hxx b/xmloff/source/draw/ximp3dscene.hxx index 42905689fffb..b0155591e3e9 100644 --- a/xmloff/source/draw/ximp3dscene.hxx +++ b/xmloff/source/draw/ximp3dscene.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMP3DSCENE_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMP3DSCENE_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/drawing/XShapes.hpp> @@ -50,6 +49,4 @@ public: virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMP3DSCENE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximpbody.hxx b/xmloff/source/draw/ximpbody.hxx index c16d875eca7e..95d411385c39 100644 --- a/xmloff/source/draw/ximpbody.hxx +++ b/xmloff/source/draw/ximpbody.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPBODY_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPBODY_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include "sdxmlimp_impl.hxx" @@ -57,6 +56,4 @@ public: sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPBODY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximpcustomshape.hxx b/xmloff/source/draw/ximpcustomshape.hxx index f06d01c0cddb..f7e14765a1e2 100644 --- a/xmloff/source/draw/ximpcustomshape.hxx +++ b/xmloff/source/draw/ximpcustomshape.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPCUSTOMSHAPE_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPCUSTOMSHAPE_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <xmloff/xmluconv.hxx> @@ -64,6 +63,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximpgrp.hxx b/xmloff/source/draw/ximpgrp.hxx index 3bab50490c0b..8dda1b9ba15f 100644 --- a/xmloff/source/draw/ximpgrp.hxx +++ b/xmloff/source/draw/ximpgrp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPGRP_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPGRP_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/drawing/XShapes.hpp> @@ -47,6 +46,4 @@ public: sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPGRP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximplink.hxx b/xmloff/source/draw/ximplink.hxx index 274365fb5a90..cd5259154361 100644 --- a/xmloff/source/draw/ximplink.hxx +++ b/xmloff/source/draw/ximplink.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPLINK_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPLINK_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <xmloff/shapeimport.hxx> @@ -45,6 +44,4 @@ public: sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPLINK_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximpnote.hxx b/xmloff/source/draw/ximpnote.hxx index c86a39954aba..d7fe276b84eb 100644 --- a/xmloff/source/draw/ximpnote.hxx +++ b/xmloff/source/draw/ximpnote.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPNOTE_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPNOTE_HXX +#pragma once #include "sdxmlimp_impl.hxx" #include "ximppage.hxx" @@ -34,6 +33,4 @@ public: virtual ~SdXMLNotesContext() override; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPNOTE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximppage.hxx b/xmloff/source/draw/ximppage.hxx index 2bde07d12a18..5303458dd112 100644 --- a/xmloff/source/draw/ximppage.hxx +++ b/xmloff/source/draw/ximppage.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPPAGE_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPPAGE_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include "sdxmlimp_impl.hxx" @@ -75,6 +74,4 @@ public: { return mxShapes; } }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx index 82ab690f56af..202de49d7bc9 100644 --- a/xmloff/source/draw/ximpshap.hxx +++ b/xmloff/source/draw/ximpshap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSHAP_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSHAP_HXX +#pragma once #include <com/sun/star/io/XOutputStream.hpp> #include <com/sun/star/document/XActionLockable.hpp> @@ -636,6 +635,4 @@ private: extern SvXMLEnumMapEntry<css::drawing::Alignment> const aXML_GlueAlignment_EnumMap[]; extern SvXMLEnumMapEntry<css::drawing::EscapeDirection> const aXML_GlueEscapeDirection_EnumMap[]; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSHAP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximpshow.hxx b/xmloff/source/draw/ximpshow.hxx index b508b3005c25..33948c3a644c 100644 --- a/xmloff/source/draw/ximpshow.hxx +++ b/xmloff/source/draw/ximpshow.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSHOW_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSHOW_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include "sdxmlimp_impl.hxx" @@ -47,6 +46,4 @@ private: OUString maCustomShowName; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSHOW_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximpstyl.hxx b/xmloff/source/draw/ximpstyl.hxx index cebb2f93c3bf..00f032e4cb44 100644 --- a/xmloff/source/draw/ximpstyl.hxx +++ b/xmloff/source/draw/ximpstyl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSTYL_HXX -#define INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSTYL_HXX +#pragma once #include <svl/zforlist.hxx> #include <xmloff/xmlictxt.hxx> @@ -245,6 +244,4 @@ private: bool mbFixed; }; -#endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPSTYL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/callbacks.hxx b/xmloff/source/forms/callbacks.hxx index 99b8840e8904..0134152b8fb5 100644 --- a/xmloff/source/forms/callbacks.hxx +++ b/xmloff/source/forms/callbacks.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_CALLBACKS_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_CALLBACKS_HXX +#pragma once #include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -77,6 +76,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_CALLBACKS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/controlelement.hxx b/xmloff/source/forms/controlelement.hxx index d384d9f048f7..df7f12a4326c 100644 --- a/xmloff/source/forms/controlelement.hxx +++ b/xmloff/source/forms/controlelement.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLELEMENT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLELEMENT_HXX +#pragma once #include <sal/types.h> @@ -86,6 +85,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLELEMENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/controlpropertymap.hxx b/xmloff/source/forms/controlpropertymap.hxx index c1dc58183da0..ff575c13797a 100644 --- a/xmloff/source/forms/controlpropertymap.hxx +++ b/xmloff/source/forms/controlpropertymap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLPROPERTYMAP_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLPROPERTYMAP_HXX +#pragma once #include <xmloff/xmlprmap.hxx> #include <xmloff/xmlexppr.hxx> @@ -49,6 +48,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLPROPERTYMAP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/elementexport.hxx b/xmloff/source/forms/elementexport.hxx index 92c5a70f61e5..deb9cfea6b35 100644 --- a/xmloff/source/forms/elementexport.hxx +++ b/xmloff/source/forms/elementexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTEXPORT_HXX +#pragma once #include <sal/config.h> @@ -309,6 +308,4 @@ namespace xmloff }; } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx index a3f9d6de4359..bb03da03150a 100644 --- a/xmloff/source/forms/elementimport.hxx +++ b/xmloff/source/forms/elementimport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTIMPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTIMPORT_HXX +#pragma once #include <sal/config.h> @@ -673,6 +672,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTIMPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/eventexport.hxx b/xmloff/source/forms/eventexport.hxx index 5004d7af43c8..c4bb752c4562 100644 --- a/xmloff/source/forms/eventexport.hxx +++ b/xmloff/source/forms/eventexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_EVENTEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_EVENTEXPORT_HXX +#pragma once #include <sal/config.h> @@ -69,6 +68,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_EVENTEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/eventimport.hxx b/xmloff/source/forms/eventimport.hxx index 2028a1ce8182..6e3f686dfd5f 100644 --- a/xmloff/source/forms/eventimport.hxx +++ b/xmloff/source/forms/eventimport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_EVENTIMPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_EVENTIMPORT_HXX +#pragma once #include <sal/config.h> @@ -75,6 +74,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_EVENTIMPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/formattributes.hxx b/xmloff/source/forms/formattributes.hxx index 041316c69927..19a71132f0aa 100644 --- a/xmloff/source/forms/formattributes.hxx +++ b/xmloff/source/forms/formattributes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX +#pragma once #include <sal/config.h> @@ -412,6 +411,4 @@ namespace xmloff }; } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/formcellbinding.hxx b/xmloff/source/forms/formcellbinding.hxx index c59da3917e6f..a054131817b3 100644 --- a/xmloff/source/forms/formcellbinding.hxx +++ b/xmloff/source/forms/formcellbinding.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMCELLBINDING_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_FORMCELLBINDING_HXX +#pragma once #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/sheet/XSpreadsheetDocument.hpp> @@ -258,6 +257,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMCELLBINDING_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/formenums.hxx b/xmloff/source/forms/formenums.hxx index a1860b75137c..d0d20ff8dd8f 100644 --- a/xmloff/source/forms/formenums.hxx +++ b/xmloff/source/forms/formenums.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMENUMS_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_FORMENUMS_HXX +#pragma once #include <xmloff/xmlement.hxx> #include <com/sun/star/form/FormButtonType.hpp> @@ -52,6 +51,4 @@ extern const SvXMLEnumMapEntry<sal_uInt16> aScaleModeMap[]; } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMENUMS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/formevents.hxx b/xmloff/source/forms/formevents.hxx index 18d02448ec8c..7077f7522f1a 100644 --- a/xmloff/source/forms/formevents.hxx +++ b/xmloff/source/forms/formevents.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMEVENTS_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_FORMEVENTS_HXX +#pragma once struct XMLEventNameTranslation; namespace xmloff @@ -28,6 +27,4 @@ extern const XMLEventNameTranslation* g_pFormsEventTranslation; } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMEVENTS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/gridcolumnproptranslator.hxx b/xmloff/source/forms/gridcolumnproptranslator.hxx index d8e0c17509a8..9a49cd9c3dea 100644 --- a/xmloff/source/forms/gridcolumnproptranslator.hxx +++ b/xmloff/source/forms/gridcolumnproptranslator.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_GRIDCOLUMNPROPTRANSLATOR_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_GRIDCOLUMNPROPTRANSLATOR_HXX +#pragma once #include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -64,6 +63,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_GRIDCOLUMNPROPTRANSLATOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/handler/vcl_date_handler.hxx b/xmloff/source/forms/handler/vcl_date_handler.hxx index b67aa94bad57..626ca4c7778a 100644 --- a/xmloff/source/forms/handler/vcl_date_handler.hxx +++ b/xmloff/source/forms/handler/vcl_date_handler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_DATE_HANDLER_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_DATE_HANDLER_HXX +#pragma once #include <forms/property_handler.hxx> @@ -38,6 +37,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_DATE_HANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/handler/vcl_time_handler.hxx b/xmloff/source/forms/handler/vcl_time_handler.hxx index d445d3599a87..a5b3b14a9af6 100644 --- a/xmloff/source/forms/handler/vcl_time_handler.hxx +++ b/xmloff/source/forms/handler/vcl_time_handler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_TIME_HANDLER_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_TIME_HANDLER_HXX +#pragma once #include <forms/property_handler.hxx> @@ -38,6 +37,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_TIME_HANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx index 516d9934a063..3fabafb57b5a 100644 --- a/xmloff/source/forms/layerexport.hxx +++ b/xmloff/source/forms/layerexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_LAYEREXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_LAYEREXPORT_HXX +#pragma once #include <sal/config.h> @@ -298,6 +297,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_LAYEREXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx index 91bf05ad66f2..448076ec8b4f 100644 --- a/xmloff/source/forms/layerimport.hxx +++ b/xmloff/source/forms/layerimport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_LAYERIMPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_LAYERIMPORT_HXX +#pragma once #include <sal/config.h> @@ -172,6 +171,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_LAYERIMPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/logging.hxx b/xmloff/source/forms/logging.hxx index bb5e6b9c1a2c..501b6c14e680 100644 --- a/xmloff/source/forms/logging.hxx +++ b/xmloff/source/forms/logging.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_LOGGING_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_LOGGING_HXX +#pragma once #include <sal/types.h> #include <stack> @@ -57,6 +56,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_LOGGING_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/officeforms.hxx b/xmloff/source/forms/officeforms.hxx index 29b7bb0b3da9..56694835c28e 100644 --- a/xmloff/source/forms/officeforms.hxx +++ b/xmloff/source/forms/officeforms.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_OFFICEFORMS_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_OFFICEFORMS_HXX +#pragma once #include <com/sun/star/beans/XPropertySet.hpp> @@ -90,6 +89,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_OFFICEFORMS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/property_description.hxx b/xmloff/source/forms/property_description.hxx index df86e4e32528..53adb3bf93b2 100644 --- a/xmloff/source/forms/property_description.hxx +++ b/xmloff/source/forms/property_description.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_DESCRIPTION_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_DESCRIPTION_HXX +#pragma once #include <forms/property_handler.hxx> #include <xmloff/xmltoken.hxx> @@ -101,6 +100,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_DESCRIPTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/property_meta_data.hxx b/xmloff/source/forms/property_meta_data.hxx index 71236d33d948..0d012fbc2389 100644 --- a/xmloff/source/forms/property_meta_data.hxx +++ b/xmloff/source/forms/property_meta_data.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_META_DATA_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_META_DATA_HXX +#pragma once #include "property_description.hxx" @@ -40,6 +39,4 @@ namespace xmloff::metadata } // namespace xmloff::metadata -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_META_DATA_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/propertyexport.hxx b/xmloff/source/forms/propertyexport.hxx index 2a9a6d7e08d8..6a972fefe818 100644 --- a/xmloff/source/forms/propertyexport.hxx +++ b/xmloff/source/forms/propertyexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYEXPORT_HXX +#pragma once #include <sal/config.h> @@ -414,6 +413,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/propertyimport.hxx b/xmloff/source/forms/propertyimport.hxx index d39ab66a1631..b4b660d5b22b 100644 --- a/xmloff/source/forms/propertyimport.hxx +++ b/xmloff/source/forms/propertyimport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYIMPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYIMPORT_HXX +#pragma once #include <sal/config.h> @@ -224,6 +223,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYIMPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/strings.hxx b/xmloff/source/forms/strings.hxx index 695ffa777ccf..fbf400787f0b 100644 --- a/xmloff/source/forms/strings.hxx +++ b/xmloff/source/forms/strings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_STRINGS_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_STRINGS_HXX +#pragma once namespace xmloff { @@ -205,6 +204,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_STRINGS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/valueproperties.hxx b/xmloff/source/forms/valueproperties.hxx index 7098cebbec32..b22b57bb0312 100644 --- a/xmloff/source/forms/valueproperties.hxx +++ b/xmloff/source/forms/valueproperties.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_VALUEPROPERTIES_HXX -#define INCLUDED_XMLOFF_SOURCE_FORMS_VALUEPROPERTIES_HXX +#pragma once #include "controlelement.hxx" @@ -65,6 +64,4 @@ namespace xmloff } // namespace xmloff -#endif // INCLUDED_XMLOFF_SOURCE_FORMS_VALUEPROPERTIES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/DrawAspectHdl.hxx b/xmloff/source/style/DrawAspectHdl.hxx index 82db69d51926..0eb1fae15dd7 100644 --- a/xmloff/source/style/DrawAspectHdl.hxx +++ b/xmloff/source/style/DrawAspectHdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_DRAWASPECTHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_DRAWASPECTHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_DRAWASPECTHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/FillStyleContext.hxx b/xmloff/source/style/FillStyleContext.hxx index aac0b8b31b15..3b17c29c8239 100644 --- a/xmloff/source/style/FillStyleContext.hxx +++ b/xmloff/source/style/FillStyleContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_FILLSTYLECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_FILLSTYLECONTEXT_HXX +#pragma once #include <com/sun/star/io/XOutputStream.hpp> #include <xmloff/xmlstyle.hxx> @@ -142,6 +141,4 @@ public: virtual bool IsTransient() const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_FILLSTYLECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/PageHeaderFooterContext.hxx b/xmloff/source/style/PageHeaderFooterContext.hxx index c767f609c47b..a96a8a393b5c 100644 --- a/xmloff/source/style/PageHeaderFooterContext.hxx +++ b/xmloff/source/style/PageHeaderFooterContext.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_XMLOFF_SOURCE_STYLE_PAGEHEADERFOOTERCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_PAGEHEADERFOOTERCONTEXT_HXX +#pragma once #include <xmloff/xmlimp.hxx> #include <xmloff/maptype.hxx> @@ -45,7 +44,5 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/PageMasterExportPropMapper.hxx b/xmloff/source/style/PageMasterExportPropMapper.hxx index 7ca903e02d10..b66af4be262f 100644 --- a/xmloff/source/style/PageMasterExportPropMapper.hxx +++ b/xmloff/source/style/PageMasterExportPropMapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTEREXPORTPROPMAPPER_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTEREXPORTPROPMAPPER_HXX +#pragma once #include <xmloff/xmlexppr.hxx> #include <XMLBackgroundImageExport.hxx> @@ -61,6 +60,4 @@ public: ) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/PageMasterImportPropMapper.hxx b/xmloff/source/style/PageMasterImportPropMapper.hxx index 5c1d1ec97fbd..1493ffd6b96e 100644 --- a/xmloff/source/style/PageMasterImportPropMapper.hxx +++ b/xmloff/source/style/PageMasterImportPropMapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERIMPORTPROPMAPPER_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERIMPORTPROPMAPPER_HXX +#pragma once #include <xmloff/xmlimppr.hxx> @@ -51,6 +50,4 @@ public: sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/PageMasterPropHdl.hxx b/xmloff/source/style/PageMasterPropHdl.hxx index 603154d4e9c9..2cfd39aff29a 100644 --- a/xmloff/source/style/PageMasterPropHdl.hxx +++ b/xmloff/source/style/PageMasterPropHdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERPROPHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERPROPHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> #include <rtl/ustring.hxx> @@ -156,6 +155,4 @@ public: ) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/PagePropertySetContext.hxx b/xmloff/source/style/PagePropertySetContext.hxx index 8d8cb9a2c67c..2429dc1947ad 100644 --- a/xmloff/source/style/PagePropertySetContext.hxx +++ b/xmloff/source/style/PagePropertySetContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_PAGEPROPERTYSETCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_PAGEPROPERTYSETCONTEXT_HXX +#pragma once #include <xmloff/xmlprcon.hxx> @@ -52,6 +51,4 @@ public: const XMLPropertyState& rProp ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_PAGEPROPERTYSETCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/XMLFontStylesContext_impl.hxx b/xmloff/source/style/XMLFontStylesContext_impl.hxx index 2c76ecc6955b..b86bedbd1203 100644 --- a/xmloff/source/style/XMLFontStylesContext_impl.hxx +++ b/xmloff/source/style/XMLFontStylesContext_impl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_XMLFONTSTYLESCONTEXT_IMPL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_XMLFONTSTYLESCONTEXT_IMPL_HXX +#pragma once #include <xmloff/xmlstyle.hxx> @@ -120,6 +119,4 @@ public: const OUString& rValue ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/XMLFootnoteSeparatorExport.hxx b/xmloff/source/style/XMLFootnoteSeparatorExport.hxx index 15623aae516e..c4f500f161be 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorExport.hxx +++ b/xmloff/source/style/XMLFootnoteSeparatorExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_XMLFOOTNOTESEPARATOREXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_XMLFOOTNOTESEPARATOREXPORT_HXX +#pragma once #include <sal/types.h> #include <vector> @@ -50,6 +49,4 @@ public: const rtl::Reference<XMLPropertySetMapper> & rMapper); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/XMLFootnoteSeparatorImport.hxx b/xmloff/source/style/XMLFootnoteSeparatorImport.hxx index 30772b019fed..be0289f80503 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorImport.hxx +++ b/xmloff/source/style/XMLFootnoteSeparatorImport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_XMLFOOTNOTESEPARATORIMPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_XMLFOOTNOTESEPARATORIMPORT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <rtl/ref.hxx> @@ -59,6 +58,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/adjushdl.hxx b/xmloff/source/style/adjushdl.hxx index f878bd103ccb..5de0551639ce 100644 --- a/xmloff/source/style/adjushdl.hxx +++ b/xmloff/source/style/adjushdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_ADJUSHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_ADJUSHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -46,6 +45,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_ADJUSHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/backhdl.hxx b/xmloff/source/style/backhdl.hxx index a07235525b9d..0392909df9e5 100644 --- a/xmloff/source/style/backhdl.hxx +++ b/xmloff/source/style/backhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_BACKHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_BACKHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> #include <com/sun/star/style/GraphicLocation.hpp> @@ -41,6 +40,4 @@ private: static void MergeXMLVertPos( css::style::GraphicLocation& ePos, css::style::GraphicLocation eVert ); }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_BACKHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/bordrhdl.hxx b/xmloff/source/style/bordrhdl.hxx index 8ce4ae180093..3741fc3a78ba 100644 --- a/xmloff/source/style/bordrhdl.hxx +++ b/xmloff/source/style/bordrhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_BORDRHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_BORDRHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -43,6 +42,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_BORDRHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/breakhdl.hxx b/xmloff/source/style/breakhdl.hxx index 3954cbc2aba4..c38e33ba6b76 100644 --- a/xmloff/source/style/breakhdl.hxx +++ b/xmloff/source/style/breakhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_BREAKHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_BREAKHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -46,6 +45,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_BREAKHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/cdouthdl.hxx b/xmloff/source/style/cdouthdl.hxx index be7aba6a6638..70f9ddbbadfd 100644 --- a/xmloff/source/style/cdouthdl.hxx +++ b/xmloff/source/style/cdouthdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_CDOUTHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_CDOUTHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -61,6 +60,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_CDOUTHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/chrhghdl.hxx b/xmloff/source/style/chrhghdl.hxx index 3961ba43be59..392ffab6f395 100644 --- a/xmloff/source/style/chrhghdl.hxx +++ b/xmloff/source/style/chrhghdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_CHRHGHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_CHRHGHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -52,6 +51,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_CHRHGHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/chrlohdl.hxx b/xmloff/source/style/chrlohdl.hxx index 5b350dd281ae..a6e710b26f7f 100644 --- a/xmloff/source/style/chrlohdl.hxx +++ b/xmloff/source/style/chrlohdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_CHRLOHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_CHRLOHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -69,6 +68,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_CHRLOHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/csmaphdl.hxx b/xmloff/source/style/csmaphdl.hxx index f7dd51d2c0e2..1d80d676ae4e 100644 --- a/xmloff/source/style/csmaphdl.hxx +++ b/xmloff/source/style/csmaphdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_CSMAPHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_CSMAPHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -43,6 +42,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_CSMAPHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/durationhdl.hxx b/xmloff/source/style/durationhdl.hxx index 27e7ce550fba..de5193f60145 100644 --- a/xmloff/source/style/durationhdl.hxx +++ b/xmloff/source/style/durationhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_DURATIONHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_DURATIONHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // _XMLOFF_PROPERTYHANDLER_FMTSPLITTYPES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/escphdl.hxx b/xmloff/source/style/escphdl.hxx index 5ce3b94b3d39..d52e20f71a83 100644 --- a/xmloff/source/style/escphdl.hxx +++ b/xmloff/source/style/escphdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_ESCPHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_ESCPHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -43,6 +42,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_ESCPHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/fonthdl.hxx b/xmloff/source/style/fonthdl.hxx index 2860a1eaaacd..970cbc273f8e 100644 --- a/xmloff/source/style/fonthdl.hxx +++ b/xmloff/source/style/fonthdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_FONTHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_FONTHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -71,6 +70,4 @@ public: }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_FONTHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx index ee28c11a75a3..23ffed85728d 100644 --- a/xmloff/source/style/impastpl.hxx +++ b/xmloff/source/style/impastpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_IMPASTPL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_IMPASTPL_HXX +#pragma once #include <sal/types.h> #include <rtl/ustring.hxx> @@ -178,6 +177,4 @@ public: std::vector<xmloff::AutoStyleEntry> GetAutoStyleEntries() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/kernihdl.hxx b/xmloff/source/style/kernihdl.hxx index 0b1e0d18050c..3f4a7b4f8fff 100644 --- a/xmloff/source/style/kernihdl.hxx +++ b/xmloff/source/style/kernihdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_KERNIHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_KERNIHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_KERNIHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/lspachdl.hxx b/xmloff/source/style/lspachdl.hxx index f501168c833d..b0b4d41d7e35 100644 --- a/xmloff/source/style/lspachdl.hxx +++ b/xmloff/source/style/lspachdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_LSPACHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_LSPACHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -52,6 +51,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_LSPACHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/opaquhdl.hxx b/xmloff/source/style/opaquhdl.hxx index e2a3501886f5..1d4c193a96bb 100644 --- a/xmloff/source/style/opaquhdl.hxx +++ b/xmloff/source/style/opaquhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_OPAQUHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_OPAQUHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_OPAQUHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/postuhdl.hxx b/xmloff/source/style/postuhdl.hxx index 17d35e9bec55..b63abd607a13 100644 --- a/xmloff/source/style/postuhdl.hxx +++ b/xmloff/source/style/postuhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_POSTUHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_POSTUHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_POSTUHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/shadwhdl.hxx b/xmloff/source/style/shadwhdl.hxx index 0e1b3f1e5676..8b0a7762f177 100644 --- a/xmloff/source/style/shadwhdl.hxx +++ b/xmloff/source/style/shadwhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_SHADWHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_SHADWHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_SHADWHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/shdwdhdl.hxx b/xmloff/source/style/shdwdhdl.hxx index 97cb988149bf..e7397f80c789 100644 --- a/xmloff/source/style/shdwdhdl.hxx +++ b/xmloff/source/style/shdwdhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_SHDWDHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_SHDWDHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -34,6 +33,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_SHDWDHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/tabsthdl.hxx b/xmloff/source/style/tabsthdl.hxx index 05e417294b83..755790e8f3e7 100644 --- a/xmloff/source/style/tabsthdl.hxx +++ b/xmloff/source/style/tabsthdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_TABSTHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_TABSTHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -37,6 +36,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_TABSTHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/undlihdl.hxx b/xmloff/source/style/undlihdl.hxx index d3a93c5fcb89..4b9ad1b50bf1 100644 --- a/xmloff/source/style/undlihdl.hxx +++ b/xmloff/source/style/undlihdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_UNDLIHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_UNDLIHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -52,6 +51,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_UNDLIHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/weighhdl.hxx b/xmloff/source/style/weighhdl.hxx index ea45061c94ea..e9df0300116f 100644 --- a/xmloff/source/style/weighhdl.hxx +++ b/xmloff/source/style/weighhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_WEIGHHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_WEIGHHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> @@ -35,6 +34,4 @@ public: }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_WEIGHHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/xmlbahdl.hxx b/xmloff/source/style/xmlbahdl.hxx index 52622c539910..e9120f5e9107 100644 --- a/xmloff/source/style/xmlbahdl.hxx +++ b/xmloff/source/style/xmlbahdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_STYLE_XMLBAHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_STYLE_XMLBAHDL_HXX +#pragma once #include <xmloff/xmlprhdl.hxx> #include <xmloff/xmltoken.hxx> @@ -303,6 +302,4 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_STYLE_XMLBAHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/table/table.hxx b/xmloff/source/table/table.hxx index d711b17647e9..686972065de2 100644 --- a/xmloff/source/table/table.hxx +++ b/xmloff/source/table/table.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TABLE_TABLE_HXX -#define INCLUDED_XMLOFF_SOURCE_TABLE_TABLE_HXX +#pragma once #include <xmloff/xmltoken.hxx> @@ -36,6 +35,4 @@ extern const XMLPropertyMapEntry* getColumnPropertiesMap(); extern const XMLPropertyMapEntry* getRowPropertiesMap(); extern const XMLPropertyMapEntry* getCellPropertiesMap(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLAnchorTypePropHdl.hxx b/xmloff/source/text/XMLAnchorTypePropHdl.hxx index 0a4b7fa6593a..64bddb078f64 100644 --- a/xmloff/source/text/XMLAnchorTypePropHdl.hxx +++ b/xmloff/source/text/XMLAnchorTypePropHdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLANCHORTYPEPROPHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLANCHORTYPEPROPHDL_HXX +#pragma once #include <com/sun/star/text/TextContentAnchorType.hpp> #include <xmloff/xmlprhdl.hxx> @@ -41,6 +40,4 @@ public: css::text::TextContentAnchorType& rType ); }; -#endif // INCLUDED_XMLOFF_SOURCE_TEXT_XMLANCHORTYPEPROPHDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLAutoMarkFileContext.hxx b/xmloff/source/text/XMLAutoMarkFileContext.hxx index 01f124d15b4a..cf74dd596a5d 100644 --- a/xmloff/source/text/XMLAutoMarkFileContext.hxx +++ b/xmloff/source/text/XMLAutoMarkFileContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOMARKFILECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOMARKFILECONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> @@ -46,6 +45,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx index 26270a505838..2640f27edffa 100644 --- a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTCONTAINEREVENTIMPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTCONTAINEREVENTIMPORT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.hxx> @@ -56,6 +55,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx index 8135ad81b6f0..27e6de771c4e 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.hxx +++ b/xmloff/source/text/XMLAutoTextEventExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTEVENTEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTEVENTEXPORT_HXX +#pragma once #include <xmloff/xmlexp.hxx> @@ -86,6 +85,4 @@ private: virtual void ExportContent_() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx index 8dd605e3661c..58a2ee785993 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextEventImport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTEVENTIMPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTEVENTIMPORT_HXX +#pragma once #include <xmloff/xmlimp.hxx> #include <com/sun/star/container/XNameReplace.hpp> @@ -57,6 +56,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLCalculationSettingsContext.hxx b/xmloff/source/text/XMLCalculationSettingsContext.hxx index a6f0e620d2c1..d0668b2e512f 100644 --- a/xmloff/source/text/XMLCalculationSettingsContext.hxx +++ b/xmloff/source/text/XMLCalculationSettingsContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCALCULATIONSETTINGSCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCALCULATIONSETTINGSCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> @@ -36,6 +35,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLChangeElementImportContext.hxx b/xmloff/source/text/XMLChangeElementImportContext.hxx index fb7bef4aa13f..dff7222d7890 100644 --- a/xmloff/source/text/XMLChangeElementImportContext.hxx +++ b/xmloff/source/text/XMLChangeElementImportContext.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEELEMENTIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEELEMENTIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -78,6 +77,4 @@ public: virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLChangeImportContext.hxx b/xmloff/source/text/XMLChangeImportContext.hxx index 4a5d42d83754..c2e128c55274 100644 --- a/xmloff/source/text/XMLChangeImportContext.hxx +++ b/xmloff/source/text/XMLChangeImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> @@ -65,6 +64,4 @@ private: bool m_bIsOutsideOfParagraph; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLChangeInfoContext.hxx b/xmloff/source/text/XMLChangeInfoContext.hxx index 8d1f3965e283..04f055d533a4 100644 --- a/xmloff/source/text/XMLChangeInfoContext.hxx +++ b/xmloff/source/text/XMLChangeInfoContext.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEINFOCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEINFOCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -66,6 +65,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLChangedRegionImportContext.hxx b/xmloff/source/text/XMLChangedRegionImportContext.hxx index 97c545cbb58c..db0e48a43d84 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.hxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEDREGIONIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEDREGIONIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -79,6 +78,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx index 1831f5bd1f59..d52557797eae 100644 --- a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx +++ b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLFOOTNOTEBODYIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLFOOTNOTEBODYIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -47,6 +46,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLFootnoteImportContext.hxx b/xmloff/source/text/XMLFootnoteImportContext.hxx index 534fbabd8891..d05b7b631c22 100644 --- a/xmloff/source/text/XMLFootnoteImportContext.hxx +++ b/xmloff/source/text/XMLFootnoteImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLFOOTNOTEIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLFOOTNOTEIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -70,6 +69,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx index 479405c41746..45fcea4ba0b4 100644 --- a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx +++ b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXALPHABETICALSOURCECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXALPHABETICALSOURCECONTEXT_HXX +#pragma once #include "XMLIndexSourceBaseContext.hxx" #include <xmloff/languagetagodf.hxx> @@ -71,6 +70,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx index 0314dc899b7f..4c586a5a85e7 100644 --- a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx +++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBIBLIOGRAPHYENTRYCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBIBLIOGRAPHYENTRYCONTEXT_HXX +#pragma once #include "XMLIndexSimpleEntryContext.hxx" #include <com/sun/star/uno/Reference.h> @@ -68,6 +67,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx index 3f66991210e6..497c33d1cf91 100644 --- a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx +++ b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBIBLIOGRAPHYSOURCECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBIBLIOGRAPHYSOURCECONTEXT_HXX +#pragma once #include "XMLIndexSourceBaseContext.hxx" #include <com/sun/star/uno/Reference.h> @@ -55,6 +54,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexBodyContext.hxx b/xmloff/source/text/XMLIndexBodyContext.hxx index 769c1f04b51b..5962bacf3424 100644 --- a/xmloff/source/text/XMLIndexBodyContext.hxx +++ b/xmloff/source/text/XMLIndexBodyContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBODYCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBODYCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -61,6 +60,4 @@ inline bool XMLIndexBodyContext::HasContent() const return bHasContent; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx index e5779a107c17..f1cc400e5e4a 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXCHAPTERINFOENTRYCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXCHAPTERINFOENTRYCONTEXT_HXX +#pragma once #include "XMLIndexSimpleEntryContext.hxx" #include <com/sun/star/uno/Reference.h> @@ -65,6 +64,4 @@ protected: css::uno::Sequence<css::beans::PropertyValue> & rValues) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx index 07ec8aca41ff..b482c63fff9b 100644 --- a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx +++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXILLUSTRATIONSOURCECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXILLUSTRATIONSOURCECONTEXT_HXX +#pragma once #include "XMLIndexTableSourceContext.hxx" #include <com/sun/star/uno/Reference.h> @@ -53,6 +52,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexMarkExport.hxx b/xmloff/source/text/XMLIndexMarkExport.hxx index fa234c5d1c0c..95b33f071f83 100644 --- a/xmloff/source/text/XMLIndexMarkExport.hxx +++ b/xmloff/source/text/XMLIndexMarkExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXMARKEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXMARKEXPORT_HXX +#pragma once #include <rtl/ustrbuf.hxx> #include <com/sun/star/uno/Reference.h> @@ -92,6 +91,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexObjectSourceContext.hxx b/xmloff/source/text/XMLIndexObjectSourceContext.hxx index 907eef03752d..6240a5c28a4d 100644 --- a/xmloff/source/text/XMLIndexObjectSourceContext.hxx +++ b/xmloff/source/text/XMLIndexObjectSourceContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXOBJECTSOURCECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXOBJECTSOURCECONTEXT_HXX +#pragma once #include "XMLIndexSourceBaseContext.hxx" #include <com/sun/star/uno/Reference.h> @@ -61,6 +60,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx index dbce23d8c588..1fafb4190574 100644 --- a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx +++ b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSIMPLEENTRYCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSIMPLEENTRYCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -77,6 +76,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.hxx b/xmloff/source/text/XMLIndexSourceBaseContext.hxx index 5f8b060d58b1..1aeb98168175 100644 --- a/xmloff/source/text/XMLIndexSourceBaseContext.hxx +++ b/xmloff/source/text/XMLIndexSourceBaseContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSOURCEBASECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSOURCEBASECONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -69,6 +68,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexSpanEntryContext.hxx b/xmloff/source/text/XMLIndexSpanEntryContext.hxx index 8103cbea699e..8b4711c1f84c 100644 --- a/xmloff/source/text/XMLIndexSpanEntryContext.hxx +++ b/xmloff/source/text/XMLIndexSpanEntryContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSPANENTRYCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSPANENTRYCONTEXT_HXX +#pragma once #include "XMLIndexSimpleEntryContext.hxx" #include <com/sun/star/uno/Sequence.h> @@ -55,6 +54,4 @@ protected: css::uno::Sequence<css::beans::PropertyValue> & rValues) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexTOCContext.hxx b/xmloff/source/text/XMLIndexTOCContext.hxx index 5319d8e95058..47cd8ad2c22a 100644 --- a/xmloff/source/text/XMLIndexTOCContext.hxx +++ b/xmloff/source/text/XMLIndexTOCContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -80,6 +79,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.hxx b/xmloff/source/text/XMLIndexTOCSourceContext.hxx index 6832695792dd..f8129fc149d9 100644 --- a/xmloff/source/text/XMLIndexTOCSourceContext.hxx +++ b/xmloff/source/text/XMLIndexTOCSourceContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCSOURCECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCSOURCECONTEXT_HXX +#pragma once #include "XMLIndexSourceBaseContext.hxx" #include <com/sun/star/uno/Reference.h> @@ -60,6 +59,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.hxx b/xmloff/source/text/XMLIndexTOCStylesContext.hxx index fe588b933112..a34cf604f118 100644 --- a/xmloff/source/text/XMLIndexTOCStylesContext.hxx +++ b/xmloff/source/text/XMLIndexTOCStylesContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCSTYLESCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCSTYLESCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -71,6 +70,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx index 0803a78ad348..5c208f638531 100644 --- a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx +++ b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTABSTOPENTRYCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTABSTOPENTRYCONTEXT_HXX +#pragma once #include "XMLIndexSimpleEntryContext.hxx" #include <rtl/ustring.hxx> @@ -64,6 +63,4 @@ protected: css::uno::Sequence<css::beans::PropertyValue> & rValues) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexTableSourceContext.hxx b/xmloff/source/text/XMLIndexTableSourceContext.hxx index 96b677d96d22..1a0a7b0bfb77 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.hxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTABLESOURCECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTABLESOURCECONTEXT_HXX +#pragma once #include "XMLIndexSourceBaseContext.hxx" #include <com/sun/star/uno/Reference.h> @@ -61,6 +60,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexTemplateContext.hxx b/xmloff/source/text/XMLIndexTemplateContext.hxx index 2aa8a9db56c7..424693d7e459 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTemplateContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTEMPLATECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTEMPLATECONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <xmloff/xmltoken.hxx> @@ -123,6 +122,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx index b517ab9e8015..2de1954997bc 100644 --- a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTITLETEMPLATECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTITLETEMPLATECONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -69,6 +68,4 @@ protected: virtual void SAL_CALL characters(const OUString& sString) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLIndexUserSourceContext.hxx b/xmloff/source/text/XMLIndexUserSourceContext.hxx index 46a448ad6118..c275f8a053c8 100644 --- a/xmloff/source/text/XMLIndexUserSourceContext.hxx +++ b/xmloff/source/text/XMLIndexUserSourceContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXUSERSOURCECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXUSERSOURCECONTEXT_HXX +#pragma once #include "XMLIndexSourceBaseContext.hxx" #include <com/sun/star/uno/Reference.h> @@ -63,6 +62,4 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLLineNumberingExport.hxx b/xmloff/source/text/XMLLineNumberingExport.hxx index f120f757641c..4beb2a2b465e 100644 --- a/xmloff/source/text/XMLLineNumberingExport.hxx +++ b/xmloff/source/text/XMLLineNumberingExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGEXPORT_HXX +#pragma once class SvXMLExport; @@ -33,6 +32,4 @@ public: void Export(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx index c3ec804d6a34..110aae6dc988 100644 --- a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx +++ b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGSEPARATORIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGSEPARATORIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <rtl/ustring.hxx> @@ -57,6 +56,4 @@ protected: virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLPropertyBackpatcher.hxx b/xmloff/source/text/XMLPropertyBackpatcher.hxx index 10165c488d53..3a243f3bfb79 100644 --- a/xmloff/source/text/XMLPropertyBackpatcher.hxx +++ b/xmloff/source/text/XMLPropertyBackpatcher.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLPROPERTYBACKPATCHER_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLPROPERTYBACKPATCHER_HXX +#pragma once #include <rtl/ustring.hxx> @@ -95,6 +94,4 @@ public: const OUString& sName); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLRedlineExport.hxx b/xmloff/source/text/XMLRedlineExport.hxx index 5ab7230d7fde..5eee02a5db39 100644 --- a/xmloff/source/text/XMLRedlineExport.hxx +++ b/xmloff/source/text/XMLRedlineExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLREDLINEEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLREDLINEEXPORT_HXX +#pragma once #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Sequence.h> @@ -161,6 +160,4 @@ private: void WriteComment(std::u16string_view rComment); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx index 06243cc24122..05180e2f2d6f 100644 --- a/xmloff/source/text/XMLSectionExport.hxx +++ b/xmloff/source/text/XMLSectionExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONEXPORT_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Reference.h> @@ -260,6 +259,4 @@ private: bool bInvert = false); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.hxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.hxx index 985f7c70a3c5..dcbf66c2e0d0 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigExport.hxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONFOOTNOTECONFIGEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONFOOTNOTECONFIGEXPORT_HXX +#pragma once #include <sal/types.h> @@ -50,6 +49,4 @@ public: const rtl::Reference<XMLPropertySetMapper> & rMapper); /// used only for debugging }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx index 0182c0d8f571..dc7bc7c94e60 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONFOOTNOTECONFIGIMPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONFOOTNOTECONFIGIMPORT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <rtl/ref.hxx> @@ -59,6 +58,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx index 4f017c9bc2e9..83f40d05eb92 100644 --- a/xmloff/source/text/XMLSectionImportContext.hxx +++ b/xmloff/source/text/XMLSectionImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -78,6 +77,4 @@ private: const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx index 95cd7e6fe591..31726f0982ff 100644 --- a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx +++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONSOURCEDDEIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONSOURCEDDEIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -46,6 +45,4 @@ protected: const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLSectionSourceImportContext.hxx b/xmloff/source/text/XMLSectionSourceImportContext.hxx index b426b81acc38..f47dddcbb7f9 100644 --- a/xmloff/source/text/XMLSectionSourceImportContext.hxx +++ b/xmloff/source/text/XMLSectionSourceImportContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONSOURCEIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONSOURCEIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -44,6 +43,4 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx b/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx index da592981a7d9..0eaad5d33ba5 100644 --- a/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx +++ b/xmloff/source/text/XMLTextCharStyleNamesElementExport.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_XMLOFF_SOURCE_TEXT_XMLTEXTCHARSTYLENAMESELEMENTEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTCHARSTYLENAMESELEMENTEXPORT_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Reference.hxx> @@ -44,6 +43,4 @@ public: ~XMLTextCharStyleNamesElementExport(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextFrameContext.hxx b/xmloff/source/text/XMLTextFrameContext.hxx index ebefa1e8f4b5..27c9b4c2b81f 100644 --- a/xmloff/source/text/XMLTextFrameContext.hxx +++ b/xmloff/source/text/XMLTextFrameContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMECONTEXT_HXX +#pragma once #include <memory> @@ -90,6 +89,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx index 38f6752a8834..3b178bb6f835 100644 --- a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx +++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMEHYPERLINKCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMEHYPERLINKCONTEXT_HXX +#pragma once #include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/text/XTextContent.hpp> @@ -59,6 +58,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextListBlockContext.hxx b/xmloff/source/text/XMLTextListBlockContext.hxx index cc0bb99ec6db..9446ee5e90b4 100644 --- a/xmloff/source/text/XMLTextListBlockContext.hxx +++ b/xmloff/source/text/XMLTextListBlockContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTLISTBLOCKCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTLISTBLOCKCONTEXT_HXX +#pragma once #include <com/sun/star/container/XIndexReplace.hpp> #include <xmloff/xmlictxt.hxx> @@ -74,6 +73,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextListItemContext.hxx b/xmloff/source/text/XMLTextListItemContext.hxx index 9fabdf6a7ce0..de43d90f9b58 100644 --- a/xmloff/source/text/XMLTextListItemContext.hxx +++ b/xmloff/source/text/XMLTextListItemContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTLISTITEMCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTLISTITEMCONTEXT_HXX +#pragma once #include <com/sun/star/container/XIndexReplace.hpp> @@ -67,6 +66,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextMarkImportContext.hxx b/xmloff/source/text/XMLTextMarkImportContext.hxx index 5082c151779e..ccf04e55deeb 100644 --- a/xmloff/source/text/XMLTextMarkImportContext.hxx +++ b/xmloff/source/text/XMLTextMarkImportContext.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTMARKIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTMARKIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -101,6 +100,4 @@ public: const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextNumRuleInfo.hxx b/xmloff/source/text/XMLTextNumRuleInfo.hxx index 498b53ed2d7d..53ad8e97f188 100644 --- a/xmloff/source/text/XMLTextNumRuleInfo.hxx +++ b/xmloff/source/text/XMLTextNumRuleInfo.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTNUMRULEINFO_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTNUMRULEINFO_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/container/XIndexReplace.hpp> @@ -150,6 +149,5 @@ inline void XMLTextNumRuleInfo::Reset() mbContinueingPreviousSubTree = false; msListLabelString.clear(); } -#endif // INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTNUMRULEINFO_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextPropertySetContext.hxx b/xmloff/source/text/XMLTextPropertySetContext.hxx index 33159f3b319f..2286e773ffdd 100644 --- a/xmloff/source/text/XMLTextPropertySetContext.hxx +++ b/xmloff/source/text/XMLTextPropertySetContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTPROPERTYSETCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTPROPERTYSETCONTEXT_HXX +#pragma once #include <xmloff/xmlprcon.hxx> @@ -49,6 +48,4 @@ public: }; -#endif // INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTPROPERTYSETCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.hxx b/xmloff/source/text/XMLTrackedChangesImportContext.hxx index c45bfa7e22d1..6ae3c4a55288 100644 --- a/xmloff/source/text/XMLTrackedChangesImportContext.hxx +++ b/xmloff/source/text/XMLTrackedChangesImportContext.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTRACKEDCHANGESIMPORTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTRACKEDCHANGESIMPORTCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> @@ -46,6 +45,4 @@ public: sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/txtdrope.hxx b/xmloff/source/text/txtdrope.hxx index 271a4f85e653..fb477b17edb9 100644 --- a/xmloff/source/text/txtdrope.hxx +++ b/xmloff/source/text/txtdrope.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_XMLOFF_SOURCE_TEXT_TXTDROPE_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTDROPE_HXX +#pragma once #include <rtl/ustring.hxx> @@ -40,6 +39,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/txtdropi.hxx b/xmloff/source/text/txtdropi.hxx index 09e9d979bd8e..4a9d24b102ec 100644 --- a/xmloff/source/text/txtdropi.hxx +++ b/xmloff/source/text/txtdropi.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_TXTDROPI_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTDROPI_HXX +#pragma once #include <XMLElementPropertyContext.hxx> @@ -44,6 +43,4 @@ public: const OUString& GetStyleName() const { return sStyleName; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/txtexppr.hxx b/xmloff/source/text/txtexppr.hxx index 7e13180e1543..6262613642f1 100644 --- a/xmloff/source/text/txtexppr.hxx +++ b/xmloff/source/text/txtexppr.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_XMLOFF_SOURCE_TEXT_TXTEXPPR_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTEXPPR_HXX +#pragma once #include <xmloff/xmlexppr.hxx> @@ -86,6 +85,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/txtparai.hxx b/xmloff/source/text/txtparai.hxx index c5780bd28f20..10a60bf162f3 100644 --- a/xmloff/source/text/txtparai.hxx +++ b/xmloff/source/text/txtparai.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_XMLOFF_SOURCE_TEXT_TXTPARAI_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTPARAI_HXX +#pragma once #include <com/sun/star/container/XIndexReplace.hpp> @@ -103,6 +102,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/txtparaimphint.hxx b/xmloff/source/text/txtparaimphint.hxx index 175f3d65e658..63cc49cfa67e 100644 --- a/xmloff/source/text/txtparaimphint.hxx +++ b/xmloff/source/text/txtparaimphint.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_XMLOFF_SOURCE_TEXT_TXTPARAIMPHINT_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTPARAIMPHINT_HXX +#pragma once #include <rtl/ustring.hxx> #include "XMLTextFrameContext.hxx" @@ -234,6 +233,4 @@ public: } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/txtprhdl.hxx b/xmloff/source/text/txtprhdl.hxx index 98825e1bfc59..632d4fe88d2c 100644 --- a/xmloff/source/text/txtprhdl.hxx +++ b/xmloff/source/text/txtprhdl.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_XMLOFF_SOURCE_TEXT_TXTPRHDL_HXX -#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTPRHDL_HXX +#pragma once #include <xmloff/prhdlfac.hxx> @@ -29,6 +28,4 @@ public: virtual const XMLPropertyHandler* GetPropertyHandler(sal_Int32 nType) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ActionMapTypesOASIS.hxx b/xmloff/source/transform/ActionMapTypesOASIS.hxx index 8a45d9d1e80c..1be989b340df 100644 --- a/xmloff/source/transform/ActionMapTypesOASIS.hxx +++ b/xmloff/source/transform/ActionMapTypesOASIS.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_ACTIONMAPTYPESOASIS_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_ACTIONMAPTYPESOASIS_HXX +#pragma once enum ActionMapTypesOOo { @@ -85,6 +84,4 @@ enum ActionMapTypesOOo MAX_OASIS_ACTIONS }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_ACTIONMAPTYPESOASIS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ActionMapTypesOOo.hxx b/xmloff/source/transform/ActionMapTypesOOo.hxx index fca37c286a3d..53e5e31c4328 100644 --- a/xmloff/source/transform/ActionMapTypesOOo.hxx +++ b/xmloff/source/transform/ActionMapTypesOOo.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_ACTIONMAPTYPESOOO_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_ACTIONMAPTYPESOOO_HXX +#pragma once enum ActionMapTypesOOo { @@ -82,6 +81,4 @@ enum ActionMapTypesOOo MAX_OOO_ACTIONS }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_ACTIONMAPTYPESOOO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/AttrTransformerAction.hxx b/xmloff/source/transform/AttrTransformerAction.hxx index 70b3537a6de1..e302a9852593 100644 --- a/xmloff/source/transform/AttrTransformerAction.hxx +++ b/xmloff/source/transform/AttrTransformerAction.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_ATTRTRANSFORMERACTION_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_ATTRTRANSFORMERACTION_HXX +#pragma once #include "TransformerAction.hxx" @@ -124,6 +123,4 @@ enum XMLAttrTransformerAction XML_ATACTION_USER_DEFINED=0x40000000,// user defined actions start here }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_ATTRTRANSFORMERACTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ChartOASISTContext.hxx b/xmloff/source/transform/ChartOASISTContext.hxx index 169f4452e715..08178f3f1420 100644 --- a/xmloff/source/transform/ChartOASISTContext.hxx +++ b/xmloff/source/transform/ChartOASISTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTOASISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTOASISTCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -32,6 +31,4 @@ public: virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTOASISTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ChartOOoTContext.hxx b/xmloff/source/transform/ChartOOoTContext.hxx index 1726410b14fb..aad4856ecec6 100644 --- a/xmloff/source/transform/ChartOOoTContext.hxx +++ b/xmloff/source/transform/ChartOOoTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTOOOTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTOOOTCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -32,6 +31,4 @@ public: virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTOOOTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.hxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.hxx index fd86588c1f63..fb6cae0530b8 100644 --- a/xmloff/source/transform/ChartPlotAreaOASISTContext.hxx +++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.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_XMLOFF_SOURCE_TRANSFORM_CHARTPLOTAREAOASISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTPLOTAREAOASISTCONTEXT_HXX +#pragma once #include "ProcAttrTContext.hxx" #include "PersAttrListTContext.hxx" @@ -43,6 +42,5 @@ private: }; // INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTPLOTAREAOASISTCONTEXT_HXX -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.hxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.hxx index 93388283dacb..9a2eb8fe81ef 100644 --- a/xmloff/source/transform/ChartPlotAreaOOoTContext.hxx +++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.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_XMLOFF_SOURCE_TRANSFORM_CHARTPLOTAREAOOOTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTPLOTAREAOOOTCONTEXT_HXX +#pragma once #include <sal/config.h> @@ -52,6 +51,5 @@ private: }; // INCLUDED_XMLOFF_SOURCE_TRANSFORM_CHARTPLOTAREAOOOTCONTEXT_HXX -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ControlOASISTContext.hxx b/xmloff/source/transform/ControlOASISTContext.hxx index 0a0a167af80c..26b5baeb0c7c 100644 --- a/xmloff/source/transform/ControlOASISTContext.hxx +++ b/xmloff/source/transform/ControlOASISTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_CONTROLOASISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_CONTROLOASISTCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -37,6 +36,4 @@ public: virtual void EndElement() override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_CONTROLOASISTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ControlOOoTContext.hxx b/xmloff/source/transform/ControlOOoTContext.hxx index 22cf1c5f5235..34cb4e31da21 100644 --- a/xmloff/source/transform/ControlOOoTContext.hxx +++ b/xmloff/source/transform/ControlOOoTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_CONTROLOOOTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_CONTROLOOOTCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -44,6 +43,4 @@ public: virtual void Characters( const OUString& rChars ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_CONTROLOOOTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/CreateElemTContext.hxx b/xmloff/source/transform/CreateElemTContext.hxx index a7ce38981fd8..6d70e88eec0f 100644 --- a/xmloff/source/transform/CreateElemTContext.hxx +++ b/xmloff/source/transform/CreateElemTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_CREATEELEMTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_CREATEELEMTCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -34,6 +33,4 @@ public: virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; -#endif // _XMLOFF_CREATEELEMCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/DeepTContext.hxx b/xmloff/source/transform/DeepTContext.hxx index efbed3b40415..af6d41255bf8 100644 --- a/xmloff/source/transform/DeepTContext.hxx +++ b/xmloff/source/transform/DeepTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_DEEPTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_DEEPTCONTEXT_HXX +#pragma once #include <rtl/ref.hxx> @@ -69,6 +68,4 @@ public: virtual void ExportContent() override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_DEEPTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/DlgOASISTContext.hxx b/xmloff/source/transform/DlgOASISTContext.hxx index a1cde315acfa..338ea97b651c 100644 --- a/xmloff/source/transform/DlgOASISTContext.hxx +++ b/xmloff/source/transform/DlgOASISTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_DLGOASISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_DLGOASISTCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -32,6 +31,4 @@ public: virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_DLGOASISTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/DocumentTContext.hxx b/xmloff/source/transform/DocumentTContext.hxx index 0b71cd9c829d..50434cb3ed58 100644 --- a/xmloff/source/transform/DocumentTContext.hxx +++ b/xmloff/source/transform/DocumentTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_DOCUMENTTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_DOCUMENTTCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -38,6 +37,4 @@ public: StartElement(const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_DOCUMENTTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ElemTransformerAction.hxx b/xmloff/source/transform/ElemTransformerAction.hxx index b9eef078cedb..abd29f2fb831 100644 --- a/xmloff/source/transform/ElemTransformerAction.hxx +++ b/xmloff/source/transform/ElemTransformerAction.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_ELEMTRANSFORMERACTION_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_ELEMTRANSFORMERACTION_HXX +#pragma once #include "TransformerAction.hxx" @@ -85,6 +84,4 @@ enum XMLElemTransformerAction XML_ETACTION_USER_DEFINED=0x40000000// user defined actions start here }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_ELEMTRANSFORMERACTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/EventMap.hxx b/xmloff/source/transform/EventMap.hxx index 4237eb2ebd56..11d20e1850e0 100644 --- a/xmloff/source/transform/EventMap.hxx +++ b/xmloff/source/transform/EventMap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTMAP_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTMAP_HXX +#pragma once #include <sal/types.h> @@ -32,6 +31,4 @@ struct XMLTransformerEventMapEntry extern XMLTransformerEventMapEntry const aTransformerEventMap[]; extern XMLTransformerEventMapEntry const aFormTransformerEventMap[]; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTMAP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/EventOASISTContext.hxx b/xmloff/source/transform/EventOASISTContext.hxx index b01f7e54b09f..53cf0dbf2b41 100644 --- a/xmloff/source/transform/EventOASISTContext.hxx +++ b/xmloff/source/transform/EventOASISTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTOASISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTOASISTCONTEXT_HXX +#pragma once #include "RenameElemTContext.hxx" @@ -42,6 +41,4 @@ public: virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTOASISTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/EventOOoTContext.hxx b/xmloff/source/transform/EventOOoTContext.hxx index 5254b9902f43..19461d310966 100644 --- a/xmloff/source/transform/EventOOoTContext.hxx +++ b/xmloff/source/transform/EventOOoTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTOOOTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTOOOTCONTEXT_HXX +#pragma once #include "DeepTContext.hxx" @@ -50,6 +49,4 @@ public: virtual bool IsPersistent() const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_EVENTOOOTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/FamilyType.hxx b/xmloff/source/transform/FamilyType.hxx index 4cc58d14a9c7..15c0e9e24c27 100644 --- a/xmloff/source/transform/FamilyType.hxx +++ b/xmloff/source/transform/FamilyType.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_FAMILYTYPE_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_FAMILYTYPE_HXX +#pragma once enum XMLFamilyType { @@ -47,6 +46,4 @@ enum XMLFamilyType XML_FAMILY_TYPE_END }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_FAMILYTYPE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/FlatTContext.hxx b/xmloff/source/transform/FlatTContext.hxx index 06d525c76df6..8a6787c26b2f 100644 --- a/xmloff/source/transform/FlatTContext.hxx +++ b/xmloff/source/transform/FlatTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_FLATTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_FLATTCONTEXT_HXX +#pragma once #include "PersAttrListTContext.hxx" @@ -56,6 +55,4 @@ public: const OUString& GetTextContent() const { return m_aCharacters; } }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_FLATTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/FormPropOASISTContext.hxx b/xmloff/source/transform/FormPropOASISTContext.hxx index 139584c7c77d..5a656a629750 100644 --- a/xmloff/source/transform/FormPropOASISTContext.hxx +++ b/xmloff/source/transform/FormPropOASISTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_FORMPROPOASISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_FORMPROPOASISTCONTEXT_HXX +#pragma once #include "RenameElemTContext.hxx" @@ -41,6 +40,4 @@ public: virtual void EndElement() override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_FORMPROPOASISTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/FormPropOOoTContext.hxx b/xmloff/source/transform/FormPropOOoTContext.hxx index de3f3a3e865c..ca0df6bdc74d 100644 --- a/xmloff/source/transform/FormPropOOoTContext.hxx +++ b/xmloff/source/transform/FormPropOOoTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_FORMPROPOOOTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_FORMPROPOOOTCONTEXT_HXX +#pragma once #include <rtl/ref.hxx> #include "TransformerContext.hxx" @@ -55,6 +54,4 @@ public: virtual void EndElement() override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_FORMPROPOOOTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/FrameOASISTContext.hxx b/xmloff/source/transform/FrameOASISTContext.hxx index 90402edddbe0..d7ffaedb3b95 100644 --- a/xmloff/source/transform/FrameOASISTContext.hxx +++ b/xmloff/source/transform/FrameOASISTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_FRAMEOASISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_FRAMEOASISTCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -52,6 +51,4 @@ public: virtual void Characters( const OUString& rChars ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_FRAMEOASISTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/FrameOOoTContext.hxx b/xmloff/source/transform/FrameOOoTContext.hxx index 27f8b5494a87..44d360699ca2 100644 --- a/xmloff/source/transform/FrameOOoTContext.hxx +++ b/xmloff/source/transform/FrameOOoTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_FRAMEOOOTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_FRAMEOOOTCONTEXT_HXX +#pragma once #include "DeepTContext.hxx" @@ -44,6 +43,4 @@ public: virtual bool IsPersistent() const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_FRAMEOOOTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/IgnoreTContext.hxx b/xmloff/source/transform/IgnoreTContext.hxx index 07b12115543b..2f349cfb3c9c 100644 --- a/xmloff/source/transform/IgnoreTContext.hxx +++ b/xmloff/source/transform/IgnoreTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_IGNORETCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_IGNORETCONTEXT_HXX +#pragma once #include "TransformerContext.hxx" @@ -69,6 +68,4 @@ public: virtual void Characters( const OUString& rChars ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_IGNORETCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/MergeElemTContext.hxx b/xmloff/source/transform/MergeElemTContext.hxx index add30debc829..9e6cc6f97bcb 100644 --- a/xmloff/source/transform/MergeElemTContext.hxx +++ b/xmloff/source/transform/MergeElemTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_MERGEELEMTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_MERGEELEMTCONTEXT_HXX +#pragma once #include <rtl/ref.hxx> #include "FlatTContext.hxx" @@ -53,6 +52,4 @@ public: virtual void Characters( const OUString& rChars ) override; }; -#endif // _XMLOFF_MERGEELEMCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/MetaTContext.hxx b/xmloff/source/transform/MetaTContext.hxx index cc23333f1043..23b5dc29f759 100644 --- a/xmloff/source/transform/MetaTContext.hxx +++ b/xmloff/source/transform/MetaTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_METATCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_METATCONTEXT_HXX +#pragma once #include <rtl/ref.hxx> #include <map> @@ -64,6 +63,4 @@ public: virtual void Characters( const OUString& rChars ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_METATCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/MutableAttrList.hxx b/xmloff/source/transform/MutableAttrList.hxx index c47720b2d2dd..6c72fd9112c1 100644 --- a/xmloff/source/transform/MutableAttrList.hxx +++ b/xmloff/source/transform/MutableAttrList.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_MUTABLEATTRLIST_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_MUTABLEATTRLIST_HXX +#pragma once #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/xml/sax/XAttributeList.hpp> @@ -74,6 +73,4 @@ public: }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_MUTABLEATTRLIST_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/NotesTContext.hxx b/xmloff/source/transform/NotesTContext.hxx index dcc88b468802..b6bfbf88096d 100644 --- a/xmloff/source/transform/NotesTContext.hxx +++ b/xmloff/source/transform/NotesTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_NOTESTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_NOTESTCONTEXT_HXX +#pragma once #include "DeepTContext.hxx" @@ -47,6 +46,4 @@ public: virtual bool IsPersistent() const override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_NOTESTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/OOo2Oasis.hxx b/xmloff/source/transform/OOo2Oasis.hxx index 7b476447104b..64ce800f9199 100644 --- a/xmloff/source/transform/OOo2Oasis.hxx +++ b/xmloff/source/transform/OOo2Oasis.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_OOO2OASIS_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_OOO2OASIS_HXX +#pragma once #include <com/sun/star/document/XImporter.hpp> #include <com/sun/star/document/XFilter.hpp> @@ -100,6 +99,4 @@ public: bool bForm = false ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_OOO2OASIS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/Oasis2OOo.hxx b/xmloff/source/transform/Oasis2OOo.hxx index 7a5d9c0ac632..c7d4ba6d349d 100644 --- a/xmloff/source/transform/Oasis2OOo.hxx +++ b/xmloff/source/transform/Oasis2OOo.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_OASIS2OOO_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_OASIS2OOO_HXX +#pragma once #include "ActionMapTypesOASIS.hxx" #include "TransformerBase.hxx" @@ -57,6 +56,4 @@ public: bool bForm = false ) override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_OASIS2OOO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/PersAttrListTContext.hxx b/xmloff/source/transform/PersAttrListTContext.hxx index 5126c15b2d7c..41ac5a113f43 100644 --- a/xmloff/source/transform/PersAttrListTContext.hxx +++ b/xmloff/source/transform/PersAttrListTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_PERSATTRLISTTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_PERSATTRLISTTCONTEXT_HXX +#pragma once #include <xmloff/xmltoken.hxx> #include "TransformerContext.hxx" @@ -101,6 +100,4 @@ public: }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_PERSATTRLISTTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/PersMixedContentTContext.hxx b/xmloff/source/transform/PersMixedContentTContext.hxx index 955e270cfd00..b8f6016cfaa6 100644 --- a/xmloff/source/transform/PersMixedContentTContext.hxx +++ b/xmloff/source/transform/PersMixedContentTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_PERSMIXEDCONTENTTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_PERSMIXEDCONTENTTCONTEXT_HXX +#pragma once #include "DeepTContext.hxx" @@ -52,6 +51,4 @@ public: virtual ~XMLPersMixedContentTContext() override; }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_PERSMIXEDCONTENTTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ProcAddAttrTContext.hxx b/xmloff/source/transform/ProcAddAttrTContext.hxx index 7cfb14a8bb08..8088aec269f7 100644 --- a/xmloff/source/transform/ProcAddAttrTContext.hxx +++ b/xmloff/source/transform/ProcAddAttrTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROCADDATTRTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROCADDATTRTCONTEXT_HXX +#pragma once #include "ProcAttrTContext.hxx" @@ -42,6 +41,4 @@ public: virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; -#endif // _XMLOFF_PROCADDATTRCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/ProcAttrTContext.hxx b/xmloff/source/transform/ProcAttrTContext.hxx index 33e45879e3c0..e298d1095910 100644 --- a/xmloff/source/transform/ProcAttrTContext.hxx +++ b/xmloff/source/transform/ProcAttrTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROCATTRTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROCATTRTCONTEXT_HXX +#pragma once #include <xmloff/xmltoken.hxx> #include "TransformerContext.hxx" @@ -48,6 +47,4 @@ public: virtual void EndElement() override; }; -#endif // _XMLOFF_PROCATTRCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/PropType.hxx b/xmloff/source/transform/PropType.hxx index 5c7b7f721d28..e02a5eed5a6b 100644 --- a/xmloff/source/transform/PropType.hxx +++ b/xmloff/source/transform/PropType.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPTYPE_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPTYPE_HXX +#pragma once enum XMLPropType { @@ -39,6 +38,4 @@ enum XMLPropType XML_PROP_TYPE_END }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPTYPE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/PropertyActionsOASIS.hxx b/xmloff/source/transform/PropertyActionsOASIS.hxx index 3dbfa10de66f..6fb80d57b24e 100644 --- a/xmloff/source/transform/PropertyActionsOASIS.hxx +++ b/xmloff/source/transform/PropertyActionsOASIS.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPERTYACTIONSOASIS_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPERTYACTIONSOASIS_HXX +#pragma once #include "TransformerActionInit.hxx" #include "AttrTransformerAction.hxx" @@ -61,6 +60,4 @@ extern XMLTransformerActionInit const aTableCellPropertyOASISAttrActionTable[]; extern XMLTransformerActionInit const aListLevelPropertyOASISAttrActionTable[]; extern XMLTransformerActionInit const aChartPropertyOASISAttrActionTable[]; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPERTYACTIONSOASIS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/PropertyActionsOOo.hxx b/xmloff/source/transform/PropertyActionsOOo.hxx index 5353724f95d1..e88bb10968e3 100644 --- a/xmloff/source/transform/PropertyActionsOOo.hxx +++ b/xmloff/source/transform/PropertyActionsOOo.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPERTYACTIONSOOO_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPERTYACTIONSOOO_HXX +#pragma once #include "TransformerActionInit.hxx" #include "AttrTransformerAction.hxx" @@ -65,6 +64,4 @@ extern XMLTransformerActionInit const aListLevelPropertyOOoAttrActionTable[]; extern XMLTransformerActionInit const aChartPropertyOOoAttrActionTable[]; extern XMLTransformerActionInit const aChartPropertyOOoElemActionTable[]; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPERTYACTIONSOOO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/RenameElemTContext.hxx b/xmloff/source/transform/RenameElemTContext.hxx index b8e4f8d13a65..70fe9d682154 100644 --- a/xmloff/source/transform/RenameElemTContext.hxx +++ b/xmloff/source/transform/RenameElemTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_RENAMEELEMTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_RENAMEELEMTCONTEXT_HXX +#pragma once #include <xmloff/xmltoken.hxx> #include "TransformerContext.hxx" @@ -59,6 +58,4 @@ public: virtual void EndElement() override; }; -#endif // _XMLOFF_RENAMEELEMCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/StyleOASISTContext.hxx b/xmloff/source/transform/StyleOASISTContext.hxx index de30f695a069..0cc3cf2fd092 100644 --- a/xmloff/source/transform/StyleOASISTContext.hxx +++ b/xmloff/source/transform/StyleOASISTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_STYLEOASISTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_STYLEOASISTCONTEXT_HXX +#pragma once #include <rtl/ref.hxx> #include "DeepTContext.hxx" @@ -61,6 +60,4 @@ public: static XMLTransformerActions *CreateTransformerActions( sal_uInt16 nType ); }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_STYLEOASISTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/StyleOOoTContext.hxx b/xmloff/source/transform/StyleOOoTContext.hxx index e32c4781d6ae..f242d66c0c7f 100644 --- a/xmloff/source/transform/StyleOOoTContext.hxx +++ b/xmloff/source/transform/StyleOOoTContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_STYLEOOOTCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_STYLEOOOTCONTEXT_HXX +#pragma once #include <rtl/ref.hxx> #include "FamilyType.hxx" @@ -61,6 +60,4 @@ public: }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_STYLEOOOTCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/Transformer.hxx b/xmloff/source/transform/Transformer.hxx index 1b04aa44c0d1..84647a5b49db 100644 --- a/xmloff/source/transform/Transformer.hxx +++ b/xmloff/source/transform/Transformer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMER_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMER_HXX +#pragma once #include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> @@ -34,6 +33,4 @@ class XMLTransformer : public ::cppu::WeakImplHelper< { }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/TransformerAction.hxx b/xmloff/source/transform/TransformerAction.hxx index 32707a3d1a85..373e32a90b52 100644 --- a/xmloff/source/transform/TransformerAction.hxx +++ b/xmloff/source/transform/TransformerAction.hxx @@ -17,12 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTION_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTION_HXX +#pragma once #define XML_TACTION_EOT 0x0000 #define XML_TACTION_END 0xffff -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/TransformerActionInit.hxx b/xmloff/source/transform/TransformerActionInit.hxx index 330bb85f88b0..41ed6e77110e 100644 --- a/xmloff/source/transform/TransformerActionInit.hxx +++ b/xmloff/source/transform/TransformerActionInit.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTIONINIT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTIONINIT_HXX +#pragma once #include <xmloff/xmltoken.hxx> @@ -40,6 +39,4 @@ struct XMLTransformerActionInit } }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTIONINIT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/TransformerActions.hxx b/xmloff/source/transform/TransformerActions.hxx index 976290efc251..f80b06a1df3e 100644 --- a/xmloff/source/transform/TransformerActions.hxx +++ b/xmloff/source/transform/TransformerActions.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTIONS_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTIONS_HXX +#pragma once #include <rtl/ustring.hxx> #include <xmloff/namespacemap.hxx> @@ -129,6 +128,4 @@ public: void Add( XMLTransformerActionInit const *pInit ); }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx index 5296f6883241..ae360165e403 100644 --- a/xmloff/source/transform/TransformerBase.hxx +++ b/xmloff/source/transform/TransformerBase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERBASE_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERBASE_HXX +#pragma once #include <sal/config.h> @@ -177,6 +176,4 @@ public: }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERBASE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/TransformerContext.hxx b/xmloff/source/transform/TransformerContext.hxx index 954ebff55efe..97df7498a3a8 100644 --- a/xmloff/source/transform/TransformerContext.hxx +++ b/xmloff/source/transform/TransformerContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERCONTEXT_HXX +#pragma once #include <com/sun/star/xml/sax/XAttributeList.hpp> #include <salhelper/simplereferenceobject.hxx> @@ -97,6 +96,4 @@ public: }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERCONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/TransformerTokenMap.hxx b/xmloff/source/transform/TransformerTokenMap.hxx index e62555d5c753..ae810dc667eb 100644 --- a/xmloff/source/transform/TransformerTokenMap.hxx +++ b/xmloff/source/transform/TransformerTokenMap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERTOKENMAP_HXX -#define INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERTOKENMAP_HXX +#pragma once #include <rtl/ustring.hxx> #include <xmloff/xmltoken.hxx> @@ -30,6 +29,4 @@ public: explicit XMLTransformerTokenMap(::xmloff::token::XMLTokenEnum const* pInit); }; -#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERTOKENMAP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/SchemaContext.hxx b/xmloff/source/xforms/SchemaContext.hxx index e23ac37ebbbb..e6896e760cc1 100644 --- a/xmloff/source/xforms/SchemaContext.hxx +++ b/xmloff/source/xforms/SchemaContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_SCHEMACONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_SCHEMACONTEXT_HXX +#pragma once #include "TokenContext.hxx" #include <com/sun/star/uno/Reference.hxx> @@ -51,6 +50,4 @@ protected: const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/SchemaRestrictionContext.hxx b/xmloff/source/xforms/SchemaRestrictionContext.hxx index fdf7873b2a27..47cf4b088f44 100644 --- a/xmloff/source/xforms/SchemaRestrictionContext.hxx +++ b/xmloff/source/xforms/SchemaRestrictionContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_SCHEMARESTRICTIONCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_SCHEMARESTRICTIONCONTEXT_HXX +#pragma once #include "TokenContext.hxx" #include <com/sun/star/uno/Reference.hxx> @@ -58,6 +57,4 @@ private: const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/SchemaSimpleTypeContext.hxx b/xmloff/source/xforms/SchemaSimpleTypeContext.hxx index a64af99a6a7d..3489e2a6c7a6 100644 --- a/xmloff/source/xforms/SchemaSimpleTypeContext.hxx +++ b/xmloff/source/xforms/SchemaSimpleTypeContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_SCHEMASIMPLETYPECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_SCHEMASIMPLETYPECONTEXT_HXX +#pragma once #include "TokenContext.hxx" #include <com/sun/star/uno/Reference.hxx> @@ -52,6 +51,4 @@ protected: const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/TokenContext.hxx b/xmloff/source/xforms/TokenContext.hxx index 57865916ed5a..84ed18ab535e 100644 --- a/xmloff/source/xforms/TokenContext.hxx +++ b/xmloff/source/xforms/TokenContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_TOKENCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_TOKENCONTEXT_HXX +#pragma once #include <xmloff/xmlictxt.hxx> #include <xmloff/xmltkmap.hxx> @@ -72,6 +71,4 @@ protected: const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) = 0; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/XFormsBindContext.hxx b/xmloff/source/xforms/XFormsBindContext.hxx index dbdcd1e6d996..5aa78467401d 100644 --- a/xmloff/source/xforms/XFormsBindContext.hxx +++ b/xmloff/source/xforms/XFormsBindContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSBINDCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSBINDCONTEXT_HXX +#pragma once #include "TokenContext.hxx" #include <com/sun/star/uno/Reference.hxx> @@ -57,6 +56,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/XFormsInstanceContext.hxx b/xmloff/source/xforms/XFormsInstanceContext.hxx index 4727c0f4b042..7583c2da3bcd 100644 --- a/xmloff/source/xforms/XFormsInstanceContext.hxx +++ b/xmloff/source/xforms/XFormsInstanceContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSINSTANCECONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSINSTANCECONTEXT_HXX +#pragma once #include "TokenContext.hxx" #include <com/sun/star/uno/Reference.hxx> @@ -67,6 +66,4 @@ protected: const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/XFormsModelContext.hxx b/xmloff/source/xforms/XFormsModelContext.hxx index bcf7cd9bdc3c..0579850dfca6 100644 --- a/xmloff/source/xforms/XFormsModelContext.hxx +++ b/xmloff/source/xforms/XFormsModelContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSMODELCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSMODELCONTEXT_HXX +#pragma once #include "TokenContext.hxx" #include <com/sun/star/uno/Reference.hxx> @@ -52,6 +51,4 @@ protected: const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/XFormsModelExport.hxx b/xmloff/source/xforms/XFormsModelExport.hxx index b809c7e31104..03d83e97c922 100644 --- a/xmloff/source/xforms/XFormsModelExport.hxx +++ b/xmloff/source/xforms/XFormsModelExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSMODELEXPORT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSMODELEXPORT_HXX +#pragma once #include <sal/types.h> @@ -31,6 +30,4 @@ namespace com::sun::star { void exportXFormsModel( SvXMLExport&, const css::uno::Reference<css::beans::XPropertySet>& ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/XFormsSubmissionContext.hxx b/xmloff/source/xforms/XFormsSubmissionContext.hxx index 3d943ca29476..b000db0eb993 100644 --- a/xmloff/source/xforms/XFormsSubmissionContext.hxx +++ b/xmloff/source/xforms/XFormsSubmissionContext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSSUBMISSIONCONTEXT_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSSUBMISSIONCONTEXT_HXX +#pragma once #include "TokenContext.hxx" #include <com/sun/star/uno/Reference.hxx> @@ -52,6 +51,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/xformsapi.hxx b/xmloff/source/xforms/xformsapi.hxx index 4f9e4073aef6..d964b4d9263f 100644 --- a/xmloff/source/xforms/xformsapi.hxx +++ b/xmloff/source/xforms/xformsapi.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_XMLOFF_SOURCE_XFORMS_XFORMSAPI_HXX -#define INCLUDED_XMLOFF_SOURCE_XFORMS_XFORMSAPI_HXX +#pragma once // this is a collection of several functions to make dealing with the XForms @@ -81,6 +80,4 @@ OUString xforms_getBasicTypeName( const SvXMLNamespaceMap& rNamespaceMap, const OUString& rXMLName ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |