sw/qa/inc/bordertest.hxx | 5 ++--- sw/qa/inc/swmodeltestbase.hxx | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-)
New commits: commit 2a296f8259ad08711ca1e112d555f4179638d632 Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Mon Oct 21 17:39:03 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Jun 3 22:32:19 2025 +0200 tdf#143148: Use pragma once instead of include guards Change-Id: I333a22bf6d5367f9fd214d35fa323cf12d5cbade Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175357 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Jenkins diff --git a/sw/qa/inc/bordertest.hxx b/sw/qa/inc/bordertest.hxx index 6a538169c741..cd32ea0c8d45 100644 --- a/sw/qa/inc/bordertest.hxx +++ b/sw/qa/inc/bordertest.hxx @@ -6,8 +6,8 @@ * 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_SW_QA_INC_BORDERTEST_HXX -#define INCLUDED_SW_QA_INC_BORDERTEST_HXX + +#pragma once #include <cppunit/TestAssert.h> #include <com/sun/star/table/BorderLine.hpp> @@ -201,6 +201,5 @@ public: } }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/inc/swmodeltestbase.hxx b/sw/qa/inc/swmodeltestbase.hxx index e3d1a895a8b4..7bac6f7dd076 100644 --- a/sw/qa/inc/swmodeltestbase.hxx +++ b/sw/qa/inc/swmodeltestbase.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SW_QA_INC_SWMODELTESTBASE_HXX -#define INCLUDED_SW_QA_INC_SWMODELTESTBASE_HXX +#pragma once #include <memory> #include <string_view> @@ -284,6 +283,4 @@ inline void assertBorderEqual( #define CPPUNIT_ASSERT_BORDER_EQUAL(aExpected, aActual) \ assertBorderEqual( aExpected, aActual, CPPUNIT_SOURCELINE() ) \ -#endif // INCLUDED_SW_QA_INC_SWMODELTESTBASE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */