diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-16 10:27:48 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-16 11:04:43 +0100 |
commit | a8487acabd5d3896e3b5ae6a0afd9da500f35edb (patch) | |
tree | 74472f6e43b4583fddc42890973958bde6ebdbeb /basctl | |
parent | 4c0c3333886f2b646c99deb7c503948308fd8698 (diff) |
clang-format accessibility & basctl with under 5-percent lines of change
Files which could become clang-format conformant with
under 5-percent lines of change relative to the total
count of lines in the file are found by using bin/find-clang-format.py,
and fixed with /opt/lo/bin/clang-format -i <path-of-the-file>
There will be follow-up patches to fix all 'under-5-percent' files.
Change-Id: Idc890cac4bb6aed4e36c3556a2abc0744fd086df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88770
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/qa/unit/basctl-dialogs-test.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/breakpoint.hxx | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/basctl/qa/unit/basctl-dialogs-test.cxx b/basctl/qa/unit/basctl-dialogs-test.cxx index a719e5c1ae22..b907681f629d 100644 --- a/basctl/qa/unit/basctl-dialogs-test.cxx +++ b/basctl/qa/unit/basctl-dialogs-test.cxx @@ -36,9 +36,7 @@ public: CPPUNIT_TEST_SUITE_END(); }; -BasctlDialogsTest::BasctlDialogsTest() -{ -} +BasctlDialogsTest::BasctlDialogsTest() {} void BasctlDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/) { diff --git a/basctl/source/basicide/breakpoint.hxx b/basctl/source/basicide/breakpoint.hxx index 4b5ab232535e..324564aaa72e 100644 --- a/basctl/source/basicide/breakpoint.hxx +++ b/basctl/source/basicide/breakpoint.hxx @@ -28,7 +28,6 @@ class SbModule; namespace basctl { - struct BreakPoint { bool bEnabled; @@ -48,19 +47,19 @@ struct BreakPoint class BreakPointList { private: - BreakPointList& operator =(BreakPointList const &) = delete; + BreakPointList& operator=(BreakPointList const&) = delete; std::vector<BreakPoint> maBreakPoints; public: BreakPointList(); - BreakPointList(BreakPointList const & rList); + BreakPointList(BreakPointList const& rList); ~BreakPointList(); void reset(); - void transfer(BreakPointList & rList); + void transfer(BreakPointList& rList); void InsertSorted(BreakPoint pBrk); BreakPoint* FindBreakPoint(sal_uInt16 nLine); |