diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-16 15:41:27 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-16 15:14:16 +0100 |
commit | 5c30117af73db865da11876c53de60bd613b2973 (patch) | |
tree | 5e151e15b636fa7e88def3810f77defc8b6ebed6 /sfx2/source/inc | |
parent | 0adc9b615f118ebb78f5f2edfe0c1c0e41270d57 (diff) |
clang-format sfx2 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: I6b2e99a6485031e33c781be896e9426fffd08edf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88779
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r-- | sfx2/source/inc/itemdel.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/preview.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/inc/sfxpicklist.hxx | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/sfx2/source/inc/itemdel.hxx b/sfx2/source/inc/itemdel.hxx index 1884c83c38cc..b8ea325010e4 100644 --- a/sfx2/source/inc/itemdel.hxx +++ b/sfx2/source/inc/itemdel.hxx @@ -23,7 +23,7 @@ class SfxPoolItem; -void DeleteItemOnIdle( std::unique_ptr<SfxPoolItem> pItem ); +void DeleteItemOnIdle(std::unique_ptr<SfxPoolItem> pItem); #endif diff --git a/sfx2/source/inc/preview.hxx b/sfx2/source/inc/preview.hxx index 89dfa55b0e73..b3065831982b 100644 --- a/sfx2/source/inc/preview.hxx +++ b/sfx2/source/inc/preview.hxx @@ -29,9 +29,10 @@ class SfxPreviewWin_Impl : public weld::CustomWidgetController private: virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override; std::shared_ptr<GDIMetaFile> xMetaFile; + public: SfxPreviewWin_Impl(); - void SetObjectShell( SfxObjectShell const * pObj ); + void SetObjectShell(SfxObjectShell const* pObj); static void ImpPaint(vcl::RenderContext& rRenderContext, GDIMetaFile* pFile); }; diff --git a/sfx2/source/inc/sfxpicklist.hxx b/sfx2/source/inc/sfxpicklist.hxx index 6a6e818a613b..b8af2310d467 100644 --- a/sfx2/source/inc/sfxpicklist.hxx +++ b/sfx2/source/inc/sfxpicklist.hxx @@ -22,7 +22,7 @@ #include <memory> -#define PICKLIST_MAXSIZE 100 +#define PICKLIST_MAXSIZE 100 class SfxApplication; class SfxPickListImpl; @@ -31,6 +31,7 @@ class SfxPickList { private: std::unique_ptr<SfxPickListImpl> mxImpl; + public: SfxPickList(SfxApplication& rApp); ~SfxPickList(); |