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

Batuhan Görkem Benzer (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 19 06:39:08 UTC 2019


 cui/source/options/sdbcdriverenum.hxx  |    8 +-------
 cui/source/options/securityoptions.hxx |    5 +----
 2 files changed, 2 insertions(+), 11 deletions(-)

New commits:
commit 7b1f3135de3211b0b750571ecdcd9dcab752b544
Author:     Batuhan Görkem Benzer <batuhan1167 at gmail.com>
AuthorDate: Wed Dec 18 12:00:05 2019 -0500
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Thu Dec 19 07:38:25 2019 +0100

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

diff --git a/cui/source/options/sdbcdriverenum.hxx b/cui/source/options/sdbcdriverenum.hxx
index 6dfbfd62ff12..ef25bca00430 100644
--- a/cui/source/options/sdbcdriverenum.hxx
+++ b/cui/source/options/sdbcdriverenum.hxx
@@ -17,9 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_SDBCDRIVERENUM_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_SDBCDRIVERENUM_HXX
-
+#pragma once
 
 #include <rtl/ustring.hxx>
 
@@ -53,8 +51,4 @@ namespace offapp
 
 }   // namespace offapp
 
-
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_SDBCDRIVERENUM_HXX
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/securityoptions.hxx b/cui/source/options/securityoptions.hxx
index 1176bd7fe818..d5ed7b01ac25 100644
--- a/cui/source/options/securityoptions.hxx
+++ b/cui/source/options/securityoptions.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_OPTIONS_SECURITYOPTIONS_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_SECURITYOPTIONS_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 
@@ -61,6 +60,4 @@ namespace svx
     };
 }
 
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_SECURITYOPTIONS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list