summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorBehrad Khorram <b.khorramnazari@gmail.com>2022-04-03 21:05:10 +0430
committerHossein <hossein@libreoffice.org>2022-04-10 22:35:07 +0200
commita30b3ef7ff4c69272c7c20dc9ea947c15b16216e (patch)
treecf0aac11eed91e77ad72b4e43b0543d2861504a0 /vcl
parentb24a4d255d31233c48152e6e1ce992a693cdaeae (diff)
tdf#143148 Use pragma once instead of include guards in xlimits.hxx file
Change-Id: Ia54dad6650e4dfd618ebf48a89c2ccd9c588fcb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132481 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/x11/xlimits.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/inc/unx/x11/xlimits.hxx b/vcl/inc/unx/x11/xlimits.hxx
index b46ff9bb172a..85a00b17b23c 100644
--- a/vcl/inc/unx/x11/xlimits.hxx
+++ b/vcl/inc/unx/x11/xlimits.hxx
@@ -7,14 +7,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_VCL_INC_UNX_X11_XLIMITS_HXX
-#define INCLUDED_VCL_INC_UNX_X11_XLIMITS_HXX
+#pragma once
#include <X11/Xlib.h>
#include <vclpluginapi.h>
Pixmap limitXCreatePixmap(Display *display, Drawable d, unsigned int width, unsigned int height, unsigned int depth);
-#endif // INCLUDED_VCL_INC_UNX_X11_XLIMITS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */