From 9cac01b4f19c8fc3adb1a19a71b2f214a1586d8f Mon Sep 17 00:00:00 2001 From: Siddharth Date: Wed, 9 Nov 2022 11:30:33 +0530 Subject: tdf#143148 Use pragma once instead of include guards Change-Id: I50c2c0f202780d06b556ae82b51bab5c3f79d72e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142498 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas --- sw/inc/unostyle.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx index 7091fd603602..2c936486032e 100644 --- a/sw/inc/unostyle.hxx +++ b/sw/inc/unostyle.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_UNOSTYLE_HXX -#define INCLUDED_SW_INC_UNOSTYLE_HXX +#pragma once #include #include @@ -391,6 +390,5 @@ class SwXTextCellStyle final : public cppu::WeakImplHelper static css::uno::Reference CreateXTextCellStyle(SwDocShell* pDocShell, const OUString& sName); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit