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

Sıla Genç (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 20 20:03:10 UTC 2019


 cui/source/options/optjava.hxx    |    6 ++----
 cui/source/options/optjsearch.hxx |    6 +-----
 2 files changed, 3 insertions(+), 9 deletions(-)

New commits:
commit 186fdf0d20162568891763f08e7f99a38535a699
Author:     Sıla Genç <silaqnc at gmail.com>
AuthorDate: Fri Dec 20 16:00:58 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Fri Dec 20 21:01:53 2019 +0100

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

diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx
index ffefecce2d47..01cd15210f44 100644
--- a/cui/source/options/optjava.hxx
+++ b/cui/source/options/optjava.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_OPTJAVA_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_OPTJAVA_HXX
+
+#pragma once
 
 #include <config_java.h>
 
@@ -204,6 +204,4 @@ public:
     void                    SetClassPath( const OUString& _rPath );
 };
 
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_OPTJAVA_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optjsearch.hxx b/cui/source/options/optjsearch.hxx
index 8b2d68ddcf4d..f0da350ae651 100644
--- a/cui/source/options/optjsearch.hxx
+++ b/cui/source/options/optjsearch.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX
+#pragma once
 
 #include <i18nutil/transliteration.hxx>
 #include <sfx2/tabdlg.hxx>
@@ -69,7 +68,4 @@ public:
     void                SetTransliterationFlags( TransliterationFlags nSettings );
 };
 
-
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list