[Libreoffice-commits] core.git: chart2/inc

Gökay ŞATIR (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 27 12:34:43 UTC 2019


 chart2/inc/ChartModel.hxx        |    5 +----
 chart2/inc/ChartView.hxx         |    5 +----
 chart2/inc/SpecialCharacters.hxx |    5 +----
 chart2/inc/unonames.hxx          |    5 +----
 4 files changed, 4 insertions(+), 16 deletions(-)

New commits:
commit c309d478b8304d8779bb2a49e96ac12527762e38
Author:     Gökay ŞATIR <gokaysatir at gmail.com>
AuthorDate: Tue Dec 24 15:30:17 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Fri Dec 27 13:34:09 2019 +0100

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

diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx
index ee6852ae4338..969e29435862 100644
--- a/chart2/inc/ChartModel.hxx
+++ b/chart2/inc/ChartModel.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_CHART2_INC_CHARTMODEL_HXX
-#define INCLUDED_CHART2_INC_CHARTMODEL_HXX
+#pragma once
 
 #include <LifeTime.hxx>
 
@@ -473,6 +472,4 @@ private:
 
 }  // namespace chart
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index 5ae3930ebd01..7993743919fd 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.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_CHART2_INC_CHARTVIEW_HXX
-#define INCLUDED_CHART2_INC_CHARTVIEW_HXX
+#pragma once
 
 #include <chartview/ExplicitValueProvider.hxx>
 #include <cppuhelper/implbase.hxx>
@@ -253,6 +252,4 @@ private: //member
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/inc/SpecialCharacters.hxx b/chart2/inc/SpecialCharacters.hxx
index 60d9a1953941..b02ab1049ca6 100644
--- a/chart2/inc/SpecialCharacters.hxx
+++ b/chart2/inc/SpecialCharacters.hxx
@@ -7,14 +7,11 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_CHART2_INC_SPECIALCHARACTERS_HXX
-#define INCLUDED_CHART2_INC_SPECIALCHARACTERS_HXX
+#pragma once
 
 #include <sal/types.h>
 
 const sal_Unicode aMinusSign = 0x2212;
 const sal_Unicode aSuperscriptFigures[10]={ 0x2070, 0x00B9, 0x00B2, 0x00B3, 0x2074, 0x2075, 0x2076, 0x2077, 0x2078, 0x2079 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/inc/unonames.hxx b/chart2/inc/unonames.hxx
index ba8011431809..8f4c855d3766 100644
--- a/chart2/inc/unonames.hxx
+++ b/chart2/inc/unonames.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_CHART2_INC_UNONAMES_HXX
-#define INCLUDED_CHART2_INC_UNONAMES_HXX
+#pragma once
 
 #define CHART_UNONAME_SORT_BY_XVALUES       "SortByXValues"
 #define CHART_UNONAME_SPLINE_TYPE           "SplineType"
@@ -30,6 +29,4 @@
 #define CHART_UNONAME_LABEL_BORDER_TRANS    "LabelBorderTransparency"
 #define CHART_UNONAME_CUSTOM_LABEL_FIELDS   "CustomLabelFields"
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list