vcl/osx/a11yfocuslistener.hxx | 5 +---- vcl/osx/clipboard.hxx | 5 +---- vcl/osx/documentfocuslistener.hxx | 5 +---- vcl/source/filter/wmf/emfwr.hxx | 5 +---- vcl/source/filter/wmf/wmfwr.hxx | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-)
New commits: commit 1cd62f8cc6d47d1d3ba695e00fc36d650084fede Author: Bogdan B <buzea.bog...@libreoffice.org> AuthorDate: Mon Nov 21 20:08:11 2022 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Tue Nov 22 10:21:36 2022 +0100 tdf#143148 Use pragma once instead of include guards Change-Id: If460dd5bfcab290e41513a47257c0de37757eb2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143059 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/vcl/osx/a11yfocuslistener.hxx b/vcl/osx/a11yfocuslistener.hxx index fdd28ac230c2..9cd6b656db52 100644 --- a/vcl/osx/a11yfocuslistener.hxx +++ b/vcl/osx/a11yfocuslistener.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_OSX_A11YFOCUSLISTENER_HXX -#define INCLUDED_VCL_OSX_A11YFOCUSLISTENER_HXX +#pragma once #include <osx/keyboardfocuslistener.hxx> #include <osx/osxvcltypes.h> @@ -42,6 +41,4 @@ public: const css::uno::Reference<css::accessibility::XAccessible>& xAccessible) override; }; -#endif // INCLUDED_VCL_OSX_A11YFOCUSLISTENER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/osx/clipboard.hxx b/vcl/osx/clipboard.hxx index 2bfbd6cf678d..6213ce692106 100644 --- a/vcl/osx/clipboard.hxx +++ b/vcl/osx/clipboard.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_OSX_CLIPBOARD_HXX -#define INCLUDED_VCL_OSX_CLIPBOARD_HXX +#pragma once #include "DataFlavorMapping.hxx" #include <rtl/ustring.hxx> @@ -147,6 +146,4 @@ private: EventListener* mEventListener; }; -#endif // INCLUDED_VCL_OSX_CLIPBOARD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/osx/documentfocuslistener.hxx b/vcl/osx/documentfocuslistener.hxx index 267020ba6244..00097a7ef96d 100644 --- a/vcl/osx/documentfocuslistener.hxx +++ b/vcl/osx/documentfocuslistener.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_OSX_DOCUMENTFOCUSLISTENER_HXX -#define INCLUDED_VCL_OSX_DOCUMENTFOCUSLISTENER_HXX +#pragma once #include <com/sun/star/accessibility/XAccessibleEventListener.hpp> @@ -95,6 +94,4 @@ private: AquaA11yFocusTracker& m_aFocusTracker; }; -#endif // INCLUDED_VCL_OSX_DOCUMENTFOCUSLISTENER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ commit c2d1cfd346f7546adbe1cbe8df797adcafcc4acf Author: Bogdan B <buzea.bog...@libreoffice.org> AuthorDate: Mon Nov 21 18:58:05 2022 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Tue Nov 22 10:21:23 2022 +0100 tdf#143148 Use pragma once instead of include guards Change-Id: I7ec467f46e0fac2655990a67bc4e78e39fdb489a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142931 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/vcl/source/filter/wmf/emfwr.hxx b/vcl/source/filter/wmf/emfwr.hxx index 502ae5d28fc7..10ecd7f09f6d 100644 --- a/vcl/source/filter/wmf/emfwr.hxx +++ b/vcl/source/filter/wmf/emfwr.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_FILTER_WMF_EMFWR_HXX -#define INCLUDED_VCL_SOURCE_FILTER_WMF_EMFWR_HXX +#pragma once #include <vcl/gdimtf.hxx> #include <vcl/virdev.hxx> @@ -109,6 +108,4 @@ public: bool WriteEMF(const GDIMetaFile& rMtf); }; -#endif // INCLUDED_VCL_SOURCE_FILTER_WMF_EMFWR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/filter/wmf/wmfwr.hxx b/vcl/source/filter/wmf/wmfwr.hxx index 7da1cedc0424..3b423e4fe682 100644 --- a/vcl/source/filter/wmf/wmfwr.hxx +++ b/vcl/source/filter/wmf/wmfwr.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_FILTER_WMF_WMFWR_HXX -#define INCLUDED_VCL_SOURCE_FILTER_WMF_WMFWR_HXX +#pragma once #include <vcl/gdimtf.hxx> #include <vcl/lineinfo.hxx> @@ -200,6 +199,4 @@ public: bool WriteWMF(const GDIMetaFile & rMTF, SvStream & rTargetStream, FilterConfigItem const * pFilterConfigItem, bool bPlaceable); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */