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

Kemal Ayhan (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 18 21:48:53 UTC 2019


 cui/source/options/connpoolconfig.hxx   |    7 +------
 cui/source/options/connpooloptions.hxx  |    5 +----
 cui/source/options/connpoolsettings.hxx |    7 +------
 3 files changed, 3 insertions(+), 16 deletions(-)

New commits:
commit 0d9e1e364d4a705c87b86e99ef9b4e5a6564b03a
Author:     Kemal Ayhan <kemalayhan013 at gmail.com>
AuthorDate: Wed Dec 18 20:00:00 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Wed Dec 18 22:47:15 2019 +0100

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

diff --git a/cui/source/options/connpoolconfig.hxx b/cui/source/options/connpoolconfig.hxx
index f43e135c35e9..41ec88d5b3d5 100644
--- a/cui/source/options/connpoolconfig.hxx
+++ b/cui/source/options/connpoolconfig.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLCONFIG_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLCONFIG_HXX
+#pragma once
 
 class SfxItemSet;
 
@@ -36,8 +35,4 @@ namespace offapp
 
 }   // namespace offapp
 
-
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLCONFIG_HXX
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/connpooloptions.hxx b/cui/source/options/connpooloptions.hxx
index 4e9420d76cb2..570ec66abda6 100644
--- a/cui/source/options/connpooloptions.hxx
+++ b/cui/source/options/connpooloptions.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLOPTIONS_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLOPTIONS_HXX
+#pragma once
 
 #include <sfx2/tabdlg.hxx>
 
@@ -69,6 +68,4 @@ namespace offapp
 
 } // namespace offapp
 
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLOPTIONS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/connpoolsettings.hxx b/cui/source/options/connpoolsettings.hxx
index 45c38cb9a6d7..8f8c6bc3b361 100644
--- a/cui/source/options/connpoolsettings.hxx
+++ b/cui/source/options/connpoolsettings.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLSETTINGS_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLSETTINGS_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -84,8 +83,4 @@ namespace offapp
 
 }   // namespace offapp
 
-
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLSETTINGS_HXX
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list