summaryrefslogtreecommitdiff
path: root/desktop/inc/dp_shared.hxx
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-09-13 12:12:01 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-13 19:09:54 +0200
commitdcbe844e291b7efa9ea7eaf280186ce97df075b2 (patch)
tree8fb4f984fb1f444612ef756dca2bc0a80bc2a57a /desktop/inc/dp_shared.hxx
parentd4ceea4ca9d9abb47a6f84da138c2918bc7100e0 (diff)
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 <serval2412@yahoo.fr>
Diffstat (limited to 'desktop/inc/dp_shared.hxx')
-rw-r--r--desktop/inc/dp_shared.hxx5
1 files changed, 1 insertions, 4 deletions
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 <rtl/instance.hxx>
#include <unotools/resmgr.hxx>
@@ -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: */