[Libreoffice-commits] core.git: basegfx/source basegfx/test
diwanshu885 (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 30 15:59:27 UTC 2020
basegfx/source/inc/hommatrixtemplate.hxx | 5 +----
basegfx/test/boxclipper.hxx | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
New commits:
commit 44c120ba3f15e31bd506f5bdda26a565ca6ad635
Author: diwanshu885 <dmittal885 at gmail.com>
AuthorDate: Fri Oct 30 12:57:28 2020 +0530
Commit: Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Fri Oct 30 16:58:48 2020 +0100
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 at fbihome.de>
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: */
More information about the Libreoffice-commits
mailing list