[Libreoffice-commits] core.git: chart2/qa chart2/source solenv/clang-format

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 16 10:05:50 UTC 2020


 chart2/qa/unit/chart2-dialogs-test.cxx                    |    4 +---
 chart2/source/controller/dialogs/TextDirectionListBox.cxx |    1 -
 chart2/source/controller/inc/dlg_InsertDataLabel.hxx      |    3 ++-
 chart2/source/controller/inc/dlg_InsertTitle.hxx          |    4 ++--
 chart2/source/controller/inc/dlg_ShapeFont.hxx            |    4 ++--
 chart2/source/controller/inc/dlg_ShapeParagraph.hxx       |    2 +-
 chart2/source/inc/AxisIndexDefines.hxx                    |    1 -
 chart2/source/inc/MutexContainer.hxx                      |    1 -
 chart2/source/inc/StackMode.hxx                           |    1 -
 chart2/source/inc/TrueGuard.hxx                           |    3 +--
 chart2/source/inc/servicenames.hxx                        |    1 -
 solenv/clang-format/blacklist                             |   11 -----------
 12 files changed, 9 insertions(+), 27 deletions(-)

New commits:
commit 1ec5204eb5f0afd29f487205f8e3f1ea9d626059
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Sun Feb 16 10:40:22 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sun Feb 16 11:05:14 2020 +0100

    clang-format chart2 with under 5-percent lines of change
    
    Change-Id: Ia60d23c7a75086c2a68e0e295b99a3df3dfd164f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88771
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/chart2/qa/unit/chart2-dialogs-test.cxx b/chart2/qa/unit/chart2-dialogs-test.cxx
index ef99582eb517..c37fb1e1bbe2 100644
--- a/chart2/qa/unit/chart2-dialogs-test.cxx
+++ b/chart2/qa/unit/chart2-dialogs-test.cxx
@@ -36,9 +36,7 @@ public:
     CPPUNIT_TEST_SUITE_END();
 };
 
-Chart2DialogsTest::Chart2DialogsTest()
-{
-}
+Chart2DialogsTest::Chart2DialogsTest() {}
 
 void Chart2DialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
 {
diff --git a/chart2/source/controller/dialogs/TextDirectionListBox.cxx b/chart2/source/controller/dialogs/TextDirectionListBox.cxx
index 611251df8451..68181fdfc726 100644
--- a/chart2/source/controller/dialogs/TextDirectionListBox.cxx
+++ b/chart2/source/controller/dialogs/TextDirectionListBox.cxx
@@ -23,7 +23,6 @@
 
 namespace chart
 {
-
 TextDirectionListBox::TextDirectionListBox(std::unique_ptr<weld::ComboBox> pControl)
     : svx::FrameDirectionListBox(std::move(pControl))
 {
diff --git a/chart2/source/controller/inc/dlg_InsertDataLabel.hxx b/chart2/source/controller/inc/dlg_InsertDataLabel.hxx
index a16815b7a379..c39d608d1e8a 100644
--- a/chart2/source/controller/inc/dlg_InsertDataLabel.hxx
+++ b/chart2/source/controller/inc/dlg_InsertDataLabel.hxx
@@ -35,7 +35,8 @@ private:
     std::unique_ptr<DataLabelResources> m_apDataLabelResources;
 
 public:
-    DataLabelsDialog(weld::Window* pParent, const SfxItemSet& rInAttrs, SvNumberFormatter* pFormatter);
+    DataLabelsDialog(weld::Window* pParent, const SfxItemSet& rInAttrs,
+                     SvNumberFormatter* pFormatter);
     virtual ~DataLabelsDialog() override;
 
     void FillItemSet(SfxItemSet& rOutAttrs);
diff --git a/chart2/source/controller/inc/dlg_InsertTitle.hxx b/chart2/source/controller/inc/dlg_InsertTitle.hxx
index c09c1becf709..7eea6f2bbc86 100644
--- a/chart2/source/controller/inc/dlg_InsertTitle.hxx
+++ b/chart2/source/controller/inc/dlg_InsertTitle.hxx
@@ -28,12 +28,12 @@ namespace chart
 class SchTitleDlg : public weld::GenericDialogController
 {
 private:
-    std::unique_ptr<TitleResources>  m_xTitleResources;
+    std::unique_ptr<TitleResources> m_xTitleResources;
 
 public:
     SchTitleDlg(weld::Window* pParent, const TitleDialogData& rInput);
 
-    void getResult( TitleDialogData& rOutput );
+    void getResult(TitleDialogData& rOutput);
 };
 
 } //namespace chart
diff --git a/chart2/source/controller/inc/dlg_ShapeFont.hxx b/chart2/source/controller/inc/dlg_ShapeFont.hxx
index 21abdcd17dea..5429b8449dd7 100644
--- a/chart2/source/controller/inc/dlg_ShapeFont.hxx
+++ b/chart2/source/controller/inc/dlg_ShapeFont.hxx
@@ -23,7 +23,6 @@
 
 namespace chart
 {
-
 class ViewElementListProvider;
 
 /** dialog for font properties of shapes
@@ -32,7 +31,8 @@ class ShapeFontDialog : public SfxTabDialogController
 {
 public:
     ShapeFontDialog(weld::Window* pParent, const SfxItemSet* pAttr,
-        const ViewElementListProvider* pViewElementListProvider);
+                    const ViewElementListProvider* pViewElementListProvider);
+
 private:
     virtual void PageCreated(const OString& rId, SfxTabPage& rPage) override;
 
diff --git a/chart2/source/controller/inc/dlg_ShapeParagraph.hxx b/chart2/source/controller/inc/dlg_ShapeParagraph.hxx
index 14fbf5f0cc8c..6e214dfbc91a 100644
--- a/chart2/source/controller/inc/dlg_ShapeParagraph.hxx
+++ b/chart2/source/controller/inc/dlg_ShapeParagraph.hxx
@@ -23,13 +23,13 @@
 
 namespace chart
 {
-
 /** dialog for paragraph properties of shapes
  */
 class ShapeParagraphDialog : public SfxTabDialogController
 {
 public:
     ShapeParagraphDialog(weld::Window* pParent, const SfxItemSet* pAttr);
+
 private:
     virtual void PageCreated(const OString& rId, SfxTabPage& rPage) override;
 };
diff --git a/chart2/source/inc/AxisIndexDefines.hxx b/chart2/source/inc/AxisIndexDefines.hxx
index bc8b4e6dd2ea..779f8fc7ff96 100644
--- a/chart2/source/inc/AxisIndexDefines.hxx
+++ b/chart2/source/inc/AxisIndexDefines.hxx
@@ -23,7 +23,6 @@
 
 namespace chart
 {
-
 const sal_Int32 MAIN_AXIS_INDEX = 0;
 const sal_Int32 SECONDARY_AXIS_INDEX = 1;
 
diff --git a/chart2/source/inc/MutexContainer.hxx b/chart2/source/inc/MutexContainer.hxx
index f2a13de3ebd4..bab6b6c3fb1a 100644
--- a/chart2/source/inc/MutexContainer.hxx
+++ b/chart2/source/inc/MutexContainer.hxx
@@ -23,7 +23,6 @@
 
 namespace chart
 {
-
 class MutexContainer
 {
 protected:
diff --git a/chart2/source/inc/StackMode.hxx b/chart2/source/inc/StackMode.hxx
index dd6fceeabb95..14e5fe6ee71e 100644
--- a/chart2/source/inc/StackMode.hxx
+++ b/chart2/source/inc/StackMode.hxx
@@ -21,7 +21,6 @@
 
 namespace chart
 {
-
 // needed for chart type templates
 
 enum class StackMode
diff --git a/chart2/source/inc/TrueGuard.hxx b/chart2/source/inc/TrueGuard.hxx
index 19047fe8065b..109c64a06c03 100644
--- a/chart2/source/inc/TrueGuard.hxx
+++ b/chart2/source/inc/TrueGuard.hxx
@@ -26,13 +26,12 @@ namespace chart
 class TrueGuard final
 {
 public:
-    explicit TrueGuard( bool& rbTrueDuringGuardedTime );
+    explicit TrueGuard(bool& rbTrueDuringGuardedTime);
     ~TrueGuard();
 
 private:
     bool& m_rbTrueDuringGuardedTime;
 };
-
 }
 // INCLUDED_CHART2_SOURCE_INC_TRUEGUARD_HXX
 #endif
diff --git a/chart2/source/inc/servicenames.hxx b/chart2/source/inc/servicenames.hxx
index c34870ca1e70..a63c0939321a 100644
--- a/chart2/source/inc/servicenames.hxx
+++ b/chart2/source/inc/servicenames.hxx
@@ -21,7 +21,6 @@
 
 namespace chart
 {
-
 #define CHART_MODEL_SERVICE_IMPLEMENTATION_NAME "com.sun.star.comp.chart2.ChartModel"
 #define CHART_MODEL_SERVICE_NAME "com.sun.star.chart2.ChartDocument"
 //@todo create your own service containing the service com.sun.star.document.OfficeDocument
diff --git a/solenv/clang-format/blacklist b/solenv/clang-format/blacklist
index 4f5bc8098ce1..63a238e112fe 100644
--- a/solenv/clang-format/blacklist
+++ b/solenv/clang-format/blacklist
@@ -848,7 +848,6 @@ chart2/qa/extras/chart2export.cxx
 chart2/qa/extras/chart2import.cxx
 chart2/qa/extras/charttest.hxx
 chart2/qa/extras/xshape/chart2xshape.cxx
-chart2/qa/unit/chart2-dialogs-test.cxx
 chart2/qa/unit/common_functor_test.cxx
 chart2/source/controller/accessibility/AccessibleBase.cxx
 chart2/source/controller/accessibility/AccessibleChartElement.cxx
@@ -930,7 +929,6 @@ chart2/source/controller/dialogs/DialogModel.hxx
 chart2/source/controller/dialogs/ObjectNameProvider.cxx
 chart2/source/controller/dialogs/RangeSelectionHelper.cxx
 chart2/source/controller/dialogs/RangeSelectionListener.cxx
-chart2/source/controller/dialogs/TextDirectionListBox.cxx
 chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx
 chart2/source/controller/dialogs/TitleDialogData.cxx
 chart2/source/controller/dialogs/dlg_ChartType.cxx
@@ -1041,13 +1039,9 @@ chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
 chart2/source/controller/inc/dlg_DataEditor.hxx
 chart2/source/controller/inc/dlg_DataSource.hxx
 chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx
-chart2/source/controller/inc/dlg_InsertDataLabel.hxx
 chart2/source/controller/inc/dlg_InsertErrorBars.hxx
 chart2/source/controller/inc/dlg_InsertLegend.hxx
-chart2/source/controller/inc/dlg_InsertTitle.hxx
 chart2/source/controller/inc/dlg_ObjectProperties.hxx
-chart2/source/controller/inc/dlg_ShapeFont.hxx
-chart2/source/controller/inc/dlg_ShapeParagraph.hxx
 chart2/source/controller/inc/dlg_View3D.hxx
 chart2/source/controller/inc/helpids.h
 chart2/source/controller/inc/res_ErrorBar.hxx
@@ -1142,7 +1136,6 @@ chart2/source/controller/sidebar/ChartSidebarSelectionListener.cxx
 chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx
 chart2/source/controller/uitest/uiobject.cxx
 chart2/source/inc/AxisHelper.hxx
-chart2/source/inc/AxisIndexDefines.hxx
 chart2/source/inc/BaseGFXHelper.hxx
 chart2/source/inc/CachedDataSequence.hxx
 chart2/source/inc/CharacterProperties.hxx
@@ -1179,7 +1172,6 @@ chart2/source/inc/MeanValueRegressionCurveCalculator.hxx
 chart2/source/inc/MediaDescriptorHelper.hxx
 chart2/source/inc/ModifyListenerHelper.hxx
 chart2/source/inc/MovingAverageRegressionCurveCalculator.hxx
-chart2/source/inc/MutexContainer.hxx
 chart2/source/inc/NameContainer.hxx
 chart2/source/inc/NumberFormatterWrapper.hxx
 chart2/source/inc/OPropertySet.hxx
@@ -1198,11 +1190,9 @@ chart2/source/inc/RelativeSizeHelper.hxx
 chart2/source/inc/ResId.hxx
 chart2/source/inc/Scaling.hxx
 chart2/source/inc/SceneProperties.hxx
-chart2/source/inc/StackMode.hxx
 chart2/source/inc/StatisticsHelper.hxx
 chart2/source/inc/ThreeDHelper.hxx
 chart2/source/inc/TitleHelper.hxx
-chart2/source/inc/TrueGuard.hxx
 chart2/source/inc/UncachedDataSequence.hxx
 chart2/source/inc/UserDefinedProperties.hxx
 chart2/source/inc/WeakListenerAdapter.hxx
@@ -1217,7 +1207,6 @@ chart2/source/inc/chartview/DataPointSymbolSupplier.hxx
 chart2/source/inc/chartview/DrawModelWrapper.hxx
 chart2/source/inc/chartview/ExplicitScaleValues.hxx
 chart2/source/inc/chartview/ExplicitValueProvider.hxx
-chart2/source/inc/servicenames.hxx
 chart2/source/inc/servicenames_charttypes.hxx
 chart2/source/inc/servicenames_coosystems.hxx
 chart2/source/model/filter/XMLFilter.cxx


More information about the Libreoffice-commits mailing list