diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 10:14:31 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 11:06:48 +0100 |
commit | e29f53b71058b9468cb6c29f82dbf6de53d4cdd0 (patch) | |
tree | 9bd73b6f9130cc87cf22f64a8ccd25c19a13f5ab /writerperfect/inc | |
parent | cd09fc9451897e6efedbf9f5e1d5b9bd96e65cb5 (diff) |
tdf#124176 Use pragma once in w*
Change-Id: I693f6dafb743d39afd8e41e66a8066f04043f8a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112052
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'writerperfect/inc')
-rw-r--r-- | writerperfect/inc/DirectoryStream.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/DocumentHandler.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/DocumentHandlerFor.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/DocumentHandlerForOdg.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/DocumentHandlerForOdp.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/DocumentHandlerForOds.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/DocumentHandlerForOdt.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/ImportFilter.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/WPFTEncodingDialog.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/WPFTResMgr.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/WPXSvInputStream.hxx | 5 | ||||
-rw-r--r-- | writerperfect/inc/strings.hrc | 5 | ||||
-rw-r--r-- | writerperfect/inc/writerperfectdllapi.h | 5 |
13 files changed, 13 insertions, 52 deletions
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx index 57e8380c6b22..200fa0d09db2 100644 --- a/writerperfect/inc/DirectoryStream.hxx +++ b/writerperfect/inc/DirectoryStream.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_DIRECTORYSTREAM_HXX -#define INCLUDED_WRITERPERFECT_DIRECTORYSTREAM_HXX +#pragma once #include <librevenge-stream/librevenge-stream.h> #include <com/sun/star/uno/Reference.h> @@ -54,6 +53,4 @@ private: }; } -#endif // INCLUDED_WRITERPERFECT_DIRECTORYSTREAM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandler.hxx b/writerperfect/inc/DocumentHandler.hxx index 5fb769f9a134..dfe035d6515b 100644 --- a/writerperfect/inc/DocumentHandler.hxx +++ b/writerperfect/inc/DocumentHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_WRITERPERFECT_DOCUMENTHANDLER_HXX -#define INCLUDED_WRITERPERFECT_DOCUMENTHANDLER_HXX +#pragma once #include <libodfgen/libodfgen.hxx> @@ -48,6 +47,4 @@ private: }; } -#endif // INCLUDED_WRITERPERFECT_DOCUMENTHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandlerFor.hxx b/writerperfect/inc/DocumentHandlerFor.hxx index d90039e2c5c2..a7c7459fdced 100644 --- a/writerperfect/inc/DocumentHandlerFor.hxx +++ b/writerperfect/inc/DocumentHandlerFor.hxx @@ -5,8 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_DOCUMENTHANDLERFOR_HXX -#define INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_DOCUMENTHANDLERFOR_HXX +#pragma once namespace writerperfect { @@ -20,6 +19,4 @@ template <class Generator> struct DocumentHandlerFor }; } -#endif // INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_DOCUMENTHANDLERFOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandlerForOdg.hxx b/writerperfect/inc/DocumentHandlerForOdg.hxx index e7017513da84..7784dddcaefa 100644 --- a/writerperfect/inc/DocumentHandlerForOdg.hxx +++ b/writerperfect/inc/DocumentHandlerForOdg.hxx @@ -5,8 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODG_HXX -#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODG_HXX +#pragma once #include <libodfgen/libodfgen.hxx> @@ -22,6 +21,4 @@ template <> struct DocumentHandlerFor<OdgGenerator> }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandlerForOdp.hxx b/writerperfect/inc/DocumentHandlerForOdp.hxx index 6ee5a83e7506..970f129e6f1b 100644 --- a/writerperfect/inc/DocumentHandlerForOdp.hxx +++ b/writerperfect/inc/DocumentHandlerForOdp.hxx @@ -5,8 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODP_HXX -#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODP_HXX +#pragma once #include <libodfgen/libodfgen.hxx> @@ -22,6 +21,4 @@ template <> struct DocumentHandlerFor<OdpGenerator> }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandlerForOds.hxx b/writerperfect/inc/DocumentHandlerForOds.hxx index 48b78fa9ac86..226252f097d0 100644 --- a/writerperfect/inc/DocumentHandlerForOds.hxx +++ b/writerperfect/inc/DocumentHandlerForOds.hxx @@ -5,8 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODS_HXX -#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODS_HXX +#pragma once #include <libodfgen/libodfgen.hxx> @@ -22,6 +21,4 @@ template <> struct DocumentHandlerFor<OdsGenerator> }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandlerForOdt.hxx b/writerperfect/inc/DocumentHandlerForOdt.hxx index 55acf1fc79c6..49af6f9d597e 100644 --- a/writerperfect/inc/DocumentHandlerForOdt.hxx +++ b/writerperfect/inc/DocumentHandlerForOdt.hxx @@ -5,8 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODT_HXX -#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODT_HXX +#pragma once #include <libodfgen/libodfgen.hxx> @@ -22,6 +21,4 @@ template <> struct DocumentHandlerFor<OdtGenerator> }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx index 56f352556c73..972bda6b7d0d 100644 --- a/writerperfect/inc/ImportFilter.hxx +++ b/writerperfect/inc/ImportFilter.hxx @@ -5,8 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_IMPORTFILTER_HXX -#define INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_IMPORTFILTER_HXX +#pragma once #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/beans/PropertyValue.hpp> @@ -181,6 +180,4 @@ struct ImportFilter : public cppu::ImplInheritanceHelper<detail::ImportFilterImp }; } -#endif // INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_IMPORTFILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx b/writerperfect/inc/WPFTEncodingDialog.hxx index 433141ebeac8..b13ae214e49b 100644 --- a/writerperfect/inc/WPFTEncodingDialog.hxx +++ b/writerperfect/inc/WPFTEncodingDialog.hxx @@ -9,8 +9,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_WPFTENCODINGDIALOG_HXX -#define INCLUDED_WRITERPERFECT_WPFTENCODINGDIALOG_HXX +#pragma once #include <vcl/weld.hxx> @@ -43,6 +42,4 @@ private: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx index 0cff3e446c73..103b68a985a8 100644 --- a/writerperfect/inc/WPFTResMgr.hxx +++ b/writerperfect/inc/WPFTResMgr.hxx @@ -1,12 +1,9 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -#ifndef INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX -#define INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX +#pragma once #include <unotools/resmgr.hxx> inline OUString WpResId(const char* pId) { return Translate::get(pId, Translate::Create("wpt")); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/WPXSvInputStream.hxx b/writerperfect/inc/WPXSvInputStream.hxx index 052cf4082ed7..1bf6a14937e0 100644 --- a/writerperfect/inc/WPXSvInputStream.hxx +++ b/writerperfect/inc/WPXSvInputStream.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_WPXSVINPUTSTREAM_HXX -#define INCLUDED_WRITERPERFECT_WPXSVINPUTSTREAM_HXX +#pragma once #include <librevenge-stream/librevenge-stream.h> #include <com/sun/star/uno/Reference.h> @@ -49,6 +48,4 @@ private: }; } -#endif // INCLUDED_WRITERPERFECT_WPXSVINPUTSTREAM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/strings.hrc b/writerperfect/inc/strings.hrc index a85c1fb7157c..822d4e129957 100644 --- a/writerperfect/inc/strings.hrc +++ b/writerperfect/inc/strings.hrc @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_INC_STRINGS_HRC -#define INCLUDED_WRITERPERFECT_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) @@ -21,6 +20,4 @@ #define STR_ENCODING_DIALOG_TITLE_SYMPHONY NC_("STR_ENCODING_DIALOG_TITLE_SYMPHONY", "Import Symphony file") #define STR_ENCODING_DIALOG_TITLE_QUATTROPRO NC_("STR_ENCODING_DIALOG_TITLE_QUATTROPRO", "Import Quattro Pro file") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/writerperfectdllapi.h b/writerperfect/inc/writerperfectdllapi.h index d5495717e7e1..29f708ffc217 100644 --- a/writerperfect/inc/writerperfectdllapi.h +++ b/writerperfect/inc/writerperfectdllapi.h @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_WRITERPERFECT_WRITERPERFECTDLLAPI_H -#define INCLUDED_WRITERPERFECT_WRITERPERFECTDLLAPI_H +#pragma once #if defined WRITERPERFECT_DLLIMPLEMENTATION @@ -18,6 +17,4 @@ #endif #define WRITERPERFECT_DLLPRIVATE SAL_DLLPRIVATE -#endif /* INCLUDED_WRITERPERFECT_WRITERPERFECTDLLAPI_H */ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |