summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 10:40:22 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 11:05:14 +0100
commit1ec5204eb5f0afd29f487205f8e3f1ea9d626059 (patch)
tree2a258d735f391f39e2bf70bf0c688f113b0da09e /chart2
parenta8487acabd5d3896e3b5ae6a0afd9da500f35edb (diff)
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>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/qa/unit/chart2-dialogs-test.cxx4
-rw-r--r--chart2/source/controller/dialogs/TextDirectionListBox.cxx1
-rw-r--r--chart2/source/controller/inc/dlg_InsertDataLabel.hxx3
-rw-r--r--chart2/source/controller/inc/dlg_InsertTitle.hxx4
-rw-r--r--chart2/source/controller/inc/dlg_ShapeFont.hxx4
-rw-r--r--chart2/source/controller/inc/dlg_ShapeParagraph.hxx2
-rw-r--r--chart2/source/inc/AxisIndexDefines.hxx1
-rw-r--r--chart2/source/inc/MutexContainer.hxx1
-rw-r--r--chart2/source/inc/StackMode.hxx1
-rw-r--r--chart2/source/inc/TrueGuard.hxx3
-rw-r--r--chart2/source/inc/servicenames.hxx1
11 files changed, 9 insertions, 16 deletions
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