diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 12:21:32 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 11:33:42 +0100 |
commit | be22ca7cc69ba905c86e05f0413c05ca0bd42556 (patch) | |
tree | eefb559205257b9d04bb39bd5bfa48b295240263 /sd/source | |
parent | 0e4dd381478e0e5b004015a473f981692171df16 (diff) |
clang-format sd 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: I08c01d7069b041964614c233d452d70f332228f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90145
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/core/typemap.cxx | 3 | ||||
-rw-r--r-- | sd/source/filter/html/buttonset.hxx | 4 | ||||
-rw-r--r-- | sd/source/filter/xml/sdtransform.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/MutexOwner.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/dlg_char.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/paragr.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/unokywds.hxx | 5 |
7 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/core/typemap.cxx b/sd/source/core/typemap.cxx index 60392f6671c8..9353a808cbb4 100644 --- a/sd/source/core/typemap.cxx +++ b/sd/source/core/typemap.cxx @@ -83,7 +83,7 @@ #include <svl/lckbitem.hxx> -#define avmedia_MediaItem ::avmedia::MediaItem +#define avmedia_MediaItem ::avmedia::MediaItem #include <sfx2/tplpitem.hxx> #include <svl/ptitem.hxx> #include <svl/rectitem.hxx> @@ -97,5 +97,4 @@ #define SFX_TYPEMAP #include <sdslots.hxx> - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/filter/html/buttonset.hxx b/sd/source/filter/html/buttonset.hxx index 3342c17b4aa1..5e384276dbb7 100644 --- a/sd/source/filter/html/buttonset.hxx +++ b/sd/source/filter/html/buttonset.hxx @@ -37,8 +37,8 @@ public: int getCount() const; - bool getPreview( int nSet, const std::vector< OUString >& rButtons, Image& rImage ); - bool exportButton( int nSet, const OUString& rPath, const OUString& rName ); + bool getPreview(int nSet, const std::vector<OUString>& rButtons, Image& rImage); + bool exportButton(int nSet, const OUString& rPath, const OUString& rName); private: std::unique_ptr<ButtonSetImpl> mpImpl; diff --git a/sd/source/filter/xml/sdtransform.hxx b/sd/source/filter/xml/sdtransform.hxx index 381020461418..d1f8ae038f07 100644 --- a/sd/source/filter/xml/sdtransform.hxx +++ b/sd/source/filter/xml/sdtransform.hxx @@ -24,7 +24,7 @@ #include <drawdoc.hxx> -void TransformOOo2xDocument( SdDrawDocument* pDocument ); +void TransformOOo2xDocument(SdDrawDocument* pDocument); #endif diff --git a/sd/source/ui/inc/MutexOwner.hxx b/sd/source/ui/inc/MutexOwner.hxx index bf740f1af039..f941798c5d8f 100644 --- a/sd/source/ui/inc/MutexOwner.hxx +++ b/sd/source/ui/inc/MutexOwner.hxx @@ -22,8 +22,8 @@ #include <osl/mutex.hxx> -namespace sd { - +namespace sd +{ /** This class provides a mutex to derived classes. It exists to satisfy some helper classes from cppuhelper who expect a mutex as argument to their constructor. diff --git a/sd/source/ui/inc/dlg_char.hxx b/sd/source/ui/inc/dlg_char.hxx index f56a2e6e64cf..f8ae2d583cb7 100644 --- a/sd/source/ui/inc/dlg_char.hxx +++ b/sd/source/ui/inc/dlg_char.hxx @@ -31,9 +31,9 @@ class SfxObjectShell; class SdCharDlg : public SfxTabDialogController { private: - const SfxObjectShell& rDocShell; + const SfxObjectShell& rDocShell; - virtual void PageCreated(const OString& rId, SfxTabPage &rPage) override; + virtual void PageCreated(const OString& rId, SfxTabPage& rPage) override; public: SdCharDlg(weld::Window* pParent, const SfxItemSet* pAttr, const SfxObjectShell* pDocShell); diff --git a/sd/source/ui/inc/paragr.hxx b/sd/source/ui/inc/paragr.hxx index 29cbf9b0c7e8..0e33f1a442fe 100644 --- a/sd/source/ui/inc/paragr.hxx +++ b/sd/source/ui/inc/paragr.hxx @@ -28,7 +28,7 @@ class SdParagraphDlg : public SfxTabDialogController { private: - virtual void PageCreated(const OString& rId, SfxTabPage &rPage) override; + virtual void PageCreated(const OString& rId, SfxTabPage& rPage) override; public: SdParagraphDlg(weld::Window* pParent, const SfxItemSet* pAttr); diff --git a/sd/source/ui/inc/unokywds.hxx b/sd/source/ui/inc/unokywds.hxx index c28d26e05e4b..66dfcafc21d9 100644 --- a/sd/source/ui/inc/unokywds.hxx +++ b/sd/source/ui/inc/unokywds.hxx @@ -65,7 +65,8 @@ inline const char sUNO_Service_ConnectorProperties[] = "com.sun.star.drawing.Con inline const char sUNO_Service_MeasureProperties[] = "com.sun.star.drawing.MeasureProperties"; inline const char sUNO_Service_PageBackground[] = "com.sun.star.drawing.PageBackground"; inline const char sUNO_Service_GraphicObjectShape[] = "com.sun.star.drawing.GraphicObjectShape"; -inline const char sUNO_Service_ImageMapRectangleObject[] = "com.sun.star.image.ImageMapRectangleObject"; +inline const char sUNO_Service_ImageMapRectangleObject[] + = "com.sun.star.image.ImageMapRectangleObject"; inline const char sUNO_Service_ImageMapCircleObject[] = "com.sun.star.image.ImageMapCircleObject"; inline const char sUNO_Service_ImageMapPolygonObject[] = "com.sun.star.image.ImageMapPolygonObject"; @@ -107,7 +108,7 @@ inline const char sUNO_View_IsShowPreviewInPageMode[] = "IsShowPreviewInPageMode inline const char sUNO_View_IsShowPreviewInMasterPageMode[] = "IsShowPreviewInMasterPageMode"; inline const char sUNO_View_SetShowPreviewInOutlineMode[] = "SetShowPreviewInOutlineMode"; inline const char sUNO_View_EditMode[] = "EditMode"; -inline const char sUNO_View_EditModeStandard[] = "EditModeStandard"; // To be deprecated +inline const char sUNO_View_EditModeStandard[] = "EditModeStandard"; // To be deprecated // inline const char sUNO_View_EditModeNotes[] = "EditModeNotes"; // inline const char sUNO_View_EditModeHandout[] = "EditModeHandout"; inline const char sUNO_View_VisArea[] = "VisArea"; |