From dcbe844e291b7efa9ea7eaf280186ce97df075b2 Mon Sep 17 00:00:00 2001 From: George Bateman Date: Sun, 13 Sep 2020 12:12:01 +0000 Subject: tdf#124176 Use #pragma once in desktop This commit was carried out by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: I26f01467d2a572a51c7ace76628d4a8f96f249a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102553 Tested-by: Jenkins Reviewed-by: Julien Nabet --- desktop/inc/dp_shared.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'desktop/inc/dp_shared.hxx') diff --git a/desktop/inc/dp_shared.hxx b/desktop/inc/dp_shared.hxx index b4f86e44556f..121bfd430fb5 100644 --- a/desktop/inc/dp_shared.hxx +++ b/desktop/inc/dp_shared.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_SHARED_HXX -#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_SHARED_HXX +#pragma once #include #include @@ -39,6 +38,4 @@ inline OUString DpResId(const char* pId) return Translate::get(pId, dp::DeploymentLocale::get()); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit