From d986127690cf6b61e8973ee37e009a1f0dbbc9ca Mon Sep 17 00:00:00 2001 From: Devashish Gupta Date: Thu, 20 Mar 2025 00:47:39 +0530 Subject: [PATCH] tdf#143148: Use pragma once instead of include guards Change-Id: Ibfc42cd388f08e5e4c84c2761f6b5ec3f37f7a0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183139 Tested-by: Ilmari Lauhakangas Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas --- include/desktop/dllapi.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/desktop/dllapi.h b/include/desktop/dllapi.h index 5cf948ce08a4..46b5c3af41be 100644 --- a/include/desktop/dllapi.h +++ b/include/desktop/dllapi.h @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_DESKTOP_SOURCE_INC_DESKTOPDLLAPI_H -#define INCLUDED_DESKTOP_SOURCE_INC_DESKTOPDLLAPI_H +#pragma once #include #include @@ -25,6 +24,4 @@ #define CRASHREPORT_DLLPUBLIC SAL_DLLPUBLIC_IMPORT #endif -#endif - /* vim: set shiftwidth=4 softtabstop=4 expandtab: */