diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 12:30:12 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 11:36:26 +0100 |
commit | 7c48277b1c54ea30fa1a13db1b3e45d2269bd7ec (patch) | |
tree | f948f4b414496a5901ba2c891073639532be5f40 /svx/inc | |
parent | be22ca7cc69ba905c86e05f0413c05ca0bd42556 (diff) |
clang-format svx 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: I89062f4846e0ba4de7fbe799a1515665fe4449a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90146
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/CommonStylePreviewRenderer.hxx | 4 | ||||
-rw-r--r-- | svx/inc/xftshtit.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/inc/CommonStylePreviewRenderer.hxx b/svx/inc/CommonStylePreviewRenderer.hxx index 88e3d6ddeb0c..3cb6bf0441d0 100644 --- a/svx/inc/CommonStylePreviewRenderer.hxx +++ b/svx/inc/CommonStylePreviewRenderer.hxx @@ -23,7 +23,6 @@ class SvxFont; namespace svx { - class CommonStylePreviewRenderer final : public sfx2::StylePreviewRenderer { std::unique_ptr<SvxFont> m_pFont; @@ -39,7 +38,8 @@ public: virtual bool recalculate() override; virtual Size getRenderSize() override; - virtual bool render(const tools::Rectangle& aRectangle, RenderAlign eRenderAlign = RenderAlign::CENTER) override; + virtual bool render(const tools::Rectangle& aRectangle, + RenderAlign eRenderAlign = RenderAlign::CENTER) override; }; } // end namespace svx diff --git a/svx/inc/xftshtit.hxx b/svx/inc/xftshtit.hxx index e8f223e6b820..aaefab95143f 100644 --- a/svx/inc/xftshtit.hxx +++ b/svx/inc/xftshtit.hxx @@ -30,7 +30,7 @@ class XFormTextShadowTranspItem final : public SfxUInt16Item { public: - XFormTextShadowTranspItem(sal_uInt16 nShdwTransparence = 0); + XFormTextShadowTranspItem(sal_uInt16 nShdwTransparence = 0); virtual XFormTextShadowTranspItem* Clone(SfxItemPool* pPool = nullptr) const override; }; |