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

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 18 18:03:38 UTC 2019


 cui/source/customize/eventdlg.hxx     |    5 +----
 cui/source/customize/macropg_impl.hxx |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

New commits:
commit ecd490b6e3e612df117e82675e63237685e3ca36
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Wed Dec 18 15:57:12 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Wed Dec 18 19:02:09 2019 +0100

    tdf#124176: Use pragma once instead of include guards
    
    Change-Id: I3df73c321efa7fa3e8a87608c3c7189f7d839ac8
    Reviewed-on: https://gerrit.libreoffice.org/85384
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/cui/source/customize/eventdlg.hxx b/cui/source/customize/eventdlg.hxx
index 8db1fdaff7c8..2d368e98287f 100644
--- a/cui/source/customize/eventdlg.hxx
+++ b/cui/source/customize/eventdlg.hxx
@@ -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_CUI_SOURCE_CUSTOMIZE_EVENTDLG_HXX
-#define INCLUDED_CUI_SOURCE_CUSTOMIZE_EVENTDLG_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 #include <macropg.hxx>
@@ -50,6 +49,4 @@ private:
     void    ImplInitDocument();
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/customize/macropg_impl.hxx b/cui/source/customize/macropg_impl.hxx
index 6cc202e4de53..2a36d0f5cada 100644
--- a/cui/source/customize/macropg_impl.hxx
+++ b/cui/source/customize/macropg_impl.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_CUSTOMIZE_MACROPG_IMPL_HXX
-#define INCLUDED_CUI_SOURCE_CUSTOMIZE_MACROPG_IMPL_HXX
+#pragma once
 
 #include <svl/itemset.hxx>
 #include <vcl/weld.hxx>
@@ -53,6 +52,4 @@ public:
     const OUString& getURL() const { return maURL; }
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list