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@collabora.com>
This commit is contained in:
Muhammet Kara 2020-02-16 10:40:22 +03:00
parent a8487acabd
commit 1ec5204eb5
12 changed files with 9 additions and 27 deletions

View file

@ -36,9 +36,7 @@ public:
CPPUNIT_TEST_SUITE_END();
};
Chart2DialogsTest::Chart2DialogsTest()
{
}
Chart2DialogsTest::Chart2DialogsTest() {}
void Chart2DialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
{

View file

@ -23,7 +23,6 @@
namespace chart
{
TextDirectionListBox::TextDirectionListBox(std::unique_ptr<weld::ComboBox> pControl)
: svx::FrameDirectionListBox(std::move(pControl))
{

View file

@ -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);

View file

@ -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

View file

@ -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;

View file

@ -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;
};

View file

@ -23,7 +23,6 @@
namespace chart
{
const sal_Int32 MAIN_AXIS_INDEX = 0;
const sal_Int32 SECONDARY_AXIS_INDEX = 1;

View file

@ -23,7 +23,6 @@
namespace chart
{
class MutexContainer
{
protected:

View file

@ -21,7 +21,6 @@
namespace chart
{
// needed for chart type templates
enum class StackMode

View file

@ -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

View file

@ -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

View file

@ -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