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

Mesut Çifci (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 19 06:38:42 UTC 2019


 cui/source/options/doclinkdialog.hxx |    5 +----
 cui/source/options/fontsubs.hxx      |    6 ++----
 2 files changed, 3 insertions(+), 8 deletions(-)

New commits:
commit 0b827a6a64300430b43dfb48daab33f81d3494de
Author:     Mesut Çifci <mesutcifci97 at gmail.com>
AuthorDate: Wed Dec 18 20:00:26 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Thu Dec 19 07:37:55 2019 +0100

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

diff --git a/cui/source/options/doclinkdialog.hxx b/cui/source/options/doclinkdialog.hxx
index 0e66ebfd6b0c..f9e48f3e57c9 100644
--- a/cui/source/options/doclinkdialog.hxx
+++ b/cui/source/options/doclinkdialog.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_DOCLINKDIALOG_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_DOCLINKDIALOG_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 #include <svtools/inettbc.hxx>
@@ -59,6 +58,4 @@ namespace svx
     };
 }
 
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_DOCLINKDIALOG_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/fontsubs.hxx b/cui/source/options/fontsubs.hxx
index 880c11675858..0de6d711c3ed 100644
--- a/cui/source/options/fontsubs.hxx
+++ b/cui/source/options/fontsubs.hxx
@@ -16,8 +16,8 @@
  *   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_OPTIONS_FONTSUBS_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_FONTSUBS_HXX
+
+#pragma once
 
 #include <sfx2/tabdlg.hxx>
 
@@ -57,6 +57,4 @@ public:
     virtual void        Reset( const SfxItemSet* rSet ) override;
 };
 
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_FONTSUBS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list