vcl/inc/slider.hxx | 5 +---- vcl/inc/spin.hxx | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-)
New commits: commit 23056ce647654d57b63cb48a30488d35fcd26c7f Author: AhmedHamed <[email protected]> AuthorDate: Thu Feb 22 18:52:49 2024 +0200 Commit: Taichi Haradaguchi <[email protected]> CommitDate: Fri Feb 23 03:25:52 2024 +0100 tdf#143148 Use pragma once instead of include guards Change-Id: I5ea12f17e35e4eb3dd36781fd31664caaef17e50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163785 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <[email protected]> diff --git a/vcl/inc/slider.hxx b/vcl/inc/slider.hxx index 73a0dc0a2008..c1a1e808af9f 100644 --- a/vcl/inc/slider.hxx +++ b/vcl/inc/slider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SLIDER_HXX -#define INCLUDED_VCL_SLIDER_HXX +#pragma once #include <vcl/ctrl.hxx> @@ -96,6 +95,4 @@ public: void SetSlideHdl( const Link<Slider*,void>& rLink ) { maSlideHdl = rLink; } }; -#endif // INCLUDED_VCL_SLIDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/spin.hxx b/vcl/inc/spin.hxx index 7b7fbe11bd40..7278b0293697 100644 --- a/vcl/inc/spin.hxx +++ b/vcl/inc/spin.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_SPIN_HXX -#define INCLUDED_VCL_INC_SPIN_HXX +#pragma once #include <vcl/window.hxx> @@ -38,6 +37,4 @@ void ImplDrawUpDownButtons(vcl::RenderContext& rRenderContext, bool bHorz, bool bMirrorHorz = false); -#endif // INCLUDED_VCL_INC_SPIN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
