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

Onur Yilmaz (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 19 00:52:05 UTC 2019


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

New commits:
commit 42a1a1c6b91907f81e15066ffab219411f18c4db
Author:     Onur Yilmaz <onuryilmaz0750 at gmail.com>
AuthorDate: Wed Dec 18 20:00:14 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Thu Dec 19 01:50:29 2019 +0100

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

diff --git a/cui/source/options/certpath.hxx b/cui/source/options/certpath.hxx
index c23812eefed3..b040a31d3c94 100644
--- a/cui/source/options/certpath.hxx
+++ b/cui/source/options/certpath.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_CERTPATH_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_CERTPATH_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 
@@ -37,6 +36,4 @@ public:
     OUString getDirectory() const;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/cfgchart.hxx b/cui/source/options/cfgchart.hxx
index 4984d1bd31e8..acbe41a9b41e 100644
--- a/cui/source/options/cfgchart.hxx
+++ b/cui/source/options/cfgchart.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_CFGCHART_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_CFGCHART_HXX
+#pragma once
 
 #include <unotools/configitem.hxx>
 #include <svl/poolitem.hxx>
@@ -98,6 +97,4 @@ private:
     SvxChartColorTable      m_aColorTable;
 };
 
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_CFGCHART_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list