From 0d34eb78fd5fe72d9e10438b41e76fe45cb2c2df Mon Sep 17 00:00:00 2001 From: Selim Şeker Date: Thu, 19 Dec 2019 01:50:53 +0300 Subject: tdf#124176: Use pragma once instead of include guards Change-Id: I626d4a08161a6c81b4bb014d847f0c05d90fda35 Reviewed-on: https://gerrit.libreoffice.org/85449 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- cui/source/options/dbregisterednamesconfig.hxx | 7 +------ cui/source/options/dbregistersettings.hxx | 5 +---- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'cui/source') diff --git a/cui/source/options/dbregisterednamesconfig.hxx b/cui/source/options/dbregisterednamesconfig.hxx index 48311d031913..9decf7e11399 100644 --- a/cui/source/options/dbregisterednamesconfig.hxx +++ b/cui/source/options/dbregisterednamesconfig.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTEREDNAMESCONFIG_HXX -#define INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTEREDNAMESCONFIG_HXX +#pragma once class SfxItemSet; @@ -36,8 +35,4 @@ namespace svx } - -#endif // INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTEREDNAMESCONFIG_HXX - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/options/dbregistersettings.hxx b/cui/source/options/dbregistersettings.hxx index ce1322a101db..9146afe7b1d3 100644 --- a/cui/source/options/dbregistersettings.hxx +++ b/cui/source/options/dbregistersettings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTERSETTINGS_HXX -#define INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTERSETTINGS_HXX +#pragma once #include @@ -77,6 +76,4 @@ namespace svx } -#endif // INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTERSETTINGS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit