vcl/inc/osx/a11yfactory.h | 4 +--- vcl/inc/osx/a11yfocustracker.hxx | 4 +--- vcl/inc/osx/a11ylistener.hxx | 5 +---- vcl/inc/osx/a11ywrapper.h | 4 +--- 4 files changed, 4 insertions(+), 13 deletions(-)
New commits: commit b0a75847738060266ed1b0d5c046132b97e4e158 Author: Zeynep Yavuz <zeynepyavuz2...@hotmail.com> AuthorDate: Tue Aug 10 22:28:42 2021 +0300 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Wed Aug 11 15:17:11 2021 +0200 tdf#143148: Use pragma once instead of include guards Change-Id: I483d494a11b951fd415a314fddd4823db11dcb44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120295 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/vcl/inc/osx/a11yfactory.h b/vcl/inc/osx/a11yfactory.h index b20755a0313a..cec49bf93b6d 100644 --- a/vcl/inc/osx/a11yfactory.h +++ b/vcl/inc/osx/a11yfactory.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_OSX_A11YFACTORY_H -#define INCLUDED_VCL_INC_OSX_A11YFACTORY_H +#pragma once #include "osxvcltypes.h" #include "a11ywrapper.h" @@ -37,6 +36,5 @@ +(void)revokeView: (NSView *) theViewt; @end -#endif // INCLUDED_VCL_INC_OSX_A11YFACTORY_H /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/osx/a11yfocustracker.hxx b/vcl/inc/osx/a11yfocustracker.hxx index 59f2e579c5e9..5a979c26c86b 100644 --- a/vcl/inc/osx/a11yfocustracker.hxx +++ b/vcl/inc/osx/a11yfocustracker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_OSX_A11YFOCUSTRACKER_HXX -#define INCLUDED_VCL_INC_OSX_A11YFOCUSTRACKER_HXX +#pragma once #include <com/sun/star/accessibility/XAccessible.hpp> @@ -98,6 +97,5 @@ struct TheAquaA11yFocusTracker: rtl::Static<AquaA11yFocusTracker, TheAquaA11yFocusTracker> {}; -#endif // INCLUDED_VCL_INC_OSX_A11YFOCUSTRACKER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/osx/a11ylistener.hxx b/vcl/inc/osx/a11ylistener.hxx index 43aa6df66987..7211e81d4676 100644 --- a/vcl/inc/osx/a11ylistener.hxx +++ b/vcl/inc/osx/a11ylistener.hxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_OSX_A11YLISTENER_HXX -#define INCLUDED_VCL_INC_OSX_A11YLISTENER_HXX - +#pragma once #include <com/sun/star/accessibility/XAccessibleEventListener.hpp> #include <cppuhelper/implbase.hxx> @@ -48,5 +46,4 @@ private: css::awt::Rectangle m_oldBounds; }; -#endif // INCLUDED_VCL_INC_OSX_A11YLISTENER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/osx/a11ywrapper.h b/vcl/inc/osx/a11ywrapper.h index e33d247a1f39..f9b30eb98fcd 100644 --- a/vcl/inc/osx/a11ywrapper.h +++ b/vcl/inc/osx/a11ywrapper.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_OSX_A11YWRAPPER_H -#define INCLUDED_VCL_INC_OSX_A11YWRAPPER_H +#pragma once #include "osxvcltypes.h" #include <com/sun/star/accessibility/XAccessibleAction.hpp> @@ -105,6 +104,5 @@ struct ReferenceWrapper -(css::accessibility::XAccessibleTextMarkup *)accessibleTextMarkup; @end -#endif // INCLUDED_VCL_INC_OSX_A11YWRAPPER_H /* vim:set shiftwidth=4 softtabstop=4 expandtab: */