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

Tolunay Dündar (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 19 03:43:51 UTC 2019


 cui/source/options/optaboutconfig.hxx   |    5 +----
 cui/source/options/optaccessibility.hxx |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

New commits:
commit 9ed0afc79b7da20d08153c2c3e302b061292358f
Author:     Tolunay Dündar <dndr.dev at protonmail.com>
AuthorDate: Wed Dec 18 20:00:02 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Thu Dec 19 04:43:11 2019 +0100

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

diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx
index b7781859eb4b..69a207da6712 100644
--- a/cui/source/options/optaboutconfig.hxx
+++ b/cui/source/options/optaboutconfig.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTABOUTCONFIG_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_OPTABOUTCONFIG_HXX
+#pragma once
 
 #include <com/sun/star/container/XNameAccess.hpp>
 
@@ -93,6 +92,4 @@ public:
     }
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optaccessibility.hxx b/cui/source/options/optaccessibility.hxx
index 93886c73555d..35d5fdefde03 100644
--- a/cui/source/options/optaccessibility.hxx
+++ b/cui/source/options/optaccessibility.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_OPTACCESSIBILITY_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_OPTACCESSIBILITY_HXX
+#pragma once
 
 #include <sfx2/tabdlg.hxx>
 
@@ -40,6 +39,4 @@ public:
     virtual void        Reset( const SfxItemSet* rSet ) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list