summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authordiwanshu885 <dmittal885@gmail.com>2020-10-30 12:57:28 +0530
committerJan-Marek Glogowski <glogow@fbihome.de>2020-10-30 16:58:48 +0100
commit44c120ba3f15e31bd506f5bdda26a565ca6ad635 (patch)
tree8926a0e1b5946419db05fc5b68abc0bf00b25061 /basegfx
parent9e862bad71528addc57567db679e22ae176760ce (diff)
tdf#124176 Using pragma once instead of inclusive guards
Change-Id: I39f34dc94e0df09e6951c26a90a666553cadf4d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105036 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/inc/hommatrixtemplate.hxx5
-rw-r--r--basegfx/test/boxclipper.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/basegfx/source/inc/hommatrixtemplate.hxx b/basegfx/source/inc/hommatrixtemplate.hxx
index d6531da3a8d3..44f7cd8027cf 100644
--- a/basegfx/source/inc/hommatrixtemplate.hxx
+++ b/basegfx/source/inc/hommatrixtemplate.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_SOURCE_INC_HOMMATRIXTEMPLATE_HXX
-#define INCLUDED_BASEGFX_SOURCE_INC_HOMMATRIXTEMPLATE_HXX
+#pragma once
#include <sal/types.h>
#include <basegfx/numeric/ftools.hxx>
@@ -523,6 +522,4 @@ namespace basegfx::internal
} // namespace basegfx::internal
-#endif // INCLUDED_BASEGFX_SOURCE_INC_HOMMATRIXTEMPLATE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basegfx/test/boxclipper.hxx b/basegfx/test/boxclipper.hxx
index 95dd2c7df849..d21ed7a422e0 100644
--- a/basegfx/test/boxclipper.hxx
+++ b/basegfx/test/boxclipper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_TEST_BOXCLIPPER_HXX
-#define INCLUDED_BASEGFX_TEST_BOXCLIPPER_HXX
+#pragma once
#include <sal/config.h>
@@ -30,6 +29,4 @@ double getRandomOrdinal( const std::size_t n );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */