[Libreoffice-commits] core.git: include/sfx2

Kemal Ayhan (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 27 15:12:37 UTC 2020


 include/sfx2/lnkbase.hxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit a437ecfd437531a293f69d503f30ac77ccfc75c2
Author:     Kemal Ayhan <kemalayhan013 at gmail.com>
AuthorDate: Sat Jan 25 14:59:39 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jan 27 16:12:06 2020 +0100

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

diff --git a/include/sfx2/lnkbase.hxx b/include/sfx2/lnkbase.hxx
index 535a6bcf9292..b12c90c93683 100644
--- a/include/sfx2/lnkbase.hxx
+++ b/include/sfx2/lnkbase.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_SFX2_LNKBASE_HXX
-#define INCLUDED_SFX2_LNKBASE_HXX
+
+#pragma once
 
 #include <rtl/ustring.hxx>
 #include <sal/config.h>
@@ -168,6 +168,4 @@ public:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list