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

Selim Åžeker (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 20 20:00:31 UTC 2019


 cui/source/options/dbregisterednamesconfig.hxx |    7 +------
 cui/source/options/dbregistersettings.hxx      |    5 +----
 2 files changed, 2 insertions(+), 10 deletions(-)

New commits:
commit 0d34eb78fd5fe72d9e10438b41e76fe45cb2c2df
Author:     Selim Şeker <selim.seker00 at gmail.com>
AuthorDate: Thu Dec 19 01:50:53 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Fri Dec 20 20:59:08 2019 +0100

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

diff --git a/cui/source/options/dbregisterednamesconfig.hxx b/cui/source/options/dbregisterednamesconfig.hxx
index 48311d031913..9decf7e11399 100644
--- a/cui/source/options/dbregisterednamesconfig.hxx
+++ b/cui/source/options/dbregisterednamesconfig.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTEREDNAMESCONFIG_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTEREDNAMESCONFIG_HXX
+#pragma once
 
 class SfxItemSet;
 
@@ -36,8 +35,4 @@ namespace svx
 
 }
 
-
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTEREDNAMESCONFIG_HXX
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/dbregistersettings.hxx b/cui/source/options/dbregistersettings.hxx
index ce1322a101db..9146afe7b1d3 100644
--- a/cui/source/options/dbregistersettings.hxx
+++ b/cui/source/options/dbregistersettings.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTERSETTINGS_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTERSETTINGS_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -77,6 +76,4 @@ namespace svx
 
 }
 
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_DBREGISTERSETTINGS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list