diff options
328 files changed, 328 insertions, 1299 deletions
diff --git a/filter/inc/strings.hrc b/filter/inc/strings.hrc index 3f1eaeac78ac..b1bea27dec47 100644 --- a/filter/inc/strings.hrc +++ b/filter/inc/strings.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_INC_STRINGS_HRC -#define INCLUDED_FILTER_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) @@ -74,6 +73,4 @@ #define STR_ERR_SIGNATURE_FAILED NC_("STR_ERR_SIGNATURE_FAILED", "Signature generation failed") #define STR_ERR_PDF_EXPORT_ABORTED NC_("STR_ERR_PDF_EXPORT_ABORTED", "PDF export aborted") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/inc/strings.hxx b/filter/inc/strings.hxx index c405e61121ab..df622a59cb11 100644 --- a/filter/inc/strings.hxx +++ b/filter/inc/strings.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FILTER_INC_STRINGS_HXX -#define INCLUDED_FILTER_INC_STRINGS_HXX +#pragma once #define STR_APPL_NAME_WRITER "%PRODUCTNAME Writer (.sxw)" #define STR_APPL_NAME_CALC "%PRODUCTNAME Calc (.sxc)" @@ -20,6 +19,4 @@ #define STR_APPL_NAME_OASIS_DRAW "%PRODUCTNAME Draw (.odg)" #define STR_DEFAULT_EXTENSION "xml" -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx index 7ba811ccc060..001c304ffaed 100644 --- a/filter/source/config/cache/basecontainer.hxx +++ b/filter/source/config/cache/basecontainer.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_BASECONTAINER_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_BASECONTAINER_HXX +#pragma once #include <memory> @@ -258,6 +257,4 @@ class BaseContainer : public BaseLock } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_BASECONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx index aeaaf3a83afb..f0c3558da856 100644 --- a/filter/source/config/cache/cacheitem.hxx +++ b/filter/source/config/cache/cacheitem.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEITEM_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEITEM_HXX +#pragma once #include <unordered_map> #include <com/sun/star/uno/Sequence.h> @@ -189,6 +188,4 @@ typedef ::std::vector< FlatDetectionInfo > FlatDetection; } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEITEM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/cacheupdatelistener.hxx b/filter/source/config/cache/cacheupdatelistener.hxx index 714e4016ba51..9567b3bd3042 100644 --- a/filter/source/config/cache/cacheupdatelistener.hxx +++ b/filter/source/config/cache/cacheupdatelistener.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEUPDATELISTENER_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEUPDATELISTENER_HXX +#pragma once #include "filtercache.hxx" #include <com/sun/star/util/XChangesListener.hpp> @@ -109,6 +108,4 @@ class CacheUpdateListener : public BaseLock // must be the first one to guarante } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CACHEUPDATELISTENER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/configflush.hxx b/filter/source/config/cache/configflush.hxx index f3e284556681..05edb639c886 100644 --- a/filter/source/config/cache/configflush.hxx +++ b/filter/source/config/cache/configflush.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONFIGFLUSH_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONFIGFLUSH_HXX +#pragma once #include "cacheitem.hxx" #include <com/sun/star/util/XRefreshable.hpp> @@ -87,6 +86,4 @@ class ConfigFlush final : public BaseLock } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONFIGFLUSH_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/constant.hxx b/filter/source/config/cache/constant.hxx index 820c16953831..737e9ccd1b1c 100644 --- a/filter/source/config/cache/constant.hxx +++ b/filter/source/config/cache/constant.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX +#pragma once /* disable impl_loadOnDemand function of BaseContainer for certain functions, where it the feature "impl_loadItemOnDemand() of class FilterCache @@ -150,6 +149,4 @@ #define QUERY_PARAM_DEFAULTFIRST "default_first" #define QUERY_CONSTVALUE_ALL "all" -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONSTANT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/contenthandlerfactory.hxx b/filter/source/config/cache/contenthandlerfactory.hxx index bc6f17ba4b45..5c3ecd76019c 100644 --- a/filter/source/config/cache/contenthandlerfactory.hxx +++ b/filter/source/config/cache/contenthandlerfactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONTENTHANDLERFACTORY_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONTENTHANDLERFACTORY_HXX +#pragma once #include "basecontainer.hxx" #include <com/sun/star/frame/XLoaderFactory.hpp> @@ -97,6 +96,4 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_CONTENTHANDLERFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index 243c192a8072..66d07467f6f3 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERCACHE_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERCACHE_HXX +#pragma once #include <memory> @@ -938,6 +937,4 @@ struct TheFilterCache: public rtl::Static<FilterCache, TheFilterCache> {}; } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERCACHE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/filterfactory.hxx b/filter/source/config/cache/filterfactory.hxx index 77d1b426d08e..19abea5d6db0 100644 --- a/filter/source/config/cache/filterfactory.hxx +++ b/filter/source/config/cache/filterfactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERFACTORY_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERFACTORY_HXX +#pragma once #include "basecontainer.hxx" #include "querytokenizer.hxx" @@ -133,6 +132,4 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FILTERFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/frameloaderfactory.hxx b/filter/source/config/cache/frameloaderfactory.hxx index a1aa859e1555..2b9098b1a8e2 100644 --- a/filter/source/config/cache/frameloaderfactory.hxx +++ b/filter/source/config/cache/frameloaderfactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FRAMELOADERFACTORY_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FRAMELOADERFACTORY_HXX +#pragma once #include "basecontainer.hxx" #include <com/sun/star/frame/XLoaderFactory.hpp> @@ -96,6 +95,4 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_FRAMELOADERFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/querytokenizer.hxx b/filter/source/config/cache/querytokenizer.hxx index f5dbf7623650..e0b8d5218130 100644 --- a/filter/source/config/cache/querytokenizer.hxx +++ b/filter/source/config/cache/querytokenizer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_QUERYTOKENIZER_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_QUERYTOKENIZER_HXX +#pragma once #include <rtl/ustring.hxx> #include <unordered_map> @@ -90,6 +89,4 @@ class QueryTokenizer : public std::unordered_map< OUString, OUString > } // namespace filter::config -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_QUERYTOKENIZER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx index b0281d5f983d..21f598055fda 100644 --- a/filter/source/config/cache/typedetection.hxx +++ b/filter/source/config/cache/typedetection.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_TYPEDETECTION_HXX -#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_TYPEDETECTION_HXX +#pragma once #include "basecontainer.hxx" #include <com/sun/star/document/XTypeDetection.hpp> @@ -360,6 +359,4 @@ public: } -#endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_TYPEDETECTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphic/GraphicExportFilter.hxx b/filter/source/graphic/GraphicExportFilter.hxx index d9d4c5a898ac..6e2a30448817 100644 --- a/filter/source/graphic/GraphicExportFilter.hxx +++ b/filter/source/graphic/GraphicExportFilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHIC_GRAPHICEXPORTFILTER_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHIC_GRAPHICEXPORTFILTER_HXX +#pragma once #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XExporter.hpp> @@ -77,6 +76,4 @@ public: virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any > & rArguments ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/bitmap.hxx b/filter/source/graphicfilter/icgm/bitmap.hxx index 2fb7de98b32f..3e7b80f5177f 100644 --- a/filter/source/graphicfilter/icgm/bitmap.hxx +++ b/filter/source/graphicfilter/icgm/bitmap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BITMAP_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BITMAP_HXX +#pragma once #include "cgm.hxx" #include <vcl/bitmapex.hxx> @@ -78,6 +77,5 @@ public: CGMBitmapDescriptor* GetBitmap() { return pCGMBitmapDescriptor.get();} std::unique_ptr<CGMBitmap> GetNext(); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/bundles.hxx b/filter/source/graphicfilter/icgm/bundles.hxx index a884937f8dae..209eae6dd396 100644 --- a/filter/source/graphicfilter/icgm/bundles.hxx +++ b/filter/source/graphicfilter/icgm/bundles.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BUNDLES_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BUNDLES_HXX +#pragma once #include <sal/types.h> #include "cgmtypes.hxx" @@ -164,6 +163,4 @@ public: void InsertCharSet( sal_uInt8 const * pSource, sal_uInt32 nSize ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx index 3f9c88dde649..7709b743d4f0 100644 --- a/filter/source/graphicfilter/icgm/cgm.hxx +++ b/filter/source/graphicfilter/icgm/cgm.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CGM_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CGM_HXX +#pragma once #include <com/sun/star/frame/XModel.hpp> @@ -137,6 +136,5 @@ class CGM bool Write( SvStream& rIStm ); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/cgmtypes.hxx b/filter/source/graphicfilter/icgm/cgmtypes.hxx index e78d2757a8d3..5b7def212842 100644 --- a/filter/source/graphicfilter/icgm/cgmtypes.hxx +++ b/filter/source/graphicfilter/icgm/cgmtypes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CGMTYPES_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CGMTYPES_HXX +#pragma once #include <tools/long.hxx> @@ -125,6 +124,4 @@ enum FillInteriorStyle { FIS_HOLLOW = 0, FIS_SOLID = 1, FIS_PATTERN = 2, FIS_HA FIS_INTERPOLATED = 6, FIS_GRADIENT = 7 }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/chart.hxx b/filter/source/graphicfilter/icgm/chart.hxx index 96b715b9a879..ef77ace0e22f 100644 --- a/filter/source/graphicfilter/icgm/chart.hxx +++ b/filter/source/graphicfilter/icgm/chart.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CHART_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_CHART_HXX +#pragma once #include <sal/types.h> @@ -82,6 +81,4 @@ class CGMChart final bool IsAnnotation() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/elements.hxx b/filter/source/graphicfilter/icgm/elements.hxx index 8a7812cb699c..3f4bd710a4f2 100644 --- a/filter/source/graphicfilter/icgm/elements.hxx +++ b/filter/source/graphicfilter/icgm/elements.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_ELEMENTS_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_ELEMENTS_HXX +#pragma once #include "bundles.hxx" #include "cgmtypes.hxx" @@ -134,6 +133,4 @@ class CGMElements static void CopyAllBundles( const BundleList& Source, BundleList& Dest ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/graphicfilter/icgm/outact.hxx b/filter/source/graphicfilter/icgm/outact.hxx index 2364c787fea1..b06fffda8cc0 100644 --- a/filter/source/graphicfilter/icgm/outact.hxx +++ b/filter/source/graphicfilter/icgm/outact.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_OUTACT_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_OUTACT_HXX +#pragma once #include <com/sun/star/awt/Gradient.hpp> #include <com/sun/star/document/XActionLockable.hpp> @@ -106,6 +105,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx index fc1522c79dca..2ca7ab467b6f 100644 --- a/filter/source/msfilter/eschesdo.hxx +++ b/filter/source/msfilter/eschesdo.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_MSFILTER_ESCHESDO_HXX -#define INCLUDED_FILTER_SOURCE_MSFILTER_ESCHESDO_HXX +#pragma once #include <filter/msfilter/escherex.hxx> #include <o3tl/any.hxx> #include <vcl/mapmod.hxx> @@ -139,6 +138,4 @@ public: }; -#endif // INCLUDED_FILTER_SOURCE_MSFILTER_ESCHESDO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/msfilter/viscache.hxx b/filter/source/msfilter/viscache.hxx index e669423ebfc9..5111969b3f9e 100644 --- a/filter/source/msfilter/viscache.hxx +++ b/filter/source/msfilter/viscache.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX -#define INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX +#pragma once #include <memory> #include <sfx2/objsh.hxx> @@ -50,6 +49,4 @@ public: void Write( SvStream & rStm ); }; -#endif // INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index 17fb57890655..b11ee000a970 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_IMPDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_PDF_IMPDIALOG_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -414,6 +413,4 @@ public: void SetFilterConfigItem( const ImpPDFTabDialog* paParent ); }; -#endif // INCLUDED_FILTER_SOURCE_PDF_IMPDIALOG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/pdfdialog.hxx b/filter/source/pdf/pdfdialog.hxx index 463307a857f2..40f0d361215b 100644 --- a/filter/source/pdf/pdfdialog.hxx +++ b/filter/source/pdf/pdfdialog.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_PDFDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_PDF_PDFDIALOG_HXX +#pragma once #include <svtools/genericunodialog.hxx> @@ -72,6 +71,4 @@ public: virtual ~PDFDialog() override; }; -#endif // INCLUDED_FILTER_SOURCE_PDF_PDFDIALOG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/pdfexport.hxx b/filter/source/pdf/pdfexport.hxx index 54784cce1abb..967668e7421b 100644 --- a/filter/source/pdf/pdfexport.hxx +++ b/filter/source/pdf/pdfexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_PDFEXPORT_HXX -#define INCLUDED_FILTER_SOURCE_PDF_PDFEXPORT_HXX +#pragma once #include <tools/multisel.hxx> #include <vcl/pdfwriter.hxx> @@ -143,6 +142,4 @@ public: void showErrors( const std::set<vcl::PDFWriter::ErrorCode>& ); }; -#endif // INCLUDED_FILTER_SOURCE_PDF_PDFEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/pdffilter.hxx b/filter/source/pdf/pdffilter.hxx index afd2b6d571be..28869272c1e8 100644 --- a/filter/source/pdf/pdffilter.hxx +++ b/filter/source/pdf/pdffilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_PDFFILTER_HXX -#define INCLUDED_FILTER_SOURCE_PDF_PDFFILTER_HXX +#pragma once #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XExporter.hpp> @@ -67,7 +66,5 @@ public: virtual ~PDFFilter() override; }; -#endif // INCLUDED_FILTER_SOURCE_PDF_PDFFILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/pdf/pdfinteract.hxx b/filter/source/pdf/pdfinteract.hxx index 9ad7405a3f56..0af5c260b9ea 100644 --- a/filter/source/pdf/pdfinteract.hxx +++ b/filter/source/pdf/pdfinteract.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_PDF_PDFINTERACT_HXX -#define INCLUDED_FILTER_SOURCE_PDF_PDFINTERACT_HXX +#pragma once #include <cppuhelper/implbase.hxx> @@ -59,6 +58,4 @@ public: virtual ~PDFInteractionHandler() override; }; -#endif // INCLUDED_FILTER_SOURCE_PDF_PDFINTERACT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/storagefilterdetect/filterdetect.hxx b/filter/source/storagefilterdetect/filterdetect.hxx index 27556f376297..0b7849f2d979 100644 --- a/filter/source/storagefilterdetect/filterdetect.hxx +++ b/filter/source/storagefilterdetect/filterdetect.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_STORAGEFILTERDETECT_FILTERDETECT_HXX -#define INCLUDED_FILTER_SOURCE_STORAGEFILTERDETECT_FILTERDETECT_HXX +#pragma once #include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -54,6 +53,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx index 69a90d6e070d..4c2f8229922b 100644 --- a/filter/source/svg/svgfilter.hxx +++ b/filter/source/svg/svgfilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX -#define INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX +#pragma once #include <memory> @@ -314,6 +313,4 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; }; -#endif // INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/svg/svgfontexport.hxx b/filter/source/svg/svgfontexport.hxx index 8b9f5440fa40..c5f6bd2411db 100644 --- a/filter/source/svg/svgfontexport.hxx +++ b/filter/source/svg/svgfontexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_SVG_SVGFONTEXPORT_HXX -#define INCLUDED_FILTER_SOURCE_SVG_SVGFONTEXPORT_HXX +#pragma once #include <sal/config.h> @@ -70,6 +69,4 @@ public: OUString GetMappedFontName( const OUString& rFontName ) const; }; -#endif // INCLUDED_FILTER_SOURCE_SVG_SVGFONTEXPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx index 993d1162fcf3..30799453c616 100644 --- a/filter/source/svg/svgwriter.hxx +++ b/filter/source/svg/svgwriter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_SVG_SVGWRITER_HXX -#define INCLUDED_FILTER_SOURCE_SVG_SVGWRITER_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include <rtl/ustring.hxx> @@ -402,6 +401,4 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; }; -#endif // INCLUDED_FILTER_SOURCE_SVG_SVGWRITER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/svg/test/odfserializer.hxx b/filter/source/svg/test/odfserializer.hxx index 8bce673b40a2..2724c9f0a57d 100644 --- a/filter/source/svg/test/odfserializer.hxx +++ b/filter/source/svg/test/odfserializer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_SVG_TEST_ODFSERIALIZER_HXX -#define INCLUDED_FILTER_SOURCE_SVG_TEST_ODFSERIALIZER_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> @@ -31,6 +30,4 @@ css::uno::Reference<css::xml::sax::XDocumentHandler> createSerializer(const css::uno::Reference<css::io::XOutputStream>&); } -#endif // INCLUDED_FILTER_SOURCE_SVG_TEST_ODFSERIALIZER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx index 7ac81429a2c2..e9ec3a58e4e3 100644 --- a/filter/source/t602/t602filter.hxx +++ b/filter/source/t602/t602filter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_T602_T602FILTER_HXX -#define INCLUDED_FILTER_SOURCE_T602_T602FILTER_HXX +#pragma once #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XImporter.hpp> @@ -252,6 +251,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/textfilterdetect/filterdetect.hxx b/filter/source/textfilterdetect/filterdetect.hxx index 64a65aa440f1..a981d869faec 100644 --- a/filter/source/textfilterdetect/filterdetect.hxx +++ b/filter/source/textfilterdetect/filterdetect.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_TEXTFILTERDETECT_FILTERDETECT_HXX -#define INCLUDED_FILTER_SOURCE_TEXTFILTERDETECT_FILTERDETECT_HXX +#pragma once #include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -57,6 +56,4 @@ OUString PlainTextFilterDetect_getImplementationName(); css::uno::Sequence<OUString> PlainTextFilterDetect_getSupportedServiceNames(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx index e6b97f041db3..43db4e939ba7 100644 --- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx +++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XMLFILTERADAPTOR_XMLFILTERADAPTOR_HXX -#define INCLUDED_FILTER_SOURCE_XMLFILTERADAPTOR_XMLFILTERADAPTOR_HXX +#pragma once #include <com/sun/star/document/XFilter.hpp> @@ -103,6 +102,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xmlfilterdetect/filterdetect.hxx b/filter/source/xmlfilterdetect/filterdetect.hxx index 9ba2121810ed..61b6dfaf53ee 100644 --- a/filter/source/xmlfilterdetect/filterdetect.hxx +++ b/filter/source/xmlfilterdetect/filterdetect.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XMLFILTERDETECT_FILTERDETECT_HXX -#define INCLUDED_FILTER_SOURCE_XMLFILTERDETECT_FILTERDETECT_HXX +#pragma once #include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -56,6 +55,4 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/typedetectionexport.hxx b/filter/source/xsltdialog/typedetectionexport.hxx index b38b3306dca6..a253540bb673 100644 --- a/filter/source/xsltdialog/typedetectionexport.hxx +++ b/filter/source/xsltdialog/typedetectionexport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_TYPEDETECTIONEXPORT_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_TYPEDETECTIONEXPORT_HXX +#pragma once #include <com/sun/star/xml/sax/XWriter.hpp> #include <com/sun/star/io/XOutputStream.hpp> @@ -39,6 +38,4 @@ private: css::uno::Reference< css::uno::XComponentContext > mxContext; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/typedetectionimport.hxx b/filter/source/xsltdialog/typedetectionimport.hxx index 1771eef77e5e..3b69ef9afb22 100644 --- a/filter/source/xsltdialog/typedetectionimport.hxx +++ b/filter/source/xsltdialog/typedetectionimport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_TYPEDETECTIONIMPORT_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_TYPEDETECTIONIMPORT_HXX +#pragma once #include <com/sun/star/io/XInputStream.hpp> #include <cppuhelper/implbase.hxx> @@ -89,6 +88,5 @@ private: OUString maNodeName; OUString maPropertyName; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltercommon.hxx b/filter/source/xsltdialog/xmlfiltercommon.hxx index 53f9592b76b0..9a65974f2606 100644 --- a/filter/source/xsltdialog/xmlfiltercommon.hxx +++ b/filter/source/xsltdialog/xmlfiltercommon.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERCOMMON_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERCOMMON_HXX +#pragma once #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XOutputStream.hpp> @@ -80,6 +79,4 @@ extern OUString getApplicationUIName( std::u16string_view rServiceName ); extern const application_info_impl* getApplicationInfo( std::u16string_view rServiceName ); OUString XsltResId(const char* pId); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfilterjar.hxx b/filter/source/xsltdialog/xmlfilterjar.hxx index 7e469fb202fb..6f02e5f99de0 100644 --- a/filter/source/xsltdialog/xmlfilterjar.hxx +++ b/filter/source/xsltdialog/xmlfilterjar.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERJAR_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERJAR_HXX +#pragma once #include <com/sun/star/container/XHierarchicalNameAccess.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> @@ -49,6 +48,4 @@ private: OUString sProgPath; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx index bfef03b29e28..114d32d12e21 100644 --- a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERSETTINGSDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERSETTINGSDIALOG_HXX +#pragma once #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -95,6 +94,4 @@ private: std::unique_ptr<weld::TreeView> m_xFilterListBox; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.hxx b/filter/source/xsltdialog/xmlfiltertabdialog.hxx index 05d576103924..e764102b01f7 100644 --- a/filter/source/xsltdialog/xmlfiltertabdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltertabdialog.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABDIALOG_HXX +#pragma once #include <com/sun/star/uno/XComponentContext.hpp> #include <vcl/weld.hxx> @@ -52,6 +51,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx b/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx index e3b96e51550c..c11a4c69ef04 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEBASIC_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEBASIC_HXX +#pragma once #include <vcl/weld.hxx> @@ -41,6 +40,4 @@ public: std::unique_ptr<weld::TextView> m_xEDDescription; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx index 142c27a119f2..8eed194b849f 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEXSLT_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEXSLT_HXX +#pragma once #include <vcl/weld.hxx> #include <svtools/inettbc.hxx> @@ -55,6 +54,4 @@ public: std::unique_ptr<weld::CheckButton> m_xCBNeedsXSLT2; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.hxx b/filter/source/xsltdialog/xmlfiltertestdialog.hxx index 4bf66989346b..bce1e19e1d3e 100644 --- a/filter/source/xsltdialog/xmlfiltertestdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltertestdialog.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTESTDIALOG_HXX -#define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTESTDIALOG_HXX +#pragma once #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/document/XDocumentEventBroadcaster.hpp> @@ -79,6 +78,4 @@ private: std::unique_ptr<weld::Button> m_xPBClose; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltfilter/LibXSLTTransformer.hxx b/filter/source/xsltfilter/LibXSLTTransformer.hxx index ac922a4598f5..6da4a11e1adb 100644 --- a/filter/source/xsltfilter/LibXSLTTransformer.hxx +++ b/filter/source/xsltfilter/LibXSLTTransformer.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTFILTER_LIBXSLTTRANSFORMER_HXX -#define INCLUDED_FILTER_SOURCE_XSLTFILTER_LIBXSLTTRANSFORMER_HXX +#pragma once #include <deque> #include <map> @@ -180,5 +179,4 @@ namespace XSLT }; } -#endif // INCLUDED_FILTER_SOURCE_XSLTFILTER_LIBXSLTTRANSFORMER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/xsltfilter/OleHandler.hxx b/filter/source/xsltfilter/OleHandler.hxx index 1fd00aa39ab7..485541ee1f3b 100644 --- a/filter/source/xsltfilter/OleHandler.hxx +++ b/filter/source/xsltfilter/OleHandler.hxx @@ -8,8 +8,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FILTER_SOURCE_XSLTFILTER_OLEHANDLER_HXX -#define INCLUDED_FILTER_SOURCE_XSLTFILTER_OLEHANDLER_HXX +#pragma once #include <cstdio> #include <cstring> #include <map> @@ -90,6 +89,4 @@ namespace XSLT }; } -#endif // INCLUDED_FILTER_SOURCE_XSLTFILTER_OLEHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/inc/strings.hrc b/forms/inc/strings.hrc index 56f8f3d3217b..c3b7447fbc84 100644 --- a/forms/inc/strings.hrc +++ b/forms/inc/strings.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_STRINGS_HRC -#define INCLUDED_VCL_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) @@ -82,6 +81,4 @@ #define RID_STR_XFORMS_BINDING_UI_NAME NC_("RID_STR_XFORMS_BINDING_UI_NAME", "Binding" ) #define RID_STR_XFORMS_CANT_REMOVE_TYPE NC_("RID_STR_XFORMS_CANT_REMOVE_TYPE", "This is a built-in type and cannot be removed." ) -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/BaseListBox.hxx b/forms/source/component/BaseListBox.hxx index 1e3ee87a1136..fe0930ea70d1 100644 --- a/forms/source/component/BaseListBox.hxx +++ b/forms/source/component/BaseListBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX +#pragma once #include <sal/types.h> @@ -28,6 +27,4 @@ const sal_uInt16 ENTRY_NOT_FOUND = 0xFFFF; const sal_uInt16 BOUNDCOLUMN = 0x0001; } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx index 3fc0240d9483..7b88717cc5c3 100644 --- a/forms/source/component/ComboBox.hxx +++ b/forms/source/component/ComboBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX +#pragma once #include <memory> #include <FormComponent.hxx> @@ -136,6 +135,4 @@ public: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx index 651d830ace92..a2bf28d6214c 100644 --- a/forms/source/component/File.hxx +++ b/forms/source/component/File.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX +#pragma once #include <FormComponent.hxx> @@ -86,6 +85,4 @@ protected: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Filter.hxx b/forms/source/component/Filter.hxx index ed05f01f27e4..8561d2f5d5af 100644 --- a/forms/source/component/Filter.hxx +++ b/forms/source/component/Filter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX +#pragma once #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -136,6 +135,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/FixedText.hxx b/forms/source/component/FixedText.hxx index 58c2a8a07092..a6d6f0b2d5c1 100644 --- a/forms/source/component/FixedText.hxx +++ b/forms/source/component/FixedText.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX +#pragma once #include <FormComponent.hxx> @@ -58,6 +57,4 @@ protected: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx index 1d35060e0588..e1520cd6ee47 100644 --- a/forms/source/component/FormattedField.hxx +++ b/forms/source/component/FormattedField.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX +#pragma once #include "EditBase.hxx" #include <tools/link.hxx> @@ -172,6 +171,5 @@ class OFormattedModel final DECL_LINK( OnKeyPressed, void*, void ); }; } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/FormattedFieldWrapper.hxx b/forms/source/component/FormattedFieldWrapper.hxx index 1ef0d2d0f761..b34db4148531 100644 --- a/forms/source/component/FormattedFieldWrapper.hxx +++ b/forms/source/component/FormattedFieldWrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX +#pragma once #include <comphelper/uno3.hxx> #include <cppuhelper/implbase3.hxx> @@ -85,6 +84,4 @@ private: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/FormsCollection.hxx b/forms/source/component/FormsCollection.hxx index 994eda6469f6..6a97148af0ba 100644 --- a/forms/source/component/FormsCollection.hxx +++ b/forms/source/component/FormsCollection.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX +#pragma once #include <InterfaceContainer.hxx> #include <cppuhelper/component.hxx> @@ -147,6 +146,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Grid.hxx b/forms/source/component/Grid.hxx index 1f57b32fef69..523a8132db68 100644 --- a/forms/source/component/Grid.hxx +++ b/forms/source/component/Grid.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX +#pragma once #include "errorbroadcaster.hxx" #include <FormComponent.hxx> @@ -190,6 +189,4 @@ private: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/GroupBox.hxx b/forms/source/component/GroupBox.hxx index f761b77ab7bc..00f4523aad07 100644 --- a/forms/source/component/GroupBox.hxx +++ b/forms/source/component/GroupBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX +#pragma once #include <FormComponent.hxx> @@ -73,6 +72,4 @@ public: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx index d3734b751d28..9365d1b44ea8 100644 --- a/forms/source/component/GroupManager.hxx +++ b/forms/source/component/GroupManager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX +#pragma once #include <com/sun/star/awt/XControlModel.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -192,6 +191,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Hidden.hxx b/forms/source/component/Hidden.hxx index 7ff7d860f917..9ed34f3e406f 100644 --- a/forms/source/component/Hidden.hxx +++ b/forms/source/component/Hidden.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX +#pragma once #include <FormComponent.hxx> @@ -67,6 +66,4 @@ protected: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/ImageButton.hxx b/forms/source/component/ImageButton.hxx index 8f618c47c13c..d3d248566944 100644 --- a/forms/source/component/ImageButton.hxx +++ b/forms/source/component/ImageButton.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX +#pragma once #include "clickableimage.hxx" #include <com/sun/star/awt/XMouseListener.hpp> @@ -92,6 +91,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx index 01ae8018a24f..8776d891e83a 100644 --- a/forms/source/component/ImageControl.hxx +++ b/forms/source/component/ImageControl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX +#pragma once #include <FormComponent.hxx> #include "imgprod.hxx" @@ -186,6 +185,4 @@ private: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx index c0ad179d39f5..046717202b2e 100644 --- a/forms/source/component/ListBox.hxx +++ b/forms/source/component/ListBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX +#pragma once #include <FormComponent.hxx> #include "cachedrowset.hxx" @@ -322,6 +321,4 @@ private: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Numeric.hxx b/forms/source/component/Numeric.hxx index 6278b3e3b76c..6a77cc556dce 100644 --- a/forms/source/component/Numeric.hxx +++ b/forms/source/component/Numeric.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX +#pragma once #include "EditBase.hxx" @@ -79,6 +78,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Pattern.hxx b/forms/source/component/Pattern.hxx index 80ce81639255..d7cfa9d09f0d 100644 --- a/forms/source/component/Pattern.hxx +++ b/forms/source/component/Pattern.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX +#pragma once #include "EditBase.hxx" @@ -85,6 +84,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/RadioButton.hxx b/forms/source/component/RadioButton.hxx index ab4e996a8600..b85a0a27ef9f 100644 --- a/forms/source/component/RadioButton.hxx +++ b/forms/source/component/RadioButton.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX +#pragma once #include "refvaluecomponent.hxx" @@ -84,6 +83,4 @@ public: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx index cc9ef1136042..d1187d39f318 100644 --- a/forms/source/component/Time.hxx +++ b/forms/source/component/Time.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX +#pragma once #include "EditBase.hxx" #include <limitedformats.hxx> @@ -106,6 +105,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/findpos.hxx b/forms/source/component/findpos.hxx index b279558fdab0..2a40bc3ca958 100644 --- a/forms/source/component/findpos.hxx +++ b/forms/source/component/findpos.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FINDPOS_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_FINDPOS_HXX +#pragma once #include <sal/config.h> #include <com/sun/star/uno/Sequence.hxx> @@ -29,6 +28,4 @@ namespace detail sal_Int32 findPos(const OUString& aStr, const css::uno::Sequence<OUString>& rList); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/imgprod.hxx b/forms/source/component/imgprod.hxx index eff824b90ea8..45a0fa89baa7 100644 --- a/forms/source/component/imgprod.hxx +++ b/forms/source/component/imgprod.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX +#pragma once #include <tools/link.hxx> #include <com/sun/star/awt/XImageConsumer.hpp> @@ -87,6 +86,4 @@ public: }; -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/navigationbar.hxx b/forms/source/component/navigationbar.hxx index af55f64e4b1f..fade59422f8c 100644 --- a/forms/source/component/navigationbar.hxx +++ b/forms/source/component/navigationbar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX +#pragma once #include <FormComponent.hxx> #include <comphelper/propertycontainerhelper.hxx> @@ -107,6 +106,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/refvaluecomponent.hxx b/forms/source/component/refvaluecomponent.hxx index 958837ffcc18..09131c172bf7 100644 --- a/forms/source/component/refvaluecomponent.hxx +++ b/forms/source/component/refvaluecomponent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX +#pragma once #include <FormComponent.hxx> #include <togglestate.hxx> @@ -81,6 +80,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/scrollbar.hxx b/forms/source/component/scrollbar.hxx index e79338e373a4..356d101be40e 100644 --- a/forms/source/component/scrollbar.hxx +++ b/forms/source/component/scrollbar.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX +#pragma once #include <FormComponent.hxx> @@ -82,6 +81,4 @@ namespace frm } // namespacefrm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/spinbutton.hxx b/forms/source/component/spinbutton.hxx index 9f79ce1d94a1..2579c322d733 100644 --- a/forms/source/component/spinbutton.hxx +++ b/forms/source/component/spinbutton.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX +#pragma once #include <FormComponent.hxx> @@ -78,6 +77,4 @@ namespace frm } // namespacefrm -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index 5ac06a927660..0310e3455a02 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FORMCOMPONENT_HXX -#define INCLUDED_FORMS_SOURCE_INC_FORMCOMPONENT_HXX +#pragma once #include "cloneable.hxx" #include "propertybaghelper.hxx" @@ -1235,6 +1234,4 @@ private: } -#endif // INCLUDED_FORMS_SOURCE_INC_FORMCOMPONENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx index 690b93d49da6..da55f0ebebb1 100644 --- a/forms/source/inc/InterfaceContainer.hxx +++ b/forms/source/inc/InterfaceContainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_INTERFACECONTAINER_HXX -#define INCLUDED_FORMS_SOURCE_INC_INTERFACECONTAINER_HXX +#pragma once #include <comphelper/uno3.hxx> #include <com/sun/star/container/XNameContainer.hpp> @@ -299,6 +298,4 @@ public: } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_INTERFACECONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/cloneable.hxx b/forms/source/inc/cloneable.hxx index e920650a516c..e161ad8c095a 100644 --- a/forms/source/inc/cloneable.hxx +++ b/forms/source/inc/cloneable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_CLONEABLE_HXX -#define INCLUDED_FORMS_SOURCE_INC_CLONEABLE_HXX +#pragma once #include <com/sun/star/uno/XAggregation.hpp> @@ -39,6 +38,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_CLONEABLE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/commandimageprovider.hxx b/forms/source/inc/commandimageprovider.hxx index 3a67df02256a..02742b5a99bf 100644 --- a/forms/source/inc/commandimageprovider.hxx +++ b/forms/source/inc/commandimageprovider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_COMMANDIMAGEPROVIDER_HXX -#define INCLUDED_FORMS_SOURCE_INC_COMMANDIMAGEPROVIDER_HXX +#pragma once #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -51,6 +50,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_COMMANDIMAGEPROVIDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/componenttools.hxx b/forms/source/inc/componenttools.hxx index f684ec572220..8c7fd8a8d54e 100644 --- a/forms/source/inc/componenttools.hxx +++ b/forms/source/inc/componenttools.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_COMPONENTTOOLS_HXX -#define INCLUDED_FORMS_SOURCE_INC_COMPONENTTOOLS_HXX +#pragma once #include <com/sun/star/uno/Type.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -82,6 +81,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_COMPONENTTOOLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/controlfeatureinterception.hxx b/forms/source/inc/controlfeatureinterception.hxx index 294d777dc0d4..1e58ffb63233 100644 --- a/forms/source/inc/controlfeatureinterception.hxx +++ b/forms/source/inc/controlfeatureinterception.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_CONTROLFEATUREINTERCEPTION_HXX -#define INCLUDED_FORMS_SOURCE_INC_CONTROLFEATUREINTERCEPTION_HXX +#pragma once #include <com/sun/star/frame/XDispatchProviderInterceptor.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -85,6 +84,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_CONTROLFEATUREINTERCEPTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/featuredispatcher.hxx b/forms/source/inc/featuredispatcher.hxx index 12fbe44ff5fd..33f4610be4b6 100644 --- a/forms/source/inc/featuredispatcher.hxx +++ b/forms/source/inc/featuredispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FEATUREDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_INC_FEATUREDISPATCHER_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Any.hxx> @@ -99,6 +98,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_FEATUREDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/formcontrolfont.hxx b/forms/source/inc/formcontrolfont.hxx index b6d9ea55d1a2..2cb2a9201319 100644 --- a/forms/source/inc/formcontrolfont.hxx +++ b/forms/source/inc/formcontrolfont.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FORMCONTROLFONT_HXX -#define INCLUDED_FORMS_SOURCE_INC_FORMCONTROLFONT_HXX +#pragma once #include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/beans/Property.hpp> @@ -94,6 +93,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_FORMCONTROLFONT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/formnavigation.hxx b/forms/source/inc/formnavigation.hxx index 5a25dd89667e..3ca32a996add 100644 --- a/forms/source/inc/formnavigation.hxx +++ b/forms/source/inc/formnavigation.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FORMNAVIGATION_HXX -#define INCLUDED_FORMS_SOURCE_INC_FORMNAVIGATION_HXX +#pragma once #include <com/sun/star/frame/XDispatchProviderInterception.hpp> #include <com/sun/star/frame/XStatusListener.hpp> @@ -215,6 +214,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_FORMNAVIGATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/frm_resource.hxx b/forms/source/inc/frm_resource.hxx index 529d0f43b391..f56c6e3cfd76 100644 --- a/forms/source/inc/frm_resource.hxx +++ b/forms/source/inc/frm_resource.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX -#define INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX +#pragma once #include <rtl/ustring.hxx> @@ -37,6 +36,4 @@ namespace frm } -#endif // INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/frm_strings.hxx b/forms/source/inc/frm_strings.hxx index 06d3f8cb148b..d0558f80b450 100644 --- a/forms/source/inc/frm_strings.hxx +++ b/forms/source/inc/frm_strings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_FRM_STRINGS_HXX -#define INCLUDED_FORMS_SOURCE_INC_FRM_STRINGS_HXX +#pragma once namespace frm @@ -295,6 +294,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_FRM_STRINGS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/limitedformats.hxx b/forms/source/inc/limitedformats.hxx index 5922fd6db8f1..a176df06f054 100644 --- a/forms/source/inc/limitedformats.hxx +++ b/forms/source/inc/limitedformats.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_LIMITEDFORMATS_HXX -#define INCLUDED_FORMS_SOURCE_INC_LIMITEDFORMATS_HXX +#pragma once #include <osl/mutex.hxx> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> @@ -92,6 +91,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_LIMITEDFORMATS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/listenercontainers.hxx b/forms/source/inc/listenercontainers.hxx index 7e67fa0c7f67..f7b0cbb88579 100644 --- a/forms/source/inc/listenercontainers.hxx +++ b/forms/source/inc/listenercontainers.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_LISTENERCONTAINERS_HXX -#define INCLUDED_FORMS_SOURCE_INC_LISTENERCONTAINERS_HXX +#pragma once #include <com/sun/star/form/XResetListener.hpp> #include <comphelper/listenernotification.hxx> @@ -108,6 +107,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_LISTENERCONTAINERS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index fa3f071d011d..f0383433d4b9 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_PROPERTY_HXX -#define INCLUDED_FORMS_SOURCE_INC_PROPERTY_HXX +#pragma once #include <sal/config.h> @@ -430,6 +429,4 @@ public: } //... namespace frm ....................................................... -#endif // INCLUDED_FORMS_SOURCE_INC_PROPERTY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/propertybaghelper.hxx b/forms/source/inc/propertybaghelper.hxx index 0e93500ad1a2..542cef9a6d66 100644 --- a/forms/source/inc/propertybaghelper.hxx +++ b/forms/source/inc/propertybaghelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_PROPERTYBAGHELPER_HXX -#define INCLUDED_FORMS_SOURCE_INC_PROPERTYBAGHELPER_HXX +#pragma once #include <com/sun/star/beans/PropertyValue.hpp> @@ -145,6 +144,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_PROPERTYBAGHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/resettable.hxx b/forms/source/inc/resettable.hxx index 11a2db89777e..2bdb16404b22 100644 --- a/forms/source/inc/resettable.hxx +++ b/forms/source/inc/resettable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX -#define INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX +#pragma once #include <com/sun/star/form/XResetListener.hpp> @@ -60,6 +59,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/services.hxx b/forms/source/inc/services.hxx index 8a3312b30fae..01a346e3f55f 100644 --- a/forms/source/inc/services.hxx +++ b/forms/source/inc/services.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX -#define INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX +#pragma once #define AWT_CONTROL_TEXTFIELD "com.sun.star.awt.TextField" @@ -199,6 +198,4 @@ #define SRV_SDB_ROWSET "com.sun.star.sdb.RowSet" #define SRV_SDB_CONNECTION "com.sun.star.sdb.Connection" -#endif // INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/togglestate.hxx b/forms/source/inc/togglestate.hxx index d02032ea8e89..aeacabc515f1 100644 --- a/forms/source/inc/togglestate.hxx +++ b/forms/source/inc/togglestate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_TOGGLESTATE_HXX -#define INCLUDED_FORMS_SOURCE_INC_TOGGLESTATE_HXX +#pragma once namespace frm @@ -31,6 +30,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_TOGGLESTATE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx index 3db4d79ca560..e11661176b92 100644 --- a/forms/source/inc/urltransformer.hxx +++ b/forms/source/inc/urltransformer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX -#define INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX +#pragma once #include <com/sun/star/util/XURLTransformer.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -68,6 +67,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/windowstateguard.hxx b/forms/source/inc/windowstateguard.hxx index 6d1f94554093..f1a449c39e56 100644 --- a/forms/source/inc/windowstateguard.hxx +++ b/forms/source/inc/windowstateguard.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_INC_WINDOWSTATEGUARD_HXX -#define INCLUDED_FORMS_SOURCE_INC_WINDOWSTATEGUARD_HXX +#pragma once #include <com/sun/star/awt/XWindow2.hpp> #include <com/sun/star/awt/XControlModel.hpp> @@ -68,6 +67,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_INC_WINDOWSTATEGUARD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/attributedispatcher.hxx b/forms/source/richtext/attributedispatcher.hxx index 685825f5c88f..9c6769b60122 100644 --- a/forms/source/richtext/attributedispatcher.hxx +++ b/forms/source/richtext/attributedispatcher.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_ATTRIBUTEDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_ATTRIBUTEDISPATCHER_HXX +#pragma once #include "featuredispatcher.hxx" #include "rtattributes.hxx" @@ -77,6 +76,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_ATTRIBUTEDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx index 914b9bc86640..47e561c6764a 100644 --- a/forms/source/richtext/clipboarddispatcher.hxx +++ b/forms/source/richtext/clipboarddispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_CLIPBOARDDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_CLIPBOARDDISPATCHER_HXX +#pragma once #include "featuredispatcher.hxx" #include <tools/link.hxx> @@ -89,6 +88,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_CLIPBOARDDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/featuredispatcher.hxx b/forms/source/richtext/featuredispatcher.hxx index 29ca81517ca9..feba00d5bfb2 100644 --- a/forms/source/richtext/featuredispatcher.hxx +++ b/forms/source/richtext/featuredispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_FEATUREDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_FEATUREDISPATCHER_HXX +#pragma once #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/lang/DisposedException.hpp> @@ -87,6 +86,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_FEATUREDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/parametrizedattributedispatcher.hxx b/forms/source/richtext/parametrizedattributedispatcher.hxx index 8fe9cfbc2187..69844731612e 100644 --- a/forms/source/richtext/parametrizedattributedispatcher.hxx +++ b/forms/source/richtext/parametrizedattributedispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_PARAMETRIZEDATTRIBUTEDISPATCHER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_PARAMETRIZEDATTRIBUTEDISPATCHER_HXX +#pragma once #include "attributedispatcher.hxx" @@ -59,6 +58,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_PARAMETRIZEDATTRIBUTEDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index d79d4c0c74d0..9cda83bb5257 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTCONTROL_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTCONTROL_HXX +#pragma once #include <toolkit/controls/unocontrols.hxx> #include <toolkit/awt/vclxwindow.hxx> @@ -126,6 +125,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index 21175a4165be..b0eccbe80ef5 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTENGINE_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTENGINE_HXX +#pragma once #include <editeng/editeng.hxx> #include <tools/link.hxx> @@ -72,6 +71,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTENGINE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx index 635799baeb40..d4fef2f66806 100644 --- a/forms/source/richtext/richtextimplcontrol.hxx +++ b/forms/source/richtext/richtextimplcontrol.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTIMPLCONTROL_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTIMPLCONTROL_HXX +#pragma once #include "rtattributehandler.hxx" #include "richtextviewport.hxx" @@ -182,6 +181,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTIMPLCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextmodel.hxx b/forms/source/richtext/richtextmodel.hxx index ef3aff536fb9..e9e42810a46b 100644 --- a/forms/source/richtext/richtextmodel.hxx +++ b/forms/source/richtext/richtextmodel.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTMODEL_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTMODEL_HXX +#pragma once #include <FormComponent.hxx> #include <formcontrolfont.hxx> @@ -178,6 +177,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTMODEL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx index add7c5983ed7..33651f563538 100644 --- a/forms/source/richtext/richtextunowrapper.hxx +++ b/forms/source/richtext/richtextunowrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX +#pragma once #include <memory> #include <editeng/unotext.hxx> @@ -79,6 +78,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index f241e9350c3a..58448c34cd11 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX +#pragma once #include <vcl/ctrl.hxx> #include "rtattributes.hxx" @@ -120,6 +119,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/richtextviewport.hxx b/forms/source/richtext/richtextviewport.hxx index 8e4636fe4932..90df8cb0b489 100644 --- a/forms/source/richtext/richtextviewport.hxx +++ b/forms/source/richtext/richtextviewport.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVIEWPORT_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVIEWPORT_HXX +#pragma once #include <vcl/ctrl.hxx> @@ -62,6 +61,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVIEWPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/rtattributehandler.hxx b/forms/source/richtext/rtattributehandler.hxx index c8c2fcb6cf73..0f2badd640dd 100644 --- a/forms/source/richtext/rtattributehandler.hxx +++ b/forms/source/richtext/rtattributehandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTEHANDLER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTEHANDLER_HXX +#pragma once #include "rtattributes.hxx" #include <rtl/ref.hxx> @@ -161,6 +160,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTEHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/rtattributes.hxx b/forms/source/richtext/rtattributes.hxx index fc514580a64a..b60ac6518562 100644 --- a/forms/source/richtext/rtattributes.hxx +++ b/forms/source/richtext/rtattributes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTES_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTES_HXX +#pragma once #include <sal/types.h> #include <svl/poolitem.hxx> @@ -128,6 +127,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/specialdispatchers.hxx b/forms/source/richtext/specialdispatchers.hxx index aa60816e11dd..9b4bfa1b7939 100644 --- a/forms/source/richtext/specialdispatchers.hxx +++ b/forms/source/richtext/specialdispatchers.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX +#pragma once #include "parametrizedattributedispatcher.hxx" @@ -89,6 +88,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/richtext/textattributelistener.hxx b/forms/source/richtext/textattributelistener.hxx index c33ccbc0f932..3025d7b5d626 100644 --- a/forms/source/richtext/textattributelistener.hxx +++ b/forms/source/richtext/textattributelistener.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_TEXTATTRIBUTELISTENER_HXX -#define INCLUDED_FORMS_SOURCE_RICHTEXT_TEXTATTRIBUTELISTENER_HXX +#pragma once #include "rtattributes.hxx" @@ -51,6 +50,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_TEXTATTRIBUTELISTENER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/runtime/formoperations.hxx b/forms/source/runtime/formoperations.hxx index 86c44feff3f2..bd092edd2a48 100644 --- a/forms/source/runtime/formoperations.hxx +++ b/forms/source/runtime/formoperations.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_RUNTIME_FORMOPERATIONS_HXX -#define INCLUDED_FORMS_SOURCE_RUNTIME_FORMOPERATIONS_HXX +#pragma once #include <com/sun/star/form/runtime/XFormOperations.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -378,6 +377,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_RUNTIME_FORMOPERATIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx index f7acd35ed990..e6e8cc1fe563 100644 --- a/forms/source/solar/component/navbarcontrol.hxx +++ b/forms/source/solar/component/navbarcontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_SOLAR_COMPONENT_NAVBARCONTROL_HXX -#define INCLUDED_FORMS_SOURCE_SOLAR_COMPONENT_NAVBARCONTROL_HXX +#pragma once #include <formnavigation.hxx> @@ -126,6 +125,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_SOLAR_COMPONENT_NAVBARCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx index c96fd141662b..8d5113357e5f 100644 --- a/forms/source/solar/inc/navtoolbar.hxx +++ b/forms/source/solar/inc/navtoolbar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_SOLAR_INC_NAVTOOLBAR_HXX -#define INCLUDED_FORMS_SOURCE_SOLAR_INC_NAVTOOLBAR_HXX +#pragma once #include <svtools/recorditemwindow.hxx> #include <memory> @@ -162,6 +161,4 @@ namespace frm } // namespace frm -#endif // INCLUDED_FORMS_SOURCE_SOLAR_INC_NAVTOOLBAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx index 76e6449a3b84..fc3064e9e2d5 100644 --- a/forms/source/xforms/NameContainer.hxx +++ b/forms/source/xforms/NameContainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_NAMECONTAINER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_NAMECONTAINER_HXX +#pragma once #include <comphelper/sequence.hxx> #include <cppuhelper/implbase.hxx> @@ -157,6 +156,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/binding.hxx b/forms/source/xforms/binding.hxx index 464e1aeb4d4a..d7201a5b5246 100644 --- a/forms/source/xforms/binding.hxx +++ b/forms/source/xforms/binding.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_BINDING_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_BINDING_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <cppuhelper/implbase.hxx> @@ -405,6 +404,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/boolexpression.hxx b/forms/source/xforms/boolexpression.hxx index ae3a0c120d77..ddbc13ce7009 100644 --- a/forms/source/xforms/boolexpression.hxx +++ b/forms/source/xforms/boolexpression.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_BOOLEXPRESSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_BOOLEXPRESSION_HXX +#pragma once #include "computedexpression.hxx" @@ -42,6 +41,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/collection.hxx b/forms/source/xforms/collection.hxx index 410b09e29b6e..19eb1b983f4c 100644 --- a/forms/source/xforms/collection.hxx +++ b/forms/source/xforms/collection.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_COLLECTION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_COLLECTION_HXX +#pragma once #include "enumeration.hxx" @@ -278,6 +277,4 @@ protected: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/computedexpression.hxx b/forms/source/xforms/computedexpression.hxx index e4511b4c1873..17f39cd21aa2 100644 --- a/forms/source/xforms/computedexpression.hxx +++ b/forms/source/xforms/computedexpression.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_COMPUTEDEXPRESSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_COMPUTEDEXPRESSION_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Reference.hxx> @@ -119,6 +118,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/convert.hxx b/forms/source/xforms/convert.hxx index 8d4555d580ec..c7073f7c36cd 100644 --- a/forms/source/xforms/convert.hxx +++ b/forms/source/xforms/convert.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_CONVERT_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_CONVERT_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <map> @@ -76,6 +75,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/datatyperepository.hxx b/forms/source/xforms/datatyperepository.hxx index 9138a1a5e8d6..cd5ea944d6c4 100644 --- a/forms/source/xforms/datatyperepository.hxx +++ b/forms/source/xforms/datatyperepository.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_DATATYPEREPOSITORY_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_DATATYPEREPOSITORY_HXX +#pragma once #include <com/sun/star/xforms/XDataTypeRepository.hpp> #include <cppuhelper/implbase.hxx> @@ -81,6 +80,4 @@ namespace xforms } // namespace xforms -#endif // INCLUDED_FORMS_SOURCE_XFORMS_DATATYPEREPOSITORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx index 9ccd85b7db95..860d1901b553 100644 --- a/forms/source/xforms/datatypes.hxx +++ b/forms/source/xforms/datatypes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_DATATYPES_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_DATATYPES_HXX +#pragma once #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/util/Date.hpp> @@ -370,6 +369,4 @@ namespace xforms } // namespace xforms -#endif // INCLUDED_FORMS_SOURCE_XFORMS_DATATYPES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/enumeration.hxx b/forms/source/xforms/enumeration.hxx index f790f17bc65c..6374e0c8ef27 100644 --- a/forms/source/xforms/enumeration.hxx +++ b/forms/source/xforms/enumeration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_ENUMERATION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_ENUMERATION_HXX +#pragma once #include <cppuhelper/implbase.hxx> @@ -48,6 +47,4 @@ public: virtual css::uno::Any SAL_CALL nextElement() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/evaluationcontext.hxx b/forms/source/xforms/evaluationcontext.hxx index 0edf05561cdf..145a1f2d25f0 100644 --- a/forms/source/xforms/evaluationcontext.hxx +++ b/forms/source/xforms/evaluationcontext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_EVALUATIONCONTEXT_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_EVALUATIONCONTEXT_HXX +#pragma once #include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/container/XNameContainer.hpp> @@ -55,6 +54,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/mip.hxx b/forms/source/xforms/mip.hxx index a2247b45342d..97b98d04ec52 100644 --- a/forms/source/xforms/mip.hxx +++ b/forms/source/xforms/mip.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_MIP_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_MIP_HXX +#pragma once #include <rtl/ustring.hxx> @@ -100,6 +99,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx index af7075e072ab..af543dd139bf 100644 --- a/forms/source/xforms/model.hxx +++ b/forms/source/xforms/model.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_MODEL_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_MODEL_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include "propertysetbase.hxx" @@ -369,6 +368,5 @@ public: }; } // namespace -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/model_helper.hxx b/forms/source/xforms/model_helper.hxx index 51b65b67127a..6e0c90a07fd8 100644 --- a/forms/source/xforms/model_helper.hxx +++ b/forms/source/xforms/model_helper.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_MODEL_HELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_MODEL_HELPER_HXX +#pragma once // some helper definitions that must be available for model.cxx and @@ -144,6 +143,4 @@ void setInstanceData( } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/namedcollection.hxx b/forms/source/xforms/namedcollection.hxx index 6abfb430e2b8..10eeafcfd65b 100644 --- a/forms/source/xforms/namedcollection.hxx +++ b/forms/source/xforms/namedcollection.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_NAMEDCOLLECTION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_NAMEDCOLLECTION_HXX +#pragma once #include "collection.hxx" #include <cppuhelper/implbase.hxx> @@ -110,6 +109,4 @@ public: } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/pathexpression.hxx b/forms/source/xforms/pathexpression.hxx index 03e2ca18f5f5..31923016022b 100644 --- a/forms/source/xforms/pathexpression.hxx +++ b/forms/source/xforms/pathexpression.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_PATHEXPRESSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_PATHEXPRESSION_HXX +#pragma once #include "computedexpression.hxx" @@ -69,6 +68,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx index d6ba2efda2eb..bb27f8460fea 100644 --- a/forms/source/xforms/propertysetbase.hxx +++ b/forms/source/xforms/propertysetbase.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_PROPERTYSETBASE_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_PROPERTYSETBASE_HXX +#pragma once #include <comphelper/propstate.hxx> #include <rtl/ref.hxx> @@ -344,6 +343,4 @@ public: #define PROPERTY( NAME, TYPE ) PROPERTY_FLAGS( NAME, TYPE, css::beans::PropertyAttribute::BOUND ) #define PROPERTY_RO( NAME, TYPE ) PROPERTY_FLAGS( NAME, TYPE, css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::READONLY ) -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/resourcehelper.hxx b/forms/source/xforms/resourcehelper.hxx index 6741ec10764e..9f200fdc87c0 100644 --- a/forms/source/xforms/resourcehelper.hxx +++ b/forms/source/xforms/resourcehelper.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_RESOURCEHELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_RESOURCEHELPER_HXX +#pragma once #include <sal/config.h> @@ -40,6 +39,4 @@ namespace xforms } // namespace -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index d6283034c226..09983d28b1c6 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include "propertysetbase.hxx" @@ -230,6 +229,4 @@ public: } // namespace xforms -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/serialization.hxx b/forms/source/xforms/submission/serialization.hxx index 9c4fcce9052b..19f072b0bcf2 100644 --- a/forms/source/xforms/submission/serialization.hxx +++ b/forms/source/xforms/submission/serialization.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/io/XInputStream.hpp> @@ -58,6 +57,4 @@ public: virtual css::uno::Reference<css::io::XInputStream> getInputStream() = 0; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/serialization_app_xml.hxx b/forms/source/xforms/submission/serialization_app_xml.hxx index eed189943118..51fb1eb54327 100644 --- a/forms/source/xforms/submission/serialization_app_xml.hxx +++ b/forms/source/xforms/submission/serialization_app_xml.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_APP_XML_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_APP_XML_HXX +#pragma once #include <com/sun/star/io/XPipe.hpp> @@ -38,6 +37,4 @@ public: virtual css::uno::Reference<css::io::XInputStream> getInputStream() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/serialization_urlencoded.hxx b/forms/source/xforms/submission/serialization_urlencoded.hxx index 334066f93ba5..2ae91c1f180f 100644 --- a/forms/source/xforms/submission/serialization_urlencoded.hxx +++ b/forms/source/xforms/submission/serialization_urlencoded.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_URLENCODED_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SERIALIZATION_URLENCODED_HXX +#pragma once #include <sal/config.h> @@ -45,6 +44,4 @@ public: virtual css::uno::Reference<css::io::XInputStream> getInputStream() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/submission.hxx b/forms/source/xforms/submission/submission.hxx index 22228a346e26..655529063a7d 100644 --- a/forms/source/xforms/submission/submission.hxx +++ b/forms/source/xforms/submission/submission.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_HXX +#pragma once #include <tools/urlobj.hxx> #include <osl/conditn.hxx> @@ -135,6 +134,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/submission_get.hxx b/forms/source/xforms/submission/submission_get.hxx index 6ec7c60dd103..10375c5b266e 100644 --- a/forms/source/xforms/submission/submission_get.hxx +++ b/forms/source/xforms/submission/submission_get.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_GET_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_GET_HXX +#pragma once #include "submission.hxx" @@ -30,6 +29,5 @@ public: virtual SubmissionResult submit(const css::uno::Reference<css::task::XInteractionHandler>& aInteractionHandler) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/submission_post.hxx b/forms/source/xforms/submission/submission_post.hxx index 4dec413954b6..c3f67443c8df 100644 --- a/forms/source/xforms/submission/submission_post.hxx +++ b/forms/source/xforms/submission/submission_post.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_POST_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_POST_HXX +#pragma once #include "submission.hxx" @@ -29,6 +28,5 @@ public: virtual SubmissionResult submit(const css::uno::Reference< css::task::XInteractionHandler >& aInteractionHandler) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/submission/submission_put.hxx b/forms/source/xforms/submission/submission_put.hxx index 6d8a2325e3ee..f5e6c2b36ffc 100644 --- a/forms/source/xforms/submission/submission_put.hxx +++ b/forms/source/xforms/submission/submission_put.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_PUT_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_SUBMISSION_SUBMISSION_PUT_HXX +#pragma once #include "submission.hxx" @@ -30,6 +29,5 @@ public: virtual SubmissionResult submit(const css::uno::Reference<css::task::XInteractionHandler>& aInteractionHandler) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/unohelper.hxx b/forms/source/xforms/unohelper.hxx index a2e6bd8b4ac4..5aace2f3cf65 100644 --- a/forms/source/xforms/unohelper.hxx +++ b/forms/source/xforms/unohelper.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_UNOHELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_UNOHELPER_HXX +#pragma once #include <sal/types.h> @@ -39,6 +38,4 @@ void copy( const css::uno::Reference<css::beans::XPropertySet>& , css::uno::Refe } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/xformsevent.hxx b/forms/source/xforms/xformsevent.hxx index bfe7b2593026..2622780be402 100644 --- a/forms/source/xforms/xformsevent.hxx +++ b/forms/source/xforms/xformsevent.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XFORMSEVENT_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_XFORMSEVENT_HXX +#pragma once #include <sal/types.h> #include <cppuhelper/implbase.hxx> @@ -66,6 +65,4 @@ class XFormsEventConcrete : public cppu::WeakImplHelper< XFormsEvent > { } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/xmlhelper.hxx b/forms/source/xforms/xmlhelper.hxx index 8a2286bb9239..e8995f764d08 100644 --- a/forms/source/xforms/xmlhelper.hxx +++ b/forms/source/xforms/xmlhelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XMLHELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_XMLHELPER_HXX +#pragma once #include <rtl/ustring.hxx> @@ -38,6 +37,4 @@ bool isValidPrefixName( const OUString& sName, css::uno::Reference<css::xml::dom::XDocumentBuilder> getDocumentBuilder(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/xpathlib/extension.hxx b/forms/source/xforms/xpathlib/extension.hxx index a7eeeec8ef87..267576b746a8 100644 --- a/forms/source/xforms/xpathlib/extension.hxx +++ b/forms/source/xforms/xpathlib/extension.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -50,6 +49,4 @@ public: virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& aSequence) override; }; -#endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/xpathlib/xpathlib.hxx b/forms/source/xforms/xpathlib/xpathlib.hxx index e1c07965df01..52a477c97e73 100644 --- a/forms/source/xforms/xpathlib/xpathlib.hxx +++ b/forms/source/xforms/xpathlib/xpathlib.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX +#pragma once #include <libxml/xpath.h> @@ -72,6 +71,4 @@ xmlXPathFunction xforms_lookupFunc(void *ctxt, const xmlChar *name, const xmlCha } -#endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/formula/inc/bitmaps.hlst b/formula/inc/bitmaps.hlst index 10984f7a77c1..811354b21f5a 100644 --- a/formula/inc/bitmaps.hlst +++ b/formula/inc/bitmaps.hlst @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FORMULA_INC_BITMAPS_HRC -#define INCLUDED_FORMULA_INC_BITMAPS_HRC +#pragma once #define BMP_STR_CLOSE "formula/res/fapclose.png" #define BMP_STR_OPEN "formula/res/fapopen.png" @@ -18,6 +17,4 @@ #define RID_BMP_REFBTN2 "formula/res/refinp2.png" #define BMP_FX "formula/res/fx.png" -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/formula/inc/core_resource.hrc b/formula/inc/core_resource.hrc index cf1cca33373f..01520f582b1b 100644 --- a/formula/inc/core_resource.hrc +++ b/formula/inc/core_resource.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMULA_INC_CORE_RESOURCE_HRC -#define INCLUDED_FORMULA_INC_CORE_RESOURCE_HRC +#pragma once #include <formula/compiler.hxx> #include <utility> @@ -2746,6 +2745,4 @@ const std::pair<const char*, int> RID_STRLIST_FUNCTION_NAMES_SYMBOLS[] = { nullptr, -1 } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/formula/inc/strings.hrc b/formula/inc/strings.hrc index 154daca73ea1..a54a2f259b95 100644 --- a/formula/inc/strings.hrc +++ b/formula/inc/strings.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_STRINGS_HRC -#define INCLUDED_VCL_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) @@ -31,6 +30,4 @@ #define RID_STR_SHRINK NC_("RID_STR_SHRINK", "Shrink") #define RID_STR_EXPAND NC_("RID_STR_EXPAND", "Expand") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/formula/source/ui/dlg/ControlHelper.hxx b/formula/source/ui/dlg/ControlHelper.hxx index 613e40c5e9c7..2495474516ce 100644 --- a/formula/source/ui/dlg/ControlHelper.hxx +++ b/formula/source/ui/dlg/ControlHelper.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_FORMULA_SOURCE_UI_DLG_CONTROLHELPER_HXX -#define INCLUDED_FORMULA_SOURCE_UI_DLG_CONTROLHELPER_HXX +#pragma once #include <formula/funcutl.hxx> @@ -103,6 +102,5 @@ public: }; } -#endif // FORMULA_FORMULA_HELPER_HXX_INCLUDED /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index 319ee7c8ad2c..6254dfc8a6a7 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMULA_SOURCE_UI_DLG_FUNCPAGE_HXX -#define INCLUDED_FORMULA_SOURCE_UI_DLG_FUNCPAGE_HXX +#pragma once #include <vcl/weld.hxx> #include <vector> @@ -84,6 +83,5 @@ public: }; } // formula -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/formula/source/ui/dlg/parawin.hxx b/formula/source/ui/dlg/parawin.hxx index cff5c0a5f087..db3a02a89ee6 100644 --- a/formula/source/ui/dlg/parawin.hxx +++ b/formula/source/ui/dlg/parawin.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMULA_SOURCE_UI_DLG_PARAWIN_HXX -#define INCLUDED_FORMULA_SOURCE_UI_DLG_PARAWIN_HXX +#pragma once #include <formula/funcutl.hxx> #include <vcl/weld.hxx> @@ -143,6 +142,4 @@ public: } // formula -#endif // INCLUDED_FORMULA_SOURCE_UI_DLG_PARAWIN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index 935b321d0443..11640318990f 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMULA_SOURCE_UI_DLG_STRUCTPG_HXX -#define INCLUDED_FORMULA_SOURCE_UI_DLG_STRUCTPG_HXX +#pragma once #include <vcl/weld.hxx> @@ -72,6 +71,4 @@ public: } // formula -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/inc/bitmaps.hlst b/fpicker/inc/bitmaps.hlst index 4951ead796f0..b7841db8813e 100644 --- a/fpicker/inc/bitmaps.hlst +++ b/fpicker/inc/bitmaps.hlst @@ -7,14 +7,11 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FPICKER_INC_BITMAPS_HRC -#define INCLUDED_FPICKER_INC_BITMAPS_HRC +#pragma once #define RID_BMP_FOLDER_OPEN "res/folderop.png" #define BMP_FILEDLG_PLACE_LOCAL "fpicker/res/fp015.png" #define BMP_FILEDLG_PLACE_REMOTE "fpicker/res/fp016.png" #define RID_BMP_FOLDER "svtools/res/folder.png" -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/fpicker/inc/fpsofficeResMgr.hxx b/fpicker/inc/fpsofficeResMgr.hxx index 195af8337c01..13721bb9635a 100644 --- a/fpicker/inc/fpsofficeResMgr.hxx +++ b/fpicker/inc/fpsofficeResMgr.hxx @@ -6,13 +6,10 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_FPSOFFICERESMGR_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_FPSOFFICERESMGR_HXX +#pragma once #include <unotools/resmgr.hxx> inline OUString FpsResId(const char* pId) { return Translate::get(pId, Translate::Create("fps")); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/inc/strings.hrc b/fpicker/inc/strings.hrc index b175069c05da..6037da706828 100644 --- a/fpicker/inc/strings.hrc +++ b/fpicker/inc/strings.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_STRINGS_HRC -#define INCLUDED_VCL_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) @@ -34,6 +33,4 @@ #define STR_SVT_NEW_FOLDER NC_("STR_SVT_NEW_FOLDER", "Folder") #define STR_SVT_NOREMOVABLEDEVICE NC_("STR_SVT_NOREMOVABLEDEVICE", "No removable storage device detected.\nMake sure it is plugged in properly and try again.") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/AquaFilePickerDelegate.hxx b/fpicker/source/aqua/AquaFilePickerDelegate.hxx index fb158cd67633..51c34b71bec2 100644 --- a/fpicker/source/aqua/AquaFilePickerDelegate.hxx +++ b/fpicker/source/aqua/AquaFilePickerDelegate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_AQUAFILEPICKERDELEGATE_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_AQUAFILEPICKERDELEGATE_HXX +#pragma once #include <premac.h> #include <Cocoa/Cocoa.h> @@ -46,6 +45,4 @@ class FilterHelper; @end -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/CFStringUtilities.hxx b/fpicker/source/aqua/CFStringUtilities.hxx index ca8a84348525..b881081e29cf 100644 --- a/fpicker/source/aqua/CFStringUtilities.hxx +++ b/fpicker/source/aqua/CFStringUtilities.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_CFSTRINGUTILITIES_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_CFSTRINGUTILITIES_HXX +#pragma once #include <premac.h> #include <Carbon/Carbon.h> @@ -39,6 +38,4 @@ OUString FSRefToOUString(FSRef const& fsRef, InfoType info = FULLPATH); OUString CFURLRefToOUString(CFURLRef aUrlRef, InfoType info); CFStringRef CFStringCreateWithOUString(const OUString& aString); -#endif // INCLUDED_FPICKER_SOURCE_AQUA_CFSTRINGUTILITIES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/ControlHelper.hxx b/fpicker/source/aqua/ControlHelper.hxx index f984b5281c0f..5da540df61ec 100644 --- a/fpicker/source/aqua/ControlHelper.hxx +++ b/fpicker/source/aqua/ControlHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_CONTROLHELPER_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_CONTROLHELPER_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Any.hxx> @@ -182,6 +181,4 @@ private: void layoutControls(); }; -#endif // INCLUDED_FPICKER_SOURCE_AQUA_CONTROLHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/FilterHelper.hxx b/fpicker/source/aqua/FilterHelper.hxx index 1cd1ea1fbb50..6cf4aec5996e 100644 --- a/fpicker/source/aqua/FilterHelper.hxx +++ b/fpicker/source/aqua/FilterHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_FILTERHELPER_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_FILTERHELPER_HXX +#pragma once #include <com/sun/star/beans/StringPair.hpp> #include <com/sun/star/uno/Sequence.hxx> @@ -121,6 +120,4 @@ private: void ensureFilterList( const OUString& _rInitialCurrentFilter ); }; -#endif // INCLUDED_FPICKER_SOURCE_AQUA_FILTERHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/NSString_OOoAdditions.hxx b/fpicker/source/aqua/NSString_OOoAdditions.hxx index cd33d959d739..eac18d46f315 100644 --- a/fpicker/source/aqua/NSString_OOoAdditions.hxx +++ b/fpicker/source/aqua/NSString_OOoAdditions.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_NSSTRING_OOOADDITIONS_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_NSSTRING_OOOADDITIONS_HXX +#pragma once #include <premac.h> #import <Cocoa/Cocoa.h> @@ -31,6 +30,4 @@ - (OUString)OUString; @end -#endif // INCLUDED_FPICKER_SOURCE_AQUA_NSSTRING_OOOADDITIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/NSURL_OOoAdditions.hxx b/fpicker/source/aqua/NSURL_OOoAdditions.hxx index bf1c76bad93a..f4e14e6e89bd 100644 --- a/fpicker/source/aqua/NSURL_OOoAdditions.hxx +++ b/fpicker/source/aqua/NSURL_OOoAdditions.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_NSURL_OOOADDITIONS_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_NSURL_OOOADDITIONS_HXX +#pragma once #include <premac.h> #include <CoreFoundation/CoreFoundation.h> @@ -37,6 +36,4 @@ NSString* resolveAlias(NSString* i_pSystemPath); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/SalAquaConstants.h b/fpicker/source/aqua/SalAquaConstants.h index f5f03f6f2114..3fd14d53603b 100644 --- a/fpicker/source/aqua/SalAquaConstants.h +++ b/fpicker/source/aqua/SalAquaConstants.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_SALAQUACONSTANTS_H -#define INCLUDED_FPICKER_SOURCE_AQUA_SALAQUACONSTANTS_H +#pragma once #define kAppFourCharCode 'LibO' #define kControlPropertyTracking 'Trck' @@ -52,6 +51,4 @@ #define kAquaPopupButtonDefaultHeight (26) -#endif // INCLUDED_FPICKER_SOURCE_AQUA_SALAQUACONSTANTS_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/SalAquaFilePicker.hxx b/fpicker/source/aqua/SalAquaFilePicker.hxx index 93edde1a5b6f..3cf13fedb871 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.hxx +++ b/fpicker/source/aqua/SalAquaFilePicker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFILEPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFILEPICKER_HXX +#pragma once #include <cppuhelper/compbase.hxx> #include <com/sun/star/lang/XInitialization.hpp> @@ -158,6 +157,4 @@ public: void filterControlChanged(); }; -#endif // INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFILEPICKER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/SalAquaFolderPicker.hxx b/fpicker/source/aqua/SalAquaFolderPicker.hxx index becfb3805a18..f563b1983b72 100644 --- a/fpicker/source/aqua/SalAquaFolderPicker.hxx +++ b/fpicker/source/aqua/SalAquaFolderPicker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFOLDERPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFOLDERPICKER_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include <com/sun/star/util/XCancellable.hpp> @@ -93,6 +92,4 @@ private: SalAquaFolderPicker& operator=( const SalAquaFolderPicker& ) = delete; }; -#endif // INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFOLDERPICKER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/SalAquaPicker.hxx b/fpicker/source/aqua/SalAquaPicker.hxx index 63f76a6055ad..4eab78c52955 100644 --- a/fpicker/source/aqua/SalAquaPicker.hxx +++ b/fpicker/source/aqua/SalAquaPicker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAPICKER_HXX +#pragma once #include <osl/mutex.hxx> @@ -79,6 +78,4 @@ protected: void implInitialize(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/aqua/resourceprovider.hxx b/fpicker/source/aqua/resourceprovider.hxx index 4e3849ed1de9..ba581389ff19 100644 --- a/fpicker/source/aqua/resourceprovider.hxx +++ b/fpicker/source/aqua/resourceprovider.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_FPICKER_SOURCE_AQUA_RESOURCEPROVIDER_HXX -#define INCLUDED_FPICKER_SOURCE_AQUA_RESOURCEPROVIDER_HXX +#pragma once #include <sal/config.h> @@ -44,6 +43,4 @@ NSString* getResString( sal_Int32 aId ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/OfficeControlAccess.hxx b/fpicker/source/office/OfficeControlAccess.hxx index 3495e95aedc3..89e527be2f21 100644 --- a/fpicker/source/office/OfficeControlAccess.hxx +++ b/fpicker/source/office/OfficeControlAccess.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_OFFICECONTROLACCESS_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_OFFICECONTROLACCESS_HXX +#pragma once #include <sal/config.h> @@ -133,6 +132,4 @@ namespace svt } // namespace svt -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_OFFICECONTROLACCESS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 877dd15acaa6..b75a3f6368db 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.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_FPICKER_SOURCE_OFFICE_OFFICEFILEPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_OFFICEFILEPICKER_HXX +#pragma once #include <cppuhelper/implbase5.hxx> #include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp> @@ -237,6 +236,4 @@ public: getSupportedServiceNames() override; }; -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_OFFICEFILEPICKER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/OfficeFolderPicker.hxx b/fpicker/source/office/OfficeFolderPicker.hxx index 6f3863b53157..7b98fb5bf903 100644 --- a/fpicker/source/office/OfficeFolderPicker.hxx +++ b/fpicker/source/office/OfficeFolderPicker.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_FPICKER_SOURCE_OFFICE_OFFICEFOLDERPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_OFFICEFOLDERPICKER_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include <com/sun/star/ui/dialogs/XFolderPicker2.hpp> @@ -87,6 +86,4 @@ protected: virtual sal_Int16 implExecutePicker( ) override; }; -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_OFFICEFOLDERPICKER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx index 58fae75fae40..ca507e06ae3a 100644 --- a/fpicker/source/office/PlacesListBox.hxx +++ b/fpicker/source/office/PlacesListBox.hxx @@ -6,8 +6,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_PLACESLISTBOX_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_PLACESLISTBOX_HXX +#pragma once #include "iodlg.hxx" @@ -63,6 +62,4 @@ private: DECL_LINK( DoubleClick, weld::TreeView&, bool ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/QueryFolderName.hxx b/fpicker/source/office/QueryFolderName.hxx index 2a9b80f989a1..81bc4ad105ea 100644 --- a/fpicker/source/office/QueryFolderName.hxx +++ b/fpicker/source/office/QueryFolderName.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_FPICKER_SOURCE_OFFICE_QUERYFOLDERNAME_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_QUERYFOLDERNAME_HXX +#pragma once #include <vcl/weld.hxx> @@ -37,6 +36,4 @@ public: OUString GetName() const { return m_xNameEdit->get_text(); } }; -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_QUERYFOLDERNAME_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx index 64ae56412b5f..55cfa2870d59 100644 --- a/fpicker/source/office/RemoteFilesDialog.hxx +++ b/fpicker/source/office/RemoteFilesDialog.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SVTOOLS_REMOTEFILESDIALOG_HXX -#define INCLUDED_SVTOOLS_REMOTEFILESDIALOG_HXX +#pragma once #include "autocmpledit.hxx" #include <svtools/place.hxx> @@ -184,5 +183,4 @@ private: DECL_LINK( CancelHdl, weld::Button&, void ); }; -#endif // INCLUDED_SVTOOLS_REMOTEFILESDIALOG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/asyncfilepicker.hxx b/fpicker/source/office/asyncfilepicker.hxx index d644f88946e9..e2bac1208fb1 100644 --- a/fpicker/source/office/asyncfilepicker.hxx +++ b/fpicker/source/office/asyncfilepicker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_ASYNCFILEPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_ASYNCFILEPICKER_HXX +#pragma once #include <tools/link.hxx> #include <rtl/ustring.hxx> @@ -91,6 +90,4 @@ namespace svt } // namespace svt -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_ASYNCFILEPICKER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/autocmpledit.hxx b/fpicker/source/office/autocmpledit.hxx index 03ea58c48084..bfb2ee096a63 100644 --- a/fpicker/source/office/autocmpledit.hxx +++ b/fpicker/source/office/autocmpledit.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SVTOOLS_AUTOCMPLEDIT_HXX -#define INCLUDED_SVTOOLS_AUTOCMPLEDIT_HXX +#pragma once #include <vcl/idle.hxx> #include <vcl/weld.hxx> @@ -49,6 +48,4 @@ public: void ClearEntries(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/breadcrumb.hxx b/fpicker/source/office/breadcrumb.hxx index 5a3f325168fe..5f476010c9d1 100644 --- a/fpicker/source/office/breadcrumb.hxx +++ b/fpicker/source/office/breadcrumb.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SVTOOLS_BREADCRUMB_HXX -#define INCLUDED_SVTOOLS_BREADCRUMB_HXX +#pragma once #include <vcl/weld.hxx> #include <map> @@ -68,6 +67,4 @@ public: void SetMode(SvtBreadcrumbMode eMode); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/commonpicker.hxx b/fpicker/source/office/commonpicker.hxx index e68de462d9a4..1c24d8eb9e29 100644 --- a/fpicker/source/office/commonpicker.hxx +++ b/fpicker/source/office/commonpicker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_COMMONPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_COMMONPICKER_HXX +#pragma once #include <cppuhelper/compbase.hxx> #include <cppuhelper/basemutex.hxx> @@ -188,6 +187,4 @@ namespace svt } // namespace svt -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_COMMONPICKER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/contentenumeration.hxx b/fpicker/source/office/contentenumeration.hxx index f6a48c5c3360..9dcfae687883 100644 --- a/fpicker/source/office/contentenumeration.hxx +++ b/fpicker/source/office/contentenumeration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SVTOOLS_SOURCE_CONTNR_CONTENTENUMERATION_HXX -#define INCLUDED_SVTOOLS_SOURCE_CONTNR_CONTENTENUMERATION_HXX +#pragma once #include <com/sun/star/ucb/XCommandEnvironment.hpp> #include <salhelper/thread.hxx> @@ -230,6 +229,4 @@ namespace svt } // namespace svt -#endif // INCLUDED_SVTOOLS_SOURCE_CONTNR_CONTENTENUMERATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/fileview.hxx b/fpicker/source/office/fileview.hxx index 81b0cc6279c4..d86ee93900e1 100644 --- a/fpicker/source/office/fileview.hxx +++ b/fpicker/source/office/fileview.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_VCL_FILEVIEW_HXX -#define INCLUDED_VCL_FILEVIEW_HXX +#pragma once #include <memory> #include <com/sun/star/uno/Sequence.h> @@ -181,6 +180,4 @@ struct SvtContentEntry mbIsFolder( bIsFolder ), maURL( rURL ) {} }; -#endif // INCLUDED_VCL_FILEVIEW_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/foldertree.hxx b/fpicker/source/office/foldertree.hxx index 9dc019cdc03e..02381fc0bd58 100644 --- a/fpicker/source/office/foldertree.hxx +++ b/fpicker/source/office/foldertree.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SVTOOLS_FOLDERTREE_HXX -#define INCLUDED_SVTOOLS_FOLDERTREE_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <vcl/weld.hxx> @@ -46,6 +45,4 @@ public: void SetDenyList(const css::uno::Sequence< OUString >& rDenyList); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/fpdialogbase.hxx b/fpicker/source/office/fpdialogbase.hxx index 21a8302549d0..ec9dbb0d5f4a 100644 --- a/fpicker/source/office/fpdialogbase.hxx +++ b/fpicker/source/office/fpdialogbase.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_FPICKER_SOURCE_OFFICE_FPDIALOGBASE_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_FPDIALOGBASE_HXX +#pragma once #include <vcl/weld.hxx> #include <com/sun/star/beans/StringPair.hpp> @@ -110,6 +109,4 @@ public: #define DIALOG_SIZE_CHANGED 5 -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_IODLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/fpinteraction.hxx b/fpicker/source/office/fpinteraction.hxx index fb66488d8f0f..6aac9c18dcb6 100644 --- a/fpicker/source/office/fpinteraction.hxx +++ b/fpicker/source/office/fpinteraction.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_FPINTERACTION_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_FPINTERACTION_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include <com/sun/star/task/XInteractionHandler.hpp> @@ -78,6 +77,4 @@ namespace svt } // namespace svt -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_FPINTERACTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/fpsmartcontent.hxx b/fpicker/source/office/fpsmartcontent.hxx index becb689a1078..5f9d4e32fa92 100644 --- a/fpicker/source/office/fpsmartcontent.hxx +++ b/fpicker/source/office/fpsmartcontent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_FPSMARTCONTENT_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_FPSMARTCONTENT_HXX +#pragma once #include "fpinteraction.hxx" @@ -193,6 +192,4 @@ namespace svt } // namespace svt -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_FPSMARTCONTENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx index 32ff56462151..c53302038bb0 100644 --- a/fpicker/source/office/iodlg.hxx +++ b/fpicker/source/office/iodlg.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_FPICKER_SOURCE_OFFICE_IODLG_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_IODLG_HXX +#pragma once #include <memory> #include <com/sun/star/beans/StringPair.hpp> @@ -302,6 +301,4 @@ inline SvtFileView* SvtFileDialog::GetView() return m_xFileView.get(); } -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_IODLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx index 0d074f1f610b..7300ab16e5e3 100644 --- a/fpicker/source/office/iodlgimp.hxx +++ b/fpicker/source/office/iodlgimp.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_FPICKER_SOURCE_OFFICE_IODLGIMP_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_IODLGIMP_HXX +#pragma once #include "PlacesListBox.hxx" @@ -203,6 +202,4 @@ public: void SetCurFilter( SvtFileDialogFilter_Impl const * _pFilter, const OUString& rDisplayName ); }; -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_IODLGIMP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/office/pickercallbacks.hxx b/fpicker/source/office/pickercallbacks.hxx index 9c965f7d37f7..dcc82c0839a1 100644 --- a/fpicker/source/office/pickercallbacks.hxx +++ b/fpicker/source/office/pickercallbacks.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_PICKERCALLBACKS_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_PICKERCALLBACKS_HXX +#pragma once #include <sal/types.h> #include <rtl/ustring.hxx> @@ -49,6 +48,4 @@ namespace svt } // namespace svt -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_PICKERCALLBACKS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/FilterContainer.hxx b/fpicker/source/win32/FilterContainer.hxx index f54b10a7f3f0..a1e498cef3f0 100644 --- a/fpicker/source/win32/FilterContainer.hxx +++ b/fpicker/source/win32/FilterContainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_FILTERCONTAINER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_FILTERCONTAINER_HXX +#pragma once #include <sal/types.h> #include <rtl/ustring.hxx> @@ -105,6 +104,4 @@ private: OUString makeWinFilterBuffer( CFilterContainer& aFilterContainer ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/VistaFilePicker.hxx b/fpicker/source/win32/VistaFilePicker.hxx index 53879c0c8742..026c0e859c09 100644 --- a/fpicker/source/win32/VistaFilePicker.hxx +++ b/fpicker/source/win32/VistaFilePicker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKER_HXX +#pragma once #include "asyncrequests.hxx" #include "VistaFilePickerImpl.hxx" @@ -228,6 +227,4 @@ public: } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/VistaFilePickerEventHandler.hxx b/fpicker/source/win32/VistaFilePickerEventHandler.hxx index 3ea47dbd8640..71199cd07b45 100644 --- a/fpicker/source/win32/VistaFilePickerEventHandler.hxx +++ b/fpicker/source/win32/VistaFilePickerEventHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKEREVENTHANDLER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKEREVENTHANDLER_HXX +#pragma once #include <shobjidl.h> @@ -190,6 +189,4 @@ class VistaFilePickerEventHandler : public ::cppu::BaseMutex } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKEREVENTHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/VistaFilePickerImpl.hxx b/fpicker/source/win32/VistaFilePickerImpl.hxx index c191330f4f16..ec7d1e2cddf6 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.hxx +++ b/fpicker/source/win32/VistaFilePickerImpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKERIMPL_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKERIMPL_HXX +#pragma once #include "platform_vista.h" @@ -318,6 +317,4 @@ class VistaFilePickerImpl : private ::cppu::BaseMutex } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKERIMPL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/WinImplHelper.hxx b/fpicker/source/win32/WinImplHelper.hxx index 860572415ba1..9f7e16e94ac3 100644 --- a/fpicker/source/win32/WinImplHelper.hxx +++ b/fpicker/source/win32/WinImplHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_MISC_WINIMPLHELPER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_MISC_WINIMPLHELPER_HXX +#pragma once #include <sal/types.h> #include <rtl/ustring.hxx> @@ -47,6 +46,4 @@ OUString SOfficeToWindowsLabel(const OUString& aSOLabel); // '~' -> '~~' OUString WindowsToSOfficeLabel(const OUString& aWinLabel); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/asyncrequests.hxx b/fpicker/source/win32/asyncrequests.hxx index 5fbd7dde848f..410d4241311e 100644 --- a/fpicker/source/win32/asyncrequests.hxx +++ b/fpicker/source/win32/asyncrequests.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_ASYNCREQUESTS_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_ASYNCREQUESTS_HXX +#pragma once #include <cppuhelper/basemutex.hxx> #include <comphelper/sequenceashashmap.hxx> @@ -209,6 +208,4 @@ class AsyncRequests final: private ::cppu::BaseMutex } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_ASYNCREQUESTS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/platform_vista.h b/fpicker/source/win32/platform_vista.h index a6e6d2121dbe..ab3f7c52c213 100644 --- a/fpicker/source/win32/platform_vista.h +++ b/fpicker/source/win32/platform_vista.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_PLATFORM_VISTA_H -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_PLATFORM_VISTA_H +#pragma once #undef _WTL_NO_CSTRING @@ -41,6 +40,4 @@ #endif #endif -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/resourceprovider.hxx b/fpicker/source/win32/resourceprovider.hxx index 722d172294b5..09ae8339ba2a 100644 --- a/fpicker/source/win32/resourceprovider.hxx +++ b/fpicker/source/win32/resourceprovider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_MISC_RESOURCEPROVIDER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_MISC_RESOURCEPROVIDER_HXX +#pragma once #include <sal/config.h> @@ -33,6 +32,4 @@ namespace CResourceProvider OUString getResString(sal_Int16 aId); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/shared.hxx b/fpicker/source/win32/shared.hxx index 2e4427f6de9e..4f822b742149 100644 --- a/fpicker/source/win32/shared.hxx +++ b/fpicker/source/win32/shared.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_SHARED_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_SHARED_HXX +#pragma once #include <rtl/ustring.hxx> @@ -27,5 +26,4 @@ const OUString FILTER_SEPARATOR("------------------------------------------"); const OUString ALL_FILES_WILDCARD("*.*"); const bool ALLOW_DUPLICATES = true; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/vistatypes.h b/fpicker/source/win32/vistatypes.h index 5e6c62a439f3..a6a08faa5915 100644 --- a/fpicker/source/win32/vistatypes.h +++ b/fpicker/source/win32/vistatypes.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTATYPES_H -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTATYPES_H +#pragma once #include <shobjidl.h> #include <systools/win32/comtools.hxx> @@ -41,6 +40,4 @@ typedef sal::systools::COMReference<IFileDialogCustomize> TFileDialogCustomize; } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTATYPES_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/acceleratorconst.h b/framework/inc/acceleratorconst.h index 0a1cad5fa8ab..e75b5be04b02 100644 --- a/framework/inc/acceleratorconst.h +++ b/framework/inc/acceleratorconst.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_ACCELERATORCONST_H -#define INCLUDED_FRAMEWORK_INC_ACCELERATORCONST_H +#pragma once namespace framework{ @@ -30,6 +29,4 @@ namespace framework{ } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_ACCELERATORCONST_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/bitmaps.hlst b/framework/inc/bitmaps.hlst index b7e3fdd064e1..e65566982d06 100644 --- a/framework/inc/bitmaps.hlst +++ b/framework/inc/bitmaps.hlst @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FRAMEWORK_INC_BITMAPS_HRC -#define INCLUDED_FRAMEWORK_INC_BITMAPS_HRC +#pragma once #define BMP_SAVEMODIFIED_SMALL "res/savemodified_small.png" #define BMP_SAVEMODIFIED_LARGE "res/savemodified_large.png" @@ -35,6 +34,4 @@ #define RID_SVXBMP_SPINBUTTON "res/sx10769.png" #define RID_SVXBMP_NAVIGATIONBAR "res/sx10607.png" -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/framework/inc/classes/actiontriggercontainer.hxx b/framework/inc/classes/actiontriggercontainer.hxx index 520bf37d3943..6297ce82c91f 100644 --- a/framework/inc/classes/actiontriggercontainer.hxx +++ b/framework/inc/classes/actiontriggercontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERCONTAINER_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERCONTAINER_HXX +#pragma once #include <helper/propertysetcontainer.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -62,6 +61,4 @@ class ActionTriggerContainer final : public PropertySetContainer, } -#endif // INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/actiontriggerpropertyset.hxx b/framework/inc/classes/actiontriggerpropertyset.hxx index 964d25d99f86..ee4d6e902381 100644 --- a/framework/inc/classes/actiontriggerpropertyset.hxx +++ b/framework/inc/classes/actiontriggerpropertyset.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERPROPERTYSET_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERPROPERTYSET_HXX +#pragma once #include <cppuhelper/basemutex.hxx> #include <cppuhelper/propshlp.hxx> @@ -111,6 +110,4 @@ class ActionTriggerPropertySet final : private cppu::BaseMutex, } -#endif // INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERPROPERTYSET_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx index ed213b8fa92f..6fae5595f3a8 100644 --- a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx +++ b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERSEPARATORPROPERTYSET_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERSEPARATORPROPERTYSET_HXX +#pragma once #include <cppuhelper/basemutex.hxx> #include <cppuhelper/propshlp.hxx> @@ -94,6 +93,4 @@ class ActionTriggerSeparatorPropertySet final : private cppu::BaseMutex, } -#endif // INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERSEPARATORPROPERTYSET_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/converter.hxx b/framework/inc/classes/converter.hxx index 66c6c716258b..17198ec2c01e 100644 --- a/framework/inc/classes/converter.hxx +++ b/framework/inc/classes/converter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_CONVERTER_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_CONVERTER_HXX +#pragma once #include <vector> @@ -43,6 +42,4 @@ class Converter } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_CLASSES_CONVERTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/fwkresid.hxx b/framework/inc/classes/fwkresid.hxx index bd5119046297..e1a2b9a36b1d 100644 --- a/framework/inc/classes/fwkresid.hxx +++ b/framework/inc/classes/fwkresid.hxx @@ -17,13 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_FWKRESID_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_FWKRESID_HXX +#pragma once #include <rtl/ustring.hxx> OUString FwkResId(const char* pId); -#endif // __FRAMEWORK_CLASSES_FWKRESID - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/imagewrapper.hxx b/framework/inc/classes/imagewrapper.hxx index 26044593710f..54b2ee404fcc 100644 --- a/framework/inc/classes/imagewrapper.hxx +++ b/framework/inc/classes/imagewrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_IMAGEWRAPPER_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_IMAGEWRAPPER_HXX +#pragma once #include <com/sun/star/awt/XBitmap.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> @@ -56,6 +55,4 @@ class ImageWrapper final : public ::cppu::WeakImplHelper< css::awt::XBitmap, } -#endif // INCLUDED_FRAMEWORK_INC_CLASSES_IMAGEWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/protocolhandlercache.hxx b/framework/inc/classes/protocolhandlercache.hxx index bbee8e729d89..78a3449f8aa9 100644 --- a/framework/inc/classes/protocolhandlercache.hxx +++ b/framework/inc/classes/protocolhandlercache.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_PROTOCOLHANDLERCACHE_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_PROTOCOLHANDLERCACHE_HXX +#pragma once #include <unordered_map> @@ -143,6 +142,4 @@ class HandlerCFGAccess : public ::utl::ConfigItem } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_CLASSES_PROTOCOLHANDLERCACHE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/resource.hxx b/framework/inc/classes/resource.hxx index 04f00677c69d..64d89d119e89 100644 --- a/framework/inc/classes/resource.hxx +++ b/framework/inc/classes/resource.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_RESOURCE_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_RESOURCE_HXX +#pragma once #define MENUITEM_TOOLBAR_VISIBLEBUTTON 1 #define MENUITEM_TOOLBAR_CUSTOMIZETOOLBAR 2 @@ -28,6 +27,4 @@ #define MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION 6 #define MENUITEM_TOOLBAR_CLOSE 7 -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/rootactiontriggercontainer.hxx b/framework/inc/classes/rootactiontriggercontainer.hxx index b263f617b617..2b3088e7793d 100644 --- a/framework/inc/classes/rootactiontriggercontainer.hxx +++ b/framework/inc/classes/rootactiontriggercontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_ROOTACTIONTRIGGERCONTAINER_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_ROOTACTIONTRIGGERCONTAINER_HXX +#pragma once #include <helper/propertysetcontainer.hxx> #include <vcl/menu.hxx> @@ -98,6 +97,4 @@ class RootActionTriggerContainer final : public PropertySetContainer, } -#endif // INCLUDED_FRAMEWORK_INC_CLASSES_ROOTACTIONTRIGGERCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/classes/taskcreator.hxx b/framework/inc/classes/taskcreator.hxx index e9e98df4e79c..d1535509cf67 100644 --- a/framework/inc/classes/taskcreator.hxx +++ b/framework/inc/classes/taskcreator.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_TASKCREATOR_HXX -#define INCLUDED_FRAMEWORK_INC_CLASSES_TASKCREATOR_HXX +#pragma once #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -58,6 +57,4 @@ class TaskCreator final } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_CLASSES_TASKCREATOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx index cb48569b5438..8ee08ed194f3 100644 --- a/framework/inc/dispatch/closedispatcher.hxx +++ b/framework/inc/dispatch/closedispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_CLOSEDISPATCHER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_CLOSEDISPATCHER_HXX +#pragma once #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XStatusListener.hpp> @@ -259,6 +258,4 @@ class CloseDispatcher final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_CLOSEDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/dispatchinformationprovider.hxx b/framework/inc/dispatch/dispatchinformationprovider.hxx index 9b2106083b75..3f8a689ead85 100644 --- a/framework/inc/dispatch/dispatchinformationprovider.hxx +++ b/framework/inc/dispatch/dispatchinformationprovider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_DISPATCHINFORMATIONPROVIDER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_DISPATCHINFORMATIONPROVIDER_HXX +#pragma once #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XDispatchInformationProvider.hpp> @@ -62,6 +61,4 @@ class DispatchInformationProvider final : public ::cppu::WeakImplHelper< css::f } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_DISPATCHINFORMATIONPROVIDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx index d94b53c45340..804df44abc0c 100644 --- a/framework/inc/dispatch/dispatchprovider.hxx +++ b/framework/inc/dispatch/dispatchprovider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_DISPATCHPROVIDER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_DISPATCHPROVIDER_HXX +#pragma once #include <classes/protocolhandlercache.hxx> @@ -111,6 +110,4 @@ class DispatchProvider final : public ::cppu::WeakImplHelper< css::frame::XDispa } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_DISPATCHPROVIDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx index 61c4ed8c9ef9..7788559c7eff 100644 --- a/framework/inc/dispatch/interceptionhelper.hxx +++ b/framework/inc/dispatch/interceptionhelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_INTERCEPTIONHELPER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_INTERCEPTIONHELPER_HXX +#pragma once #include <com/sun/star/frame/XDispatchProviderInterception.hpp> #include <com/sun/star/frame/XDispatchProviderInterceptor.hpp> @@ -253,6 +252,4 @@ class InterceptionHelper final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_INTERCEPTIONHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/mailtodispatcher.hxx b/framework/inc/dispatch/mailtodispatcher.hxx index 459d7ee0cbd3..b354cd08353a 100644 --- a/framework/inc/dispatch/mailtodispatcher.hxx +++ b/framework/inc/dispatch/mailtodispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_MAILTODISPATCHER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_MAILTODISPATCHER_HXX +#pragma once #include <com/sun/star/frame/XNotifyingDispatch.hpp> #include <com/sun/star/frame/XDispatch.hpp> @@ -94,6 +93,4 @@ class MailToDispatcher final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_MAILTODISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/oxt_handler.hxx b/framework/inc/dispatch/oxt_handler.hxx index 3ffb9c883035..162821bc1aa8 100644 --- a/framework/inc/dispatch/oxt_handler.hxx +++ b/framework/inc/dispatch/oxt_handler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_OXT_HANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_OXT_HANDLER_HXX +#pragma once #include <com/sun/star/frame/XNotifyingDispatch.hpp> #include <com/sun/star/frame/XStatusListener.hpp> @@ -87,6 +86,4 @@ class Oxt_Handler final : public ::cppu::WeakImplHelper< } -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_OXT_HANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx index 95e9faeb5b77..3f38a6c939c8 100644 --- a/framework/inc/dispatch/popupmenudispatcher.hxx +++ b/framework/inc/dispatch/popupmenudispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_POPUPMENUDISPATCHER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_POPUPMENUDISPATCHER_HXX +#pragma once #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/frame/XDispatchProvider.hpp> @@ -115,6 +114,4 @@ class PopupMenuDispatcher final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_POPUPMENUDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/servicehandler.hxx b/framework/inc/dispatch/servicehandler.hxx index 0ca163823fec..35bb09d5d50d 100644 --- a/framework/inc/dispatch/servicehandler.hxx +++ b/framework/inc/dispatch/servicehandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_SERVICEHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_SERVICEHANDLER_HXX +#pragma once #include <com/sun/star/frame/XNotifyingDispatch.hpp> #include <com/sun/star/frame/XDispatch.hpp> @@ -98,6 +97,4 @@ class ServiceHandler final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_SERVICEHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/startmoduledispatcher.hxx b/framework/inc/dispatch/startmoduledispatcher.hxx index 3d3f53918bb5..712251b2b7f0 100644 --- a/framework/inc/dispatch/startmoduledispatcher.hxx +++ b/framework/inc/dispatch/startmoduledispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_STARTMODULEDISPATCHER_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_STARTMODULEDISPATCHER_HXX +#pragma once #include <com/sun/star/frame/XStatusListener.hpp> #include <com/sun/star/frame/XNotifyingDispatch.hpp> @@ -124,6 +123,4 @@ class StartModuleDispatcher final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_STARTMODULEDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/dispatch/systemexec.hxx b/framework/inc/dispatch/systemexec.hxx index 3035276c7cee..8dd7cc6fef11 100644 --- a/framework/inc/dispatch/systemexec.hxx +++ b/framework/inc/dispatch/systemexec.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_SYSTEMEXEC_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_SYSTEMEXEC_HXX +#pragma once #include <com/sun/star/frame/XNotifyingDispatch.hpp> #include <com/sun/star/frame/XDispatch.hpp> @@ -97,6 +96,4 @@ class SystemExec final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_SYSTEMEXEC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/dockingareadefaultacceptor.hxx b/framework/inc/helper/dockingareadefaultacceptor.hxx index 16423fb6e838..f591e12ef77a 100644 --- a/framework/inc/helper/dockingareadefaultacceptor.hxx +++ b/framework/inc/helper/dockingareadefaultacceptor.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_DOCKINGAREADEFAULTACCEPTOR_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_DOCKINGAREADEFAULTACCEPTOR_HXX +#pragma once #include <com/sun/star/ui/XDockingAreaAcceptor.hpp> #include <com/sun/star/frame/XFrame.hpp> @@ -66,6 +65,4 @@ class DockingAreaDefaultAcceptor final : public ::cppu::WeakImplHelper< css::ui: } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_DOCKINGAREADEFAULTACCEPTOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/mischelper.hxx b/framework/inc/helper/mischelper.hxx index d05ae360a082..e7f4412a4306 100644 --- a/framework/inc/helper/mischelper.hxx +++ b/framework/inc/helper/mischelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_MISCHELPER_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_MISCHELPER_HXX +#pragma once #include <com/sun/star/linguistic2/XLanguageGuessing.hpp> #include <com/sun/star/document/XDocumentEventListener.hpp> @@ -258,6 +257,4 @@ extern auto (*g_pGetMultiplexerListener)( } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_MISCHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx index ed11756c08ef..9c444953a042 100644 --- a/framework/inc/helper/ocomponentaccess.hxx +++ b/framework/inc/helper/ocomponentaccess.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTACCESS_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTACCESS_HXX +#pragma once #include <com/sun/star/frame/XFramesSupplier.hpp> #include <com/sun/star/container/XEnumerationAccess.hpp> @@ -159,6 +158,4 @@ class OComponentAccess final : public ::cppu::WeakImplHelper< css::container::XE } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTACCESS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/ocomponentenumeration.hxx b/framework/inc/helper/ocomponentenumeration.hxx index 10de97dd5806..008b688dec1a 100644 --- a/framework/inc/helper/ocomponentenumeration.hxx +++ b/framework/inc/helper/ocomponentenumeration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTENUMERATION_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTENUMERATION_HXX +#pragma once #include <com/sun/star/lang/XEventListener.hpp> #include <com/sun/star/container/XEnumeration.hpp> @@ -158,6 +157,4 @@ class OComponentEnumeration final : public ::cppu::WeakImplHelper< css::containe } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTENUMERATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/oframes.hxx b/framework/inc/helper/oframes.hxx index 773685876a57..d29063407aa4 100644 --- a/framework/inc/helper/oframes.hxx +++ b/framework/inc/helper/oframes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_OFRAMES_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_OFRAMES_HXX +#pragma once #include <framework/framecontainer.hxx> @@ -188,6 +187,4 @@ class OFrames final : public ::cppu::WeakImplHelper< css::frame::XFrames > } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/persistentwindowstate.hxx b/framework/inc/helper/persistentwindowstate.hxx index 86e477fd7920..2dd9391576df 100644 --- a/framework/inc/helper/persistentwindowstate.hxx +++ b/framework/inc/helper/persistentwindowstate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_PERSISTENTWINDOWSTATE_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_PERSISTENTWINDOWSTATE_HXX +#pragma once #include <sal/config.h> @@ -164,6 +163,4 @@ class PersistentWindowState final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_PERSISTENTWINDOWSTATE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/propertysetcontainer.hxx b/framework/inc/helper/propertysetcontainer.hxx index 6ad2dc86cb88..ba1c7110d1b6 100644 --- a/framework/inc/helper/propertysetcontainer.hxx +++ b/framework/inc/helper/propertysetcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_PROPERTYSETCONTAINER_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_PROPERTYSETCONTAINER_HXX +#pragma once /** Attention: stl headers must(!) be included at first. Otherwise it can make trouble with solaris headers ... @@ -72,6 +71,4 @@ class PropertySetContainer : public css::container::XIndexContainer , } -#endif // __FRAMEWORK_CLASSES_PROPERTYSETCONTAINER_HXX_ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/shareablemutex.hxx b/framework/inc/helper/shareablemutex.hxx index 9e6c3ac41c97..d43b3e938d20 100644 --- a/framework/inc/helper/shareablemutex.hxx +++ b/framework/inc/helper/shareablemutex.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_SHAREABLEMUTEX_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_SHAREABLEMUTEX_HXX +#pragma once #include <osl/interlck.h> #include <osl/mutex.hxx> @@ -88,6 +87,4 @@ class ShareGuard } -#endif // INCLUDED_FRAMEWORK_INC_HELPER_SHAREABLEMUTEX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/statusindicator.hxx b/framework/inc/helper/statusindicator.hxx index 66d5b1e7535a..8d97738d0008 100644 --- a/framework/inc/helper/statusindicator.hxx +++ b/framework/inc/helper/statusindicator.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATOR_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATOR_HXX +#pragma once // include files of own module #include <helper/statusindicatorfactory.hxx> @@ -101,6 +100,4 @@ class StatusIndicator final : public ::cppu::WeakImplHelper< css::task::XStatus } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx index c16f1eb37b67..f0f46a26ee95 100644 --- a/framework/inc/helper/statusindicatorfactory.hxx +++ b/framework/inc/helper/statusindicatorfactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATORFACTORY_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATORFACTORY_HXX +#pragma once // Attention: stl headers must(!) be included at first. Otherwise it can make trouble // with solaris headers ... @@ -268,6 +267,4 @@ class StatusIndicatorFactory final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATORFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/tagwindowasmodified.hxx b/framework/inc/helper/tagwindowasmodified.hxx index f466803a0a20..ee06ed6d6e44 100644 --- a/framework/inc/helper/tagwindowasmodified.hxx +++ b/framework/inc/helper/tagwindowasmodified.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_TAGWINDOWASMODIFIED_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_TAGWINDOWASMODIFIED_HXX +#pragma once #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/frame/XFrame.hpp> @@ -91,6 +90,4 @@ class TagWindowAsModified final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_TAGWINDOWASMODIFIED_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx index c06d23976ed4..dccfd91dbd62 100644 --- a/framework/inc/helper/titlebarupdate.hxx +++ b/framework/inc/helper/titlebarupdate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX +#pragma once #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -140,6 +139,4 @@ class TitleBarUpdate final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/uiconfigelementwrapperbase.hxx b/framework/inc/helper/uiconfigelementwrapperbase.hxx index 67d971bfb687..3b594c876be3 100644 --- a/framework/inc/helper/uiconfigelementwrapperbase.hxx +++ b/framework/inc/helper/uiconfigelementwrapperbase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_UICONFIGELEMENTWRAPPERBASE_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_UICONFIGELEMENTWRAPPERBASE_HXX +#pragma once #include <com/sun/star/ui/XUIElement.hpp> #include <com/sun/star/ui/XUIElementSettings.hpp> @@ -138,6 +137,4 @@ class UIConfigElementWrapperBase : private cppu::BaseMutex, } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_UICONFIGELEMENTWRAPPERBASE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/uielementwrapperbase.hxx b/framework/inc/helper/uielementwrapperbase.hxx index 11c30680f67e..664000b67fa8 100644 --- a/framework/inc/helper/uielementwrapperbase.hxx +++ b/framework/inc/helper/uielementwrapperbase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_UIELEMENTWRAPPERBASE_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_UIELEMENTWRAPPERBASE_HXX +#pragma once #include <com/sun/star/ui/XUIElement.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -109,6 +108,4 @@ class UIElementWrapperBase : private cppu::BaseMutex, } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_UIELEMENTWRAPPERBASE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/vclstatusindicator.hxx b/framework/inc/helper/vclstatusindicator.hxx index ba0a84a0e2f4..bd325665f8d7 100644 --- a/framework/inc/helper/vclstatusindicator.hxx +++ b/framework/inc/helper/vclstatusindicator.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_VCLSTATUSINDICATOR_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_VCLSTATUSINDICATOR_HXX +#pragma once #include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/awt/XWindow.hpp> @@ -87,6 +86,4 @@ class VCLStatusIndicator final : public ::cppu::WeakImplHelper< css::task::XSta } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_VCLSTATUSINDICATOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/wakeupthread.hxx b/framework/inc/helper/wakeupthread.hxx index 49f268a821e8..f9099180d03f 100644 --- a/framework/inc/helper/wakeupthread.hxx +++ b/framework/inc/helper/wakeupthread.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_WAKEUPTHREAD_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_WAKEUPTHREAD_HXX +#pragma once #include <sal/config.h> @@ -52,6 +51,4 @@ public: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/interaction/quietinteraction.hxx b/framework/inc/interaction/quietinteraction.hxx index 008eab055726..ce0969bd142c 100644 --- a/framework/inc/interaction/quietinteraction.hxx +++ b/framework/inc/interaction/quietinteraction.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_INTERACTION_QUIETINTERACTION_HXX -#define INCLUDED_FRAMEWORK_INC_INTERACTION_QUIETINTERACTION_HXX +#pragma once #include <com/sun/star/task/XInteractionHandler.hpp> #include <com/sun/star/task/XInteractionRequest.hpp> @@ -108,6 +107,4 @@ class QuietInteraction final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_INTERACTION_QUIETINTERACTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/jobs/configaccess.hxx b/framework/inc/jobs/configaccess.hxx index 3301a63d2c4c..4d73df2e1c46 100644 --- a/framework/inc/jobs/configaccess.hxx +++ b/framework/inc/jobs/configaccess.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_CONFIGACCESS_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_CONFIGACCESS_HXX +#pragma once #include <com/sun/star/uno/XComponentContext.hpp> @@ -85,6 +84,4 @@ class ConfigAccess final } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_CONFIGACCESS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/jobs/helponstartup.hxx b/framework/inc/jobs/helponstartup.hxx index 4f3f5c51b5ed..63326f00454d 100644 --- a/framework/inc/jobs/helponstartup.hxx +++ b/framework/inc/jobs/helponstartup.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_HELPONSTARTUP_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_HELPONSTARTUP_HXX +#pragma once #include <sal/config.h> @@ -186,6 +185,4 @@ class HelpOnStartup final : public ::cppu::WeakImplHelper< css::lang::XServiceIn } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_HELPONSTARTUP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/jobs/job.hxx b/framework/inc/jobs/job.hxx index a4e2e472c884..185b201d9a31 100644 --- a/framework/inc/jobs/job.hxx +++ b/framework/inc/jobs/job.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOB_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_JOB_HXX +#pragma once #include <jobs/jobdata.hxx> @@ -200,6 +199,4 @@ class Job final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_JOB_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/jobs/jobconst.hxx b/framework/inc/jobs/jobconst.hxx index 31a504a9d360..7c6fc17cc715 100644 --- a/framework/inc/jobs/jobconst.hxx +++ b/framework/inc/jobs/jobconst.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOBCONST_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_JOBCONST_HXX +#pragma once #include <rtl/ustring.hxx> @@ -42,6 +41,4 @@ public: } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_JOBCONST_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/jobs/jobdata.hxx b/framework/inc/jobs/jobdata.hxx index e6cdea7ff13e..392b2512453e 100644 --- a/framework/inc/jobs/jobdata.hxx +++ b/framework/inc/jobs/jobdata.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOBDATA_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_JOBDATA_HXX +#pragma once #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/beans/NamedValue.hpp> @@ -206,6 +205,4 @@ class JobData final } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_JOBDATA_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/jobs/jobresult.hxx b/framework/inc/jobs/jobresult.hxx index 2178a541a895..a9d3f189bac8 100644 --- a/framework/inc/jobs/jobresult.hxx +++ b/framework/inc/jobs/jobresult.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOBRESULT_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_JOBRESULT_HXX +#pragma once #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/frame/DispatchResultEvent.hpp> @@ -101,6 +100,4 @@ class JobResult final } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_JOBRESULT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/jobs/joburl.hxx b/framework/inc/jobs/joburl.hxx index 32c2fc809aa5..3a227a375c78 100644 --- a/framework/inc/jobs/joburl.hxx +++ b/framework/inc/jobs/joburl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOBURL_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_JOBURL_HXX +#pragma once #include <rtl/ustring.hxx> @@ -106,6 +105,4 @@ class JobURL } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_JOBURL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx index 4434bd8fbafa..d03ee7921dc0 100644 --- a/framework/inc/jobs/shelljob.hxx +++ b/framework/inc/jobs/shelljob.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_SHELLJOB_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_SHELLJOB_HXX +#pragma once #include <cppuhelper/implbase.hxx> @@ -123,6 +122,4 @@ class ShellJob final : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,cs } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_SHELLJOB_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/properties.h b/framework/inc/properties.h index b5bcd412f5c6..06da65ca733c 100644 --- a/framework/inc/properties.h +++ b/framework/inc/properties.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_PROPERTIES_H -#define INCLUDED_FRAMEWORK_INC_PROPERTIES_H +#pragma once #include <com/sun/star/uno/Any.hxx> @@ -179,6 +178,4 @@ class PropHelper } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_PROPERTIES_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/protocols.h b/framework/inc/protocols.h index c0a1743b6574..f9dfffd85a3d 100644 --- a/framework/inc/protocols.h +++ b/framework/inc/protocols.h @@ -19,8 +19,7 @@ /*TODO outline this implementation :-) */ -#ifndef INCLUDED_FRAMEWORK_INC_PROTOCOLS_H -#define INCLUDED_FRAMEWORK_INC_PROTOCOLS_H +#pragma once #include <rtl/ustring.hxx> @@ -118,6 +117,4 @@ class ProtocolCheck } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_PROTOCOLS_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/recording/dispatchrecorder.hxx b/framework/inc/recording/dispatchrecorder.hxx index dbbd50166382..e8ba276da891 100644 --- a/framework/inc/recording/dispatchrecorder.hxx +++ b/framework/inc/recording/dispatchrecorder.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_RECORDING_DISPATCHRECORDER_HXX -#define INCLUDED_FRAMEWORK_INC_RECORDING_DISPATCHRECORDER_HXX +#pragma once /** Attention: stl headers must(!) be included at first. Otherwise it can make trouble with solaris headers ... @@ -89,6 +88,4 @@ class DispatchRecorder final } // namespace framework -#endif // define __FRAMEWORK... - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/recording/dispatchrecordersupplier.hxx b/framework/inc/recording/dispatchrecordersupplier.hxx index 934b82df0452..d01cec161d73 100644 --- a/framework/inc/recording/dispatchrecordersupplier.hxx +++ b/framework/inc/recording/dispatchrecordersupplier.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_RECORDING_DISPATCHRECORDERSUPPLIER_HXX -#define INCLUDED_FRAMEWORK_INC_RECORDING_DISPATCHRECORDERSUPPLIER_HXX +#pragma once #include <com/sun/star/frame/XDispatchRecorderSupplier.hpp> #include <com/sun/star/util/URL.hpp> @@ -81,6 +80,4 @@ class DispatchRecorderSupplier final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_RECORDING_DISPATCHRECORDERSUPPLIER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/services.h b/framework/inc/services.h index 01a93213abd9..885ade4fbf47 100644 --- a/framework/inc/services.h +++ b/framework/inc/services.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_SERVICES_H -#define INCLUDED_FRAMEWORK_INC_SERVICES_H +#pragma once namespace framework{ @@ -38,6 +37,4 @@ namespace framework{ } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_SERVICES_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index 955b2e42587e..0274492db1d3 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_SERVICES_LAYOUTMANAGER_HXX -#define INCLUDED_FRAMEWORK_INC_SERVICES_LAYOUTMANAGER_HXX +#pragma once #include <uielement/menubarmanager.hxx> #include <uielement/uielement.hxx> @@ -270,6 +269,4 @@ namespace framework } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_SERVICES_LAYOUTMANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/services/mediatypedetectionhelper.hxx b/framework/inc/services/mediatypedetectionhelper.hxx index 80a7fc4b91b3..fd89d5c686d4 100644 --- a/framework/inc/services/mediatypedetectionhelper.hxx +++ b/framework/inc/services/mediatypedetectionhelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_SERVICES_MEDIATYPEDETECTIONHELPER_HXX -#define INCLUDED_FRAMEWORK_INC_SERVICES_MEDIATYPEDETECTIONHELPER_HXX +#pragma once #include <com/sun/star/util/XStringMapping.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -65,6 +64,4 @@ class MediaTypeDetectionHelper final : public ::cppu::WeakImplHelper< css::util: } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_SERVICES_MEDIATYPEDETECTIONHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/services/uriabbreviation.hxx b/framework/inc/services/uriabbreviation.hxx index f4e3ef10dc4b..d33255b3aae7 100644 --- a/framework/inc/services/uriabbreviation.hxx +++ b/framework/inc/services/uriabbreviation.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_SERVICES_URIABBREVIATION_HXX -#define INCLUDED_FRAMEWORK_INC_SERVICES_URIABBREVIATION_HXX +#pragma once #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/util/XStringAbbreviation.hpp> @@ -53,6 +52,4 @@ private: } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_SERVICES_URIABBREVIATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/stdtypes.h b/framework/inc/stdtypes.h index ba4933b7d607..a61ccc8fdc33 100644 --- a/framework/inc/stdtypes.h +++ b/framework/inc/stdtypes.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_STDTYPES_H -#define INCLUDED_FRAMEWORK_INC_STDTYPES_H +#pragma once #include <com/sun/star/awt/KeyEvent.hpp> @@ -66,6 +65,4 @@ typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString> ListenerHash; } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_STDTYPES_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/strings.hrc b/framework/inc/strings.hrc index 23cb9bbed357..8216bb623eb3 100644 --- a/framework/inc/strings.hrc +++ b/framework/inc/strings.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_STRINGS_HRC -#define INCLUDED_FRAMEWORK_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) @@ -76,6 +75,4 @@ #define RID_STR_PROPTITLE_SPINBUTTON NC_("RID_STR_PROPTITLE_SPINBUTTON", "Spin Button") #define RID_STR_PROPTITLE_NAVBAR NC_("RID_STR_PROPTITLE_NAVBAR", "Navigation Bar") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/targets.h b/framework/inc/targets.h index 061b532fb6f2..7112e9210644 100644 --- a/framework/inc/targets.h +++ b/framework/inc/targets.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_TARGETS_H -#define INCLUDED_FRAMEWORK_INC_TARGETS_H +#pragma once namespace framework{ @@ -34,6 +33,4 @@ namespace framework{ } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_TARGETS_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/taskcreatordefs.hxx b/framework/inc/taskcreatordefs.hxx index df56779d4699..7ca5a02813ce 100644 --- a/framework/inc/taskcreatordefs.hxx +++ b/framework/inc/taskcreatordefs.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_TASKCREATORDEFS_HXX -#define INCLUDED_FRAMEWORK_INC_TASKCREATORDEFS_HXX +#pragma once /// [XFrame] if it's set, it will be used as parent frame for the new created frame. constexpr OUStringLiteral ARGUMENT_PARENTFRAME = u"ParentFrame"; // XFrame @@ -55,6 +54,4 @@ constexpr OUStringLiteral ARGUMENT_SUPPORTPERSISTENTWINDOWSTATE inline constexpr OUStringLiteral ARGUMENT_ENABLE_TITLEBARUPDATE = u"EnableTitleBarUpdate"; // sal_Bool -#endif // INCLUDED_FRAMEWORK_INC_TASKCREATORDEFS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/threadhelp/transactionguard.hxx b/framework/inc/threadhelp/transactionguard.hxx index a030ba56fb56..24c273be62ac 100644 --- a/framework/inc/threadhelp/transactionguard.hxx +++ b/framework/inc/threadhelp/transactionguard.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_THREADHELP_TRANSACTIONGUARD_HXX -#define INCLUDED_FRAMEWORK_INC_THREADHELP_TRANSACTIONGUARD_HXX +#pragma once #include <framework/transactionmanager.hxx> @@ -46,6 +45,4 @@ class TransactionGuard } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uiconfiguration/globalsettings.hxx b/framework/inc/uiconfiguration/globalsettings.hxx index c90ab14538ea..4730ef580b94 100644 --- a/framework/inc/uiconfiguration/globalsettings.hxx +++ b/framework/inc/uiconfiguration/globalsettings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GLOBALSETTINGS_HXX -#define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GLOBALSETTINGS_HXX +#pragma once #include <com/sun/star/uno/XComponentContext.hpp> @@ -50,6 +49,4 @@ class GlobalSettings } // namespace framework -#endif // __FRAMEWORK_UIELEMENT_WINDOWSTATECONFIGURATION_HXX_ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uiconfiguration/graphicnameaccess.hxx b/framework/inc/uiconfiguration/graphicnameaccess.hxx index b25061ff69ad..bba9aaed920c 100644 --- a/framework/inc/uiconfiguration/graphicnameaccess.hxx +++ b/framework/inc/uiconfiguration/graphicnameaccess.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GRAPHICNAMEACCESS_HXX -#define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GRAPHICNAMEACCESS_HXX +#pragma once #include <unordered_map> @@ -52,6 +51,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GRAPHICNAMEACCESS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uiconfiguration/imagemanager.hxx b/framework/inc/uiconfiguration/imagemanager.hxx index 331b4ec09210..1688ba44c10c 100644 --- a/framework/inc/uiconfiguration/imagemanager.hxx +++ b/framework/inc/uiconfiguration/imagemanager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_IMAGEMANAGER_HXX -#define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_IMAGEMANAGER_HXX +#pragma once #include <memory> @@ -92,6 +91,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UICONFIGURATION_IMAGEMANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uiconfiguration/imagetype.hxx b/framework/inc/uiconfiguration/imagetype.hxx index 783d1ce88377..54ac4b1682d8 100644 --- a/framework/inc/uiconfiguration/imagetype.hxx +++ b/framework/inc/uiconfiguration/imagetype.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_IMAGETYPE_HXX -#define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_IMAGETYPE_HXX +#pragma once #include <rtl/ustring.hxx> #include <unordered_map> @@ -33,6 +32,4 @@ typedef std::unordered_map< OUString, } -#endif // INCLUDED_FRAMEWORK_INC_UICONFIGURATION_IMAGETYPE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uiconfiguration/moduleimagemanager.hxx b/framework/inc/uiconfiguration/moduleimagemanager.hxx index 23d5fc5b6b64..d9fc98971b9d 100644 --- a/framework/inc/uiconfiguration/moduleimagemanager.hxx +++ b/framework/inc/uiconfiguration/moduleimagemanager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_MODULEIMAGEMANAGER_HXX -#define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_MODULEIMAGEMANAGER_HXX +#pragma once #include <com/sun/star/ui/XImageManager.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -71,6 +70,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UICONFIGURATION_MODULEIMAGEMANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uiconfiguration/windowstateproperties.hxx b/framework/inc/uiconfiguration/windowstateproperties.hxx index b4653c4a1f27..d7a394a80a86 100644 --- a/framework/inc/uiconfiguration/windowstateproperties.hxx +++ b/framework/inc/uiconfiguration/windowstateproperties.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_WINDOWSTATEPROPERTIES_HXX -#define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_WINDOWSTATEPROPERTIES_HXX +#pragma once #define WINDOWSTATE_PROPERTY_LOCKED "Locked" #define WINDOWSTATE_PROPERTY_DOCKED "Docked" @@ -37,6 +36,4 @@ #define WINDOWSTATE_PROPERTY_SOFTCLOSE "SoftClose" #define WINDOWSTATE_PROPERTY_CONTEXTACTIVE "ContextActive" -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/FixedImageToolbarController.hxx b/framework/inc/uielement/FixedImageToolbarController.hxx index 30359a051b20..ffe40713b524 100644 --- a/framework/inc/uielement/FixedImageToolbarController.hxx +++ b/framework/inc/uielement/FixedImageToolbarController.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_FIXEDIMAGETOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_FIXEDIMAGETOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/ControlCommand.hpp> @@ -53,6 +52,4 @@ private: }; } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_FIXEDIMAGETOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/FixedTextToolbarController.hxx b/framework/inc/uielement/FixedTextToolbarController.hxx index b51d0de53654..bcf1d093f3f6 100644 --- a/framework/inc/uielement/FixedTextToolbarController.hxx +++ b/framework/inc/uielement/FixedTextToolbarController.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_FIXEDTEXTTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_FIXEDTEXTTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/frame/ControlCommand.hpp> @@ -50,6 +49,4 @@ private: }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_FIXEDTEXTTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/addonstoolbarwrapper.hxx b/framework/inc/uielement/addonstoolbarwrapper.hxx index 2970ce6d13fa..68cfc0ff31d0 100644 --- a/framework/inc/uielement/addonstoolbarwrapper.hxx +++ b/framework/inc/uielement/addonstoolbarwrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_ADDONSTOOLBARWRAPPER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_ADDONSTOOLBARWRAPPER_HXX +#pragma once #include <helper/uielementwrapperbase.hxx> @@ -55,6 +54,4 @@ class AddonsToolBarWrapper final : public UIElementWrapperBase } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_ADDONSTOOLBARWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/buttontoolbarcontroller.hxx b/framework/inc/uielement/buttontoolbarcontroller.hxx index 989c952038a4..f80b0cacb511 100644 --- a/framework/inc/uielement/buttontoolbarcontroller.hxx +++ b/framework/inc/uielement/buttontoolbarcontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_BUTTONTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_BUTTONTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/util/XUpdatable.hpp> @@ -92,6 +91,4 @@ class ButtonToolbarController final : public css::frame::XStatusListener, } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_BUTTONTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/comboboxtoolbarcontroller.hxx b/framework/inc/uielement/comboboxtoolbarcontroller.hxx index 4762d595ace9..126aab6500dd 100644 --- a/framework/inc/uielement/comboboxtoolbarcontroller.hxx +++ b/framework/inc/uielement/comboboxtoolbarcontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_COMBOBOXTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_COMBOBOXTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/ControlCommand.hpp> @@ -60,6 +59,4 @@ class ComboboxToolbarController final : public ComplexToolbarController } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_COMBOBOXTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/commandinfo.hxx b/framework/inc/uielement/commandinfo.hxx index de3bee8ee88f..2a35b3363aa4 100644 --- a/framework/inc/uielement/commandinfo.hxx +++ b/framework/inc/uielement/commandinfo.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_COMMANDINFO_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_COMMANDINFO_HXX +#pragma once #include <rtl/ustring.hxx> #include <vcl/toolbox.hxx> @@ -43,6 +42,4 @@ typedef std::unordered_map<OUString, CommandInfo> CommandToInfoMap; } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_COMMANDINFO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/complextoolbarcontroller.hxx b/framework/inc/uielement/complextoolbarcontroller.hxx index 5855d2cb41b3..07b97923b0db 100644 --- a/framework/inc/uielement/complextoolbarcontroller.hxx +++ b/framework/inc/uielement/complextoolbarcontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_COMPLEXTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_COMPLEXTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/util/URL.hpp> #include <com/sun/star/beans/NamedValue.hpp> @@ -96,6 +95,4 @@ class ComplexToolbarController : public svt::ToolboxController } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_COMPLEXTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/constitemcontainer.hxx b/framework/inc/uielement/constitemcontainer.hxx index 512baa2cb467..53a0711404df 100644 --- a/framework/inc/uielement/constitemcontainer.hxx +++ b/framework/inc/uielement/constitemcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_CONSTITEMCONTAINER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_CONSTITEMCONTAINER_HXX +#pragma once #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -95,6 +94,4 @@ class ConstItemContainer final : public ::cppu::WeakImplHelper< } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_CONSTITEMCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx b/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx index d9f1664dfc87..cb01578629cd 100644 --- a/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx +++ b/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_DROPDOWNBOXTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_DROPDOWNBOXTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/ControlCommand.hpp> @@ -61,6 +60,4 @@ class DropdownToolbarController final : public ComplexToolbarController } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_DROPDOWNBOXTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/edittoolbarcontroller.hxx b/framework/inc/uielement/edittoolbarcontroller.hxx index e7acaafe8aae..c45aa38937cf 100644 --- a/framework/inc/uielement/edittoolbarcontroller.hxx +++ b/framework/inc/uielement/edittoolbarcontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_EDITTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_EDITTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/ControlCommand.hpp> @@ -61,6 +60,4 @@ class EditToolbarController final : public ComplexToolbarController } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_EDITTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/fontmenucontroller.hxx b/framework/inc/uielement/fontmenucontroller.hxx index 27da18f204a5..b98e8c7b1dab 100644 --- a/framework/inc/uielement/fontmenucontroller.hxx +++ b/framework/inc/uielement/fontmenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_FONTMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_FONTMENUCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/XDispatch.hpp> @@ -61,6 +60,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_FONTMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/fontsizemenucontroller.hxx b/framework/inc/uielement/fontsizemenucontroller.hxx index f7feba920825..7834a29b2e8d 100644 --- a/framework/inc/uielement/fontsizemenucontroller.hxx +++ b/framework/inc/uielement/fontsizemenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_FONTSIZEMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_FONTSIZEMENUCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XDispatch.hpp> @@ -67,6 +66,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_FONTSIZEMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/footermenucontroller.hxx b/framework/inc/uielement/footermenucontroller.hxx index 5cf3388667dc..304ffeec3cc7 100644 --- a/framework/inc/uielement/footermenucontroller.hxx +++ b/framework/inc/uielement/footermenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_FOOTERMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_FOOTERMENUCONTROLLER_HXX +#pragma once #include <uielement/headermenucontroller.hxx> @@ -37,6 +36,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_FOOTERMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/genericstatusbarcontroller.hxx b/framework/inc/uielement/genericstatusbarcontroller.hxx index 95521d2a29e2..e0eae738fda0 100644 --- a/framework/inc/uielement/genericstatusbarcontroller.hxx +++ b/framework/inc/uielement/genericstatusbarcontroller.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_FRAMEWORK_INC_UIELEMENT_GENERICSTATUSBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_GENERICSTATUSBARCONTROLLER_HXX +#pragma once #include <svtools/statusbarcontroller.hxx> @@ -55,6 +54,4 @@ class GenericStatusbarController final : public svt::StatusbarController } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/headermenucontroller.hxx b/framework/inc/uielement/headermenucontroller.hxx index bf395bf75af7..cdd48fea49ff 100644 --- a/framework/inc/uielement/headermenucontroller.hxx +++ b/framework/inc/uielement/headermenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_HEADERMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_HEADERMENUCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/XModel.hpp> @@ -56,6 +55,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_HEADERMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/imagebuttontoolbarcontroller.hxx b/framework/inc/uielement/imagebuttontoolbarcontroller.hxx index 0888e390b037..0e8ecbae6ca7 100644 --- a/framework/inc/uielement/imagebuttontoolbarcontroller.hxx +++ b/framework/inc/uielement/imagebuttontoolbarcontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_IMAGEBUTTONTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_IMAGEBUTTONTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/ControlCommand.hpp> @@ -52,6 +51,4 @@ class ImageButtonToolbarController final : public ComplexToolbarController } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_IMAGEBUTTONTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/itemcontainer.hxx b/framework/inc/uielement/itemcontainer.hxx index 5f2142caa19b..a53bcfa8f3c2 100644 --- a/framework/inc/uielement/itemcontainer.hxx +++ b/framework/inc/uielement/itemcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_ITEMCONTAINER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_ITEMCONTAINER_HXX +#pragma once #include <helper/shareablemutex.hxx> @@ -78,6 +77,4 @@ class ItemContainer final : public ::cppu::WeakImplHelper< css::container::XInde } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_ITEMCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/langselectionmenucontroller.hxx b/framework/inc/uielement/langselectionmenucontroller.hxx index 0651a1ababb3..c27f42b56431 100644 --- a/framework/inc/uielement/langselectionmenucontroller.hxx +++ b/framework/inc/uielement/langselectionmenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_LANGSELECTIONMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_LANGSELECTIONMENUCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/XDispatch.hpp> @@ -82,6 +81,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_LANGSELECTIONMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/macrosmenucontroller.hxx b/framework/inc/uielement/macrosmenucontroller.hxx index 819dc316f3f5..7e70f0f0a3bb 100644 --- a/framework/inc/uielement/macrosmenucontroller.hxx +++ b/framework/inc/uielement/macrosmenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_MACROSMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_MACROSMENUCONTROLLER_HXX +#pragma once #include <svtools/popupmenucontrollerbase.hxx> #include <vcl/menu.hxx> @@ -52,6 +51,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_MACROSMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/menubarmanager.hxx b/framework/inc/uielement/menubarmanager.hxx index 9cb47eedc7d3..e9fb1a9c32ae 100644 --- a/framework/inc/uielement/menubarmanager.hxx +++ b/framework/inc/uielement/menubarmanager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_MENUBARMANAGER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_MENUBARMANAGER_HXX +#pragma once /** Attention: stl headers must(!) be included at first. Otherwise it can make trouble with solaris headers ... @@ -195,6 +194,4 @@ class MenuBarManager final : } // namespace -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/menubarmerger.hxx b/framework/inc/uielement/menubarmerger.hxx index 8de837c5e81e..8ff81de4580a 100644 --- a/framework/inc/uielement/menubarmerger.hxx +++ b/framework/inc/uielement/menubarmerger.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_MENUBARMERGER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_MENUBARMERGER_HXX +#pragma once #include <com/sun/star/beans/PropertyValue.hpp> @@ -108,6 +107,4 @@ namespace MenuBarMerger } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_MENUBARMERGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/menubarwrapper.hxx b/framework/inc/uielement/menubarwrapper.hxx index 374c1b1e9b21..b2a7f6cb3297 100644 --- a/framework/inc/uielement/menubarwrapper.hxx +++ b/framework/inc/uielement/menubarwrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_MENUBARWRAPPER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_MENUBARWRAPPER_HXX +#pragma once #include <helper/uiconfigelementwrapperbase.hxx> #include <uielement/menubarmanager.hxx> @@ -80,6 +79,4 @@ class MenuBarWrapper final : public UIConfigElementWrapperBase, } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_MENUBARWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/newmenucontroller.hxx b/framework/inc/uielement/newmenucontroller.hxx index 8356ab4925e7..2c745cc2b64d 100644 --- a/framework/inc/uielement/newmenucontroller.hxx +++ b/framework/inc/uielement/newmenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_NEWMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_NEWMENUCONTROLLER_HXX +#pragma once #include <com/sun/star/ui/XAcceleratorConfiguration.hpp> @@ -82,6 +81,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_NEWMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/progressbarwrapper.hxx b/framework/inc/uielement/progressbarwrapper.hxx index 78dad538fe04..5b6ca9019e16 100644 --- a/framework/inc/uielement/progressbarwrapper.hxx +++ b/framework/inc/uielement/progressbarwrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_PROGRESSBARWRAPPER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_PROGRESSBARWRAPPER_HXX +#pragma once #include <helper/uielementwrapperbase.hxx> @@ -80,6 +79,4 @@ class ProgressBarWrapper final : public UIElementWrapperBase } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_PROGRESSBARWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx index cc12b5fa18f5..c9987d858ac9 100644 --- a/framework/inc/uielement/rootitemcontainer.hxx +++ b/framework/inc/uielement/rootitemcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_ROOTITEMCONTAINER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_ROOTITEMCONTAINER_HXX +#pragma once #include <helper/shareablemutex.hxx> @@ -123,6 +122,4 @@ class RootItemContainer final : private cppu::BaseMutex, } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_ROOTITEMCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx index 80a0d26ebdc0..609f4ec012e1 100644 --- a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx +++ b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_SPINFIELDTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_SPINFIELDTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/ControlCommand.hpp> @@ -71,6 +70,4 @@ class SpinfieldToolbarController final : public ComplexToolbarController } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_SPINFIELDTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/statusbar.hxx b/framework/inc/uielement/statusbar.hxx index fec07a45bc26..28e2e2b49487 100644 --- a/framework/inc/uielement/statusbar.hxx +++ b/framework/inc/uielement/statusbar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBAR_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBAR_HXX +#pragma once #include <uielement/statusbarmanager.hxx> @@ -50,6 +49,4 @@ class FrameworkStatusBar : public StatusBar } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/statusbaritem.hxx b/framework/inc/uielement/statusbaritem.hxx index 7dd3ed672327..62e3c1f4e62e 100644 --- a/framework/inc/uielement/statusbaritem.hxx +++ b/framework/inc/uielement/statusbaritem.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_FRAMEWORK_INC_UIELEMENT_STATUSBARITEM_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARITEM_HXX +#pragma once #include <com/sun/star/ui/XStatusbarItem.hpp> #include <cppuhelper/compbase.hxx> @@ -76,6 +75,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/statusbarmanager.hxx b/framework/inc/uielement/statusbarmanager.hxx index 5fc341ae1588..c4b2876277ad 100644 --- a/framework/inc/uielement/statusbarmanager.hxx +++ b/framework/inc/uielement/statusbarmanager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARMANAGER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARMANAGER_HXX +#pragma once #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XStatusbarController.hpp> @@ -101,6 +100,4 @@ class StatusBarManager final: public ::cppu::WeakImplHelper< } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARMANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/statusbarmerger.hxx b/framework/inc/uielement/statusbarmerger.hxx index ae7543be4360..350bae4bf2f8 100644 --- a/framework/inc/uielement/statusbarmerger.hxx +++ b/framework/inc/uielement/statusbarmerger.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_FRAMEWORK_INC_UIELEMENT_STATUSBARMERGER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARMERGER_HXX +#pragma once #include <sal/config.h> @@ -73,6 +72,4 @@ namespace StatusbarMerger } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/statusbarwrapper.hxx b/framework/inc/uielement/statusbarwrapper.hxx index c8f0e53e11fa..84b2befb459d 100644 --- a/framework/inc/uielement/statusbarwrapper.hxx +++ b/framework/inc/uielement/statusbarwrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARWRAPPER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARWRAPPER_HXX +#pragma once #include <helper/uiconfigelementwrapperbase.hxx> @@ -54,6 +53,4 @@ class StatusBarWrapper final : public UIConfigElementWrapperBase } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/statusindicatorinterfacewrapper.hxx b/framework/inc/uielement/statusindicatorinterfacewrapper.hxx index c9913de0d83c..abfae53e754f 100644 --- a/framework/inc/uielement/statusindicatorinterfacewrapper.hxx +++ b/framework/inc/uielement/statusindicatorinterfacewrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSINDICATORINTERFACEWRAPPER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSINDICATORINTERFACEWRAPPER_HXX +#pragma once #include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/lang/XComponent.hpp> @@ -51,6 +50,4 @@ class StatusIndicatorInterfaceWrapper final : public ::cppu::WeakImplHelper< css } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSINDICATORINTERFACEWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/styletoolbarcontroller.hxx b/framework/inc/uielement/styletoolbarcontroller.hxx index e6d596905e4c..b7bbd8a11782 100644 --- a/framework/inc/uielement/styletoolbarcontroller.hxx +++ b/framework/inc/uielement/styletoolbarcontroller.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_STYLETOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_STYLETOOLBARCONTROLLER_HXX +#pragma once #include <svtools/toolboxcontroller.hxx> #include <com/sun/star/frame/XDispatchProvider.hpp> @@ -76,6 +75,4 @@ public: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/framework/inc/uielement/togglebuttontoolbarcontroller.hxx b/framework/inc/uielement/togglebuttontoolbarcontroller.hxx index aeab78785556..fe11433434b7 100644 --- a/framework/inc/uielement/togglebuttontoolbarcontroller.hxx +++ b/framework/inc/uielement/togglebuttontoolbarcontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOGGLEBUTTONTOOLBARCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOGGLEBUTTONTOOLBARCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/ControlCommand.hpp> @@ -74,6 +73,4 @@ class ToggleButtonToolbarController final : public ComplexToolbarController } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_TOGGLEBUTTONTOOLBARCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index 3b5e37d8dbb0..e9578bda6aad 100644 --- a/framework/inc/uielement/toolbarmanager.hxx +++ b/framework/inc/uielement/toolbarmanager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMANAGER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMANAGER_HXX +#pragma once #include <uielement/commandinfo.hxx> @@ -178,6 +177,4 @@ class ToolBarManager final : public ToolbarManager_Base } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/toolbarmerger.hxx b/framework/inc/uielement/toolbarmerger.hxx index 01defd7b2e0f..ccfa73ad4d9e 100644 --- a/framework/inc/uielement/toolbarmerger.hxx +++ b/framework/inc/uielement/toolbarmerger.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMERGER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMERGER_HXX +#pragma once #include <sal/config.h> @@ -136,6 +135,4 @@ class ToolBarMerger } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMERGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/toolbarmodemenucontroller.hxx b/framework/inc/uielement/toolbarmodemenucontroller.hxx index fb3072c6bbf7..cee2b0dac3a0 100644 --- a/framework/inc/uielement/toolbarmodemenucontroller.hxx +++ b/framework/inc/uielement/toolbarmodemenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMODEMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMODEMENUCONTROLLER_HXX +#pragma once #include <svtools/popupmenucontrollerbase.hxx> @@ -57,6 +56,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMODEMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/toolbarsmenucontroller.hxx b/framework/inc/uielement/toolbarsmenucontroller.hxx index 5016235f9c16..99d64775d6b6 100644 --- a/framework/inc/uielement/toolbarsmenucontroller.hxx +++ b/framework/inc/uielement/toolbarsmenucontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARSMENUCONTROLLER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARSMENUCONTROLLER_HXX +#pragma once #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/frame/XLayoutManager.hpp> @@ -87,6 +86,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARSMENUCONTROLLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/toolbarwrapper.hxx b/framework/inc/uielement/toolbarwrapper.hxx index 60d5759f6316..c2c93728cb5f 100644 --- a/framework/inc/uielement/toolbarwrapper.hxx +++ b/framework/inc/uielement/toolbarwrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARWRAPPER_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARWRAPPER_HXX +#pragma once #include <helper/uiconfigelementwrapperbase.hxx> @@ -74,6 +73,4 @@ class ToolBarWrapper final : public css::ui::XUIFunctionListener, } -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/uielement.hxx b/framework/inc/uielement/uielement.hxx index 9e63b1c0f68f..f236f943082b 100644 --- a/framework/inc/uielement/uielement.hxx +++ b/framework/inc/uielement/uielement.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_UIELEMENT_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_UIELEMENT_HXX +#pragma once #include <com/sun/star/ui/XUIElement.hpp> #include <com/sun/star/ui/DockingArea.hpp> @@ -103,6 +102,4 @@ typedef std::vector< UIElement > UIElementVector; } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_UIELEMENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/uielement/uielementtypenames.hxx b/framework/inc/uielement/uielementtypenames.hxx index cd5617a8afef..a248a0d9f259 100644 --- a/framework/inc/uielement/uielementtypenames.hxx +++ b/framework/inc/uielement/uielementtypenames.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_UIELEMENTTYPENAMES_HXX -#define INCLUDED_FRAMEWORK_INC_UIELEMENT_UIELEMENTTYPENAMES_HXX +#pragma once #define UIELEMENTTYPE_MENUBAR_NAME "menubar" #define UIELEMENTTYPE_POPUPMENU_NAME "popupmenu" @@ -28,6 +27,4 @@ #define UIELEMENTTYPE_PROGRESSBAR_NAME "progressbar" #define UIELEMENTTYPE_TOOLPANEL_NAME "toolpanel" -#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_UIELEMENTTYPENAMES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/acceleratorconfigurationreader.hxx b/framework/inc/xml/acceleratorconfigurationreader.hxx index b86bb1095e83..775463013749 100644 --- a/framework/inc/xml/acceleratorconfigurationreader.hxx +++ b/framework/inc/xml/acceleratorconfigurationreader.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONREADER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONREADER_HXX +#pragma once #include <accelerators/acceleratorcache.hxx> @@ -131,6 +130,4 @@ class AcceleratorConfigurationReader final : public ::cppu::WeakImplHelper< css: } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONREADER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/acceleratorconfigurationwriter.hxx b/framework/inc/xml/acceleratorconfigurationwriter.hxx index f66b5f6da143..ce28896b1118 100644 --- a/framework/inc/xml/acceleratorconfigurationwriter.hxx +++ b/framework/inc/xml/acceleratorconfigurationwriter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONWRITER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONWRITER_HXX +#pragma once #include <accelerators/acceleratorcache.hxx> @@ -76,6 +75,4 @@ class AcceleratorConfigurationWriter final } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONWRITER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/imagesconfiguration.hxx b/framework/inc/xml/imagesconfiguration.hxx index cadf20e92272..4b17b7c98d84 100644 --- a/framework/inc/xml/imagesconfiguration.hxx +++ b/framework/inc/xml/imagesconfiguration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_IMAGESCONFIGURATION_HXX -#define INCLUDED_FRAMEWORK_INC_XML_IMAGESCONFIGURATION_HXX +#pragma once #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XOutputStream.hpp> @@ -52,6 +51,4 @@ class ImagesConfiguration } // namespace framework -#endif // __FRAMEWORK_CLASSES_IMAGES - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/imagesdocumenthandler.hxx b/framework/inc/xml/imagesdocumenthandler.hxx index f9cbd6122f78..d8cd84f4dfe4 100644 --- a/framework/inc/xml/imagesdocumenthandler.hxx +++ b/framework/inc/xml/imagesdocumenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_IMAGESDOCUMENTHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_IMAGESDOCUMENTHANDLER_HXX +#pragma once #include <com/sun/star/xml/sax/XDocumentHandler.hpp> @@ -131,6 +130,4 @@ class OWriteImagesDocumentHandler final } // namespace framework -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/menudocumenthandler.hxx b/framework/inc/xml/menudocumenthandler.hxx index 5e28a94f8ca8..f3a0238d0bd7 100644 --- a/framework/inc/xml/menudocumenthandler.hxx +++ b/framework/inc/xml/menudocumenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_MENUDOCUMENTHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_MENUDOCUMENTHANDLER_HXX +#pragma once #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <com/sun/star/container/XIndexContainer.hpp> @@ -220,6 +219,4 @@ class OWriteMenuDocumentHandler final } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_XML_MENUDOCUMENTHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/saxnamespacefilter.hxx b/framework/inc/xml/saxnamespacefilter.hxx index 8b97a554d9cc..04f5bd4fe390 100644 --- a/framework/inc/xml/saxnamespacefilter.hxx +++ b/framework/inc/xml/saxnamespacefilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_SAXNAMESPACEFILTER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_SAXNAMESPACEFILTER_HXX +#pragma once #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <xml/xmlnamespaces.hxx> @@ -72,6 +71,4 @@ class SaxNamespaceFilter final : public SaxNamespaceFilter_Base } -#endif // INCLUDED_FRAMEWORK_INC_XML_SAXNAMESPACEFILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/statusbardocumenthandler.hxx b/framework/inc/xml/statusbardocumenthandler.hxx index fd38d5b64140..829cd0b9745a 100644 --- a/framework/inc/xml/statusbardocumenthandler.hxx +++ b/framework/inc/xml/statusbardocumenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_STATUSBARDOCUMENTHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_STATUSBARDOCUMENTHANDLER_HXX +#pragma once #include <statusbarconfiguration.hxx> @@ -132,6 +131,4 @@ class OWriteStatusBarDocumentHandler final } // namespace framework -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/toolboxconfigurationdefines.hxx b/framework/inc/xml/toolboxconfigurationdefines.hxx index 505133bb5f22..c84adff58e8b 100644 --- a/framework/inc/xml/toolboxconfigurationdefines.hxx +++ b/framework/inc/xml/toolboxconfigurationdefines.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_FRAMEWORK_INC_XML_TOOLBOXCONFIGURATIONDEFINES_HXX -#define INCLUDED_FRAMEWORK_INC_XML_TOOLBOXCONFIGURATIONDEFINES_HXX +#pragma once #define XMLNS_TOOLBAR "http://openoffice.org/2001/toolbar" #define XMLNS_XLINK "http://www.w3.org/1999/xlink" @@ -63,6 +62,4 @@ #define ATTRIBUTE_ITEMSTYLE_DROPDOWNONLY "dropdownonly" #define ATTRIBUTE_ITEMSTYLE_IMAGE "image" -#endif // INCLUDED_FRAMEWORK_INC_XML_TOOLBOXCONFIGURATIONDEFINES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx index 06ca242cd4dc..79657e5324e4 100644 --- a/framework/inc/xml/toolboxdocumenthandler.hxx +++ b/framework/inc/xml/toolboxdocumenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_TOOLBOXDOCUMENTHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_TOOLBOXDOCUMENTHANDLER_HXX +#pragma once #include <toolboxconfiguration.hxx> @@ -156,6 +155,4 @@ class OWriteToolBoxDocumentHandler final } // namespace framework -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/xmlnamespaces.hxx b/framework/inc/xml/xmlnamespaces.hxx index d02039321764..1c01b03ccee3 100644 --- a/framework/inc/xml/xmlnamespaces.hxx +++ b/framework/inc/xml/xmlnamespaces.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_XMLNAMESPACES_HXX -#define INCLUDED_FRAMEWORK_INC_XML_XMLNAMESPACES_HXX +#pragma once #include <map> @@ -50,6 +49,4 @@ class XMLNamespaces final } -#endif // INCLUDED_FRAMEWORK_INC_XML_XMLNAMESPACES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/dispatch/isstartmoduledispatch.hxx b/framework/source/dispatch/isstartmoduledispatch.hxx index e48c84d744bb..a968a36f68db 100644 --- a/framework/source/dispatch/isstartmoduledispatch.hxx +++ b/framework/source/dispatch/isstartmoduledispatch.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_DISPATCH_ISSTARTMODULEDISPATCH_HXX -#define INCLUDED_FRAMEWORK_SOURCE_DISPATCH_ISSTARTMODULEDISPATCH_HXX +#pragma once #include <com/sun/star/util/URL.hpp> @@ -30,6 +29,4 @@ inline bool isStartModuleDispatch(css::util::URL const& url) } } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/accelerators/acceleratorcache.hxx b/framework/source/inc/accelerators/acceleratorcache.hxx index 666d1eb4eb7a..b64177d56d77 100644 --- a/framework/source/inc/accelerators/acceleratorcache.hxx +++ b/framework/source/inc/accelerators/acceleratorcache.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_ACCELERATORCACHE_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_ACCELERATORCACHE_HXX +#pragma once #include <stdtypes.h> @@ -123,6 +122,4 @@ class AcceleratorCache } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_ACCELERATORCACHE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/accelerators/acceleratorconfiguration.hxx b/framework/source/inc/accelerators/acceleratorconfiguration.hxx index df7bed019ff2..c7bdd14e9425 100644 --- a/framework/source/inc/accelerators/acceleratorconfiguration.hxx +++ b/framework/source/inc/accelerators/acceleratorconfiguration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_ACCELERATORCONFIGURATION_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_ACCELERATORCONFIGURATION_HXX +#pragma once #include <sal/config.h> @@ -310,6 +309,4 @@ class XCUBasedAcceleratorConfiguration : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_ACCELERATORCONFIGURATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/accelerators/keymapping.hxx b/framework/source/inc/accelerators/keymapping.hxx index 3b9a8a3e46d5..75715efc7e3a 100644 --- a/framework/source/inc/accelerators/keymapping.hxx +++ b/framework/source/inc/accelerators/keymapping.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_KEYMAPPING_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_KEYMAPPING_HXX +#pragma once #include <rtl/ustring.hxx> #include <unordered_map> @@ -124,6 +123,4 @@ class KeyMapping } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_KEYMAPPING_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx index 8323116eea7c..cca79237a0d5 100644 --- a/framework/source/inc/accelerators/presethandler.hxx +++ b/framework/source/inc/accelerators/presethandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_PRESETHANDLER_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_PRESETHANDLER_HXX +#pragma once #include <sal/config.h> @@ -376,6 +375,4 @@ class PresetHandler } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_PRESETHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/accelerators/storageholder.hxx b/framework/source/inc/accelerators/storageholder.hxx index e9be85bd7cb9..22a301277cd7 100644 --- a/framework/source/inc/accelerators/storageholder.hxx +++ b/framework/source/inc/accelerators/storageholder.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_STORAGEHOLDER_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_STORAGEHOLDER_HXX +#pragma once #include <com/sun/star/embed/XStorage.hpp> @@ -179,6 +178,4 @@ class StorageHolder final } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_STORAGEHOLDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/dispatch/dispatchdisabler.hxx b/framework/source/inc/dispatch/dispatchdisabler.hxx index 3fe82b8e7be2..5b9be47dd1f3 100644 --- a/framework/source/inc/dispatch/dispatchdisabler.hxx +++ b/framework/source/inc/dispatch/dispatchdisabler.hxx @@ -6,8 +6,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_FRAMEWORK_INC_SERVICES_DISPATCH_DISABLER_HXX -#define INCLUDED_FRAMEWORK_INC_SERVICES_DISPATCH_DISABLER_HXX +#pragma once #include <set> @@ -94,6 +93,4 @@ public: } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_SERVICES_DISPATCH_DISABLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/dispatch/loaddispatcher.hxx b/framework/source/inc/dispatch/loaddispatcher.hxx index e473dd53275b..99f27d968640 100644 --- a/framework/source/inc/dispatch/loaddispatcher.hxx +++ b/framework/source/inc/dispatch/loaddispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_DISPATCH_LOADDISPATCHER_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_DISPATCH_LOADDISPATCHER_HXX +#pragma once #include <loadenv/loadenv.hxx> @@ -118,6 +117,4 @@ class LoadDispatcher : public ::cppu::WeakImplHelper< css::frame::XNotifyingDis } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_DISPATCH_LOADDISPATCHER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/dispatch/windowcommanddispatch.hxx b/framework/source/inc/dispatch/windowcommanddispatch.hxx index db5602fd2690..b2637e9338f7 100644 --- a/framework/source/inc/dispatch/windowcommanddispatch.hxx +++ b/framework/source/inc/dispatch/windowcommanddispatch.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_DISPATCH_WINDOWCOMMANDDISPATCH_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_DISPATCH_WINDOWCOMMANDDISPATCH_HXX +#pragma once #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/frame/XFrame.hpp> @@ -106,6 +105,4 @@ class WindowCommandDispatch final } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_DISPATCH_WINDOWCOMMANDDISPATCH_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/loadenv/actionlockguard.hxx b/framework/source/inc/loadenv/actionlockguard.hxx index 417d2d4ed47f..dd3c9ab51280 100644 --- a/framework/source/inc/loadenv/actionlockguard.hxx +++ b/framework/source/inc/loadenv/actionlockguard.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_ACTIONLOCKGUARD_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_ACTIONLOCKGUARD_HXX +#pragma once #include <com/sun/star/document/XActionLockable.hpp> #include <osl/mutex.hxx> @@ -139,6 +138,4 @@ class ActionLockGuard final } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_ACTIONLOCKGUARD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx index 9f907e49ccfc..bd1b03a60aa0 100644 --- a/framework/source/inc/loadenv/loadenv.hxx +++ b/framework/source/inc/loadenv/loadenv.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_FRAMEWORK_SOURCE_INC_LOADENV_LOADENV_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENV_HXX +#pragma once #include <loadenv/actionlockguard.hxx> @@ -538,6 +537,4 @@ private: } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENV_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/loadenv/loadenvexception.hxx b/framework/source/inc/loadenv/loadenvexception.hxx index e4c4eefa63da..3bb94ac1c57b 100644 --- a/framework/source/inc/loadenv/loadenvexception.hxx +++ b/framework/source/inc/loadenv/loadenvexception.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENVEXCEPTION_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENVEXCEPTION_HXX +#pragma once #include <com/sun/star/uno/Any.hxx> @@ -84,6 +83,4 @@ class LoadEnvException } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENVEXCEPTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/loadenv/targethelper.hxx b/framework/source/inc/loadenv/targethelper.hxx index 54f0e761e803..e9eff6126174 100644 --- a/framework/source/inc/loadenv/targethelper.hxx +++ b/framework/source/inc/loadenv/targethelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_TARGETHELPER_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_TARGETHELPER_HXX +#pragma once #include <rtl/ustring.hxx> @@ -88,6 +87,4 @@ class TargetHelper } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_TARGETHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/pattern/frame.hxx b/framework/source/inc/pattern/frame.hxx index 46b86f56f891..947a03668162 100644 --- a/framework/source/inc/pattern/frame.hxx +++ b/framework/source/inc/pattern/frame.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_FRAME_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_FRAME_HXX +#pragma once #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/DisposedException.hpp> @@ -77,6 +76,4 @@ inline bool closeIt(const css::uno::Reference< css::uno::XInterface >& xResource } // namespace framework::pattern::frame -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_FRAME_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx index f64d65a35e12..92134915dc37 100644 --- a/framework/source/inc/pattern/window.hxx +++ b/framework/source/inc/pattern/window.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_WINDOW_HXX -#define INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_WINDOW_HXX +#pragma once #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/awt/XTopWindow.hpp> @@ -60,6 +59,4 @@ static bool isTopWindow(const css::uno::Reference< css::awt::XWindow >& xWindow) } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_WINDOW_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/layoutmanager/helpers.hxx b/framework/source/layoutmanager/helpers.hxx index 6d5b00705746..df8c75d85a52 100644 --- a/framework/source/layoutmanager/helpers.hxx +++ b/framework/source/layoutmanager/helpers.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_HELPERS_HXX -#define INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_HELPERS_HXX +#pragma once #include <com/sun/star/awt/XWindowPeer.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -66,6 +65,4 @@ void impl_addWindowListeners( const css::uno::Reference< css::uno::XInterface >& } -#endif // INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_HELPERS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx index 96edbe157742..71b00310151e 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_TOOLBARLAYOUTMANAGER_HXX -#define INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_TOOLBARLAYOUTMANAGER_HXX +#pragma once /** Attention: stl headers must(!) be included at first. Otherwise it can make trouble with solaris headers ... @@ -281,6 +280,4 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< css::awt::XDockableW } // namespace framework -#endif // INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_TOOLBARLAYOUTMANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/uiconfiguration/CommandImageResolver.hxx b/framework/source/uiconfiguration/CommandImageResolver.hxx index d79274304b2f..073d5f345248 100644 --- a/framework/source/uiconfiguration/CommandImageResolver.hxx +++ b/framework/source/uiconfiguration/CommandImageResolver.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_COMMANDICONRESOLVER_HXX -#define INCLUDED_VCL_COMMANDICONRESOLVER_HXX +#pragma once #include <vcl/image.hxx> #include <o3tl/enumarray.hxx> @@ -51,6 +50,4 @@ public: } // end namespace vcl -#endif // INCLUDED_VCL_COMMANDICONRESOLVER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/source/uiconfiguration/imagemanagerimpl.hxx b/framework/source/uiconfiguration/imagemanagerimpl.hxx index fa224e09f3c0..3621be9fb489 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.hxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_SOURCE_UICONFIGURATION_IMAGEMANAGERIMPL_HXX -#define INCLUDED_FRAMEWORK_SOURCE_UICONFIGURATION_IMAGEMANAGERIMPL_HXX +#pragma once #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/lang/XEventListener.hpp> @@ -183,6 +182,4 @@ namespace framework }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |