diff options
author | Taichi Haradaguchi <20001722@ymail.ne.jp> | 2023-11-19 11:10:53 +0900 |
---|---|---|
committer | Taichi Haradaguchi <20001722@ymail.ne.jp> | 2023-11-20 04:50:03 +0100 |
commit | 76898eaf8fc665802c4fcdd129ec221d9019d4b9 (patch) | |
tree | e533dfda4926bd30a6a4f6c0342f5d9fb01f6fe3 /vcl/inc/unx/gtk | |
parent | baecfd21797310bb15ab98ca3962445d99e397db (diff) |
tdf#143148: Use pragma once instead of include guards in vcl/inc/unx
Change-Id: I91ba6c5e49ed7e9ae8e946859ce5ed2169ae590a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159648
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Diffstat (limited to 'vcl/inc/unx/gtk')
-rw-r--r-- | vcl/inc/unx/gtk/gloactiongroup.h | 5 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/glomenu.h | 5 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkinst.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkobject.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtksalmenu.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtksys.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/hudawareness.h | 5 |
7 files changed, 8 insertions, 29 deletions
diff --git a/vcl/inc/unx/gtk/gloactiongroup.h b/vcl/inc/unx/gtk/gloactiongroup.h index 4028f76dc52e..fb84122a608b 100644 --- a/vcl/inc/unx/gtk/gloactiongroup.h +++ b/vcl/inc/unx/gtk/gloactiongroup.h @@ -8,8 +8,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H -#define INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H +#pragma once #include <glib-object.h> #include <glib.h> @@ -73,6 +72,4 @@ void g_lo_action_group_clear (GLOActionGroup G_END_DECLS -#endif // INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/gtk/glomenu.h b/vcl/inc/unx/gtk/glomenu.h index a0150a845e3e..da41e9e4b8b1 100644 --- a/vcl/inc/unx/gtk/glomenu.h +++ b/vcl/inc/unx/gtk/glomenu.h @@ -8,8 +8,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_INC_UNX_GTK_GLOMENU_H -#define INCLUDED_VCL_INC_UNX_GTK_GLOMENU_H +#pragma once #include <gio/gio.h> @@ -132,6 +131,4 @@ void g_lo_menu_set_submenu_action_to_item_in_section (GLOMenu G_END_DECLS -#endif // INCLUDED_VCL_INC_UNX_GTK_GLOMENU_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index a597e5be2436..1f9e328bb8d8 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_UNX_GTK_GTKINST_HXX -#define INCLUDED_VCL_INC_UNX_GTK_GTKINST_HXX +#pragma once #include <sal/config.h> @@ -347,6 +346,4 @@ public: GdkPixbuf* load_icon_by_name(const OUString& rIconName); -#endif // INCLUDED_VCL_INC_UNX_GTK_GTKINST_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/gtk/gtkobject.hxx b/vcl/inc/unx/gtk/gtkobject.hxx index b43f09e0bd30..63544f56f882 100644 --- a/vcl/inc/unx/gtk/gtkobject.hxx +++ b/vcl/inc/unx/gtk/gtkobject.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_UNX_GTK_GTKOBJECT_HXX -#define INCLUDED_VCL_INC_UNX_GTK_GTKOBJECT_HXX +#pragma once #include <tools/solar.h> #include <vcl/sysdata.hxx> @@ -118,7 +117,4 @@ public: virtual void Reparent(SalFrame* pFrame) override; }; - -#endif // INCLUDED_VCL_INC_UNX_GTK_GTKOBJECT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx index 2b18466b3dbf..4157df9d3bf6 100644 --- a/vcl/inc/unx/gtk/gtksalmenu.hxx +++ b/vcl/inc/unx/gtk/gtksalmenu.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_INC_UNX_GTK_GTKSALMENU_HXX -#define INCLUDED_VCL_INC_UNX_GTK_GTKSALMENU_HXX +#pragma once #include <config_dbus.h> #include <config_gio.h> @@ -156,6 +155,4 @@ public: bool mbVisible; // Item visibility. }; -#endif // INCLUDED_VCL_INC_UNX_GTK_GTKSALMENU_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/gtk/gtksys.hxx b/vcl/inc/unx/gtk/gtksys.hxx index d7e5bcaf5aa4..0dd756f7a7d9 100644 --- a/vcl/inc/unx/gtk/gtksys.hxx +++ b/vcl/inc/unx/gtk/gtksys.hxx @@ -6,8 +6,8 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_INC_UNX_GTK_GTKSYS_HXX -#define INCLUDED_VCL_INC_UNX_GTK_GTKSYS_HXX + +#pragma once #include <unx/gensys.h> #include <gtk/gtk.h> @@ -44,6 +44,4 @@ public: #endif }; -#endif // INCLUDED_VCL_INC_UNX_GTK_GTKSYS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/gtk/hudawareness.h b/vcl/inc/unx/gtk/hudawareness.h index eb80e12fe4f3..6c9c015d6af7 100644 --- a/vcl/inc/unx/gtk/hudawareness.h +++ b/vcl/inc/unx/gtk/hudawareness.h @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_INC_UNX_GTK_HUDAWARENESS_H -#define INCLUDED_VCL_INC_UNX_GTK_HUDAWARENESS_H +#pragma once #include <gio/gio.h> @@ -28,5 +27,3 @@ void hud_awareness_unregister (GDBusCo guint awareness_id); G_END_DECLS - -#endif // INCLUDED_VCL_INC_UNX_GTK_HUDAWARENESS_H |