[Libreoffice-commits] core.git: basegfx/source

gizemozgun (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 23 21:26:56 UTC 2020


 basegfx/source/workbench/bezierclip.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit d1da299ef910e2d75e98bed62110a9e8693aefe3
Author:     gizemozgun <gizemozguun at gmail.com>
AuthorDate: Fri Oct 23 01:43:37 2020 +0300
Commit:     Gülşah Köse <gulsah.kose at collabora.com>
CommitDate: Fri Oct 23 23:26:17 2020 +0200

    tdf#124176 Using pragma once instead of include guards
    
    Change-Id: I2f2470f509ff4a6cef5962755c6de86ebf1a89a5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104708
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
    Tested-by: Jenkins

diff --git a/basegfx/source/workbench/bezierclip.hxx b/basegfx/source/workbench/bezierclip.hxx
index adb92009ad69..36d2f89a893f 100644
--- a/basegfx/source/workbench/bezierclip.hxx
+++ b/basegfx/source/workbench/bezierclip.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_SOURCE_WORKBENCH_BEZIERCLIP_HXX
-#define INCLUDED_BASEGFX_SOURCE_WORKBENCH_BEZIERCLIP_HXX
+#pragma once
 
 #include <vector>
 
@@ -82,6 +81,4 @@ template <typename NumType> bool tolEqual( NumType n1, NumType n2 ) { return tol
 template <typename NumType> bool tolLessEqual( NumType n1, NumType n2 ) { return tolEqual(n1,n2) || n1<n2; }
 template <typename NumType> bool tolGreaterEqual( NumType n1, NumType n2 ) { return tolEqual(n1,n2) || n1>n2; }
 
-#endif // INCLUDED_BASEGFX_SOURCE_WORKBENCH_BEZIERCLIP_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list