[Libreoffice-commits] core.git: tools/inc

YakovlevAl (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 15 06:06:42 UTC 2021


 tools/inc/poly.h |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 2a31c5dd37012de5a52dbbc08937401fc38434fb
Author:     YakovlevAl <sanya89_muravlenko at mail.ru>
AuthorDate: Thu Jul 15 01:49:52 2021 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Thu Jul 15 08:06:11 2021 +0200

    tdf#143148 Use pragma once instead of include guards
    
    Switch to #pragma once
    
    Change-Id: Id5436aee3398fe2ee0fecd125cb1e7f71e587c88
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118962
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/tools/inc/poly.h b/tools/inc/poly.h
index 3de1374efd94..64885ac29762 100644
--- a/tools/inc/poly.h
+++ b/tools/inc/poly.h
@@ -16,8 +16,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_TOOLS_INC_POLY_H
-#define INCLUDED_TOOLS_INC_POLY_H
+#pragma once
 
 #include <sal/types.h>
 #include <memory>
@@ -81,6 +80,4 @@ struct ImplPolyPolygon
     }
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list