diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-16 14:44:52 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-16 14:10:39 +0100 |
commit | c691aed63451ba441d45d2feb90f7266e12366f4 (patch) | |
tree | 37879f918bf7a65b1237b517190cb01f4c8478f2 /fpicker | |
parent | f99e765cb303e37e6b6c983d3ee040fa36c1e52c (diff) |
clang-format f*,h* 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: I702c09bcd3a9a113b3d66c30edb6cf3b7e6a6593
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88776
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/qa/unit/fpicker-dialogs-test.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/aqua/AquaFilePickerDelegate.hxx | 4 | ||||
-rw-r--r-- | fpicker/source/aqua/NSURL_OOoAdditions.hxx | 4 | ||||
-rw-r--r-- | fpicker/source/aqua/SalAquaConstants.h | 3 |
4 files changed, 7 insertions, 8 deletions
diff --git a/fpicker/qa/unit/fpicker-dialogs-test.cxx b/fpicker/qa/unit/fpicker-dialogs-test.cxx index 7e83d2756674..8c8a78df00e5 100644 --- a/fpicker/qa/unit/fpicker-dialogs-test.cxx +++ b/fpicker/qa/unit/fpicker-dialogs-test.cxx @@ -36,9 +36,7 @@ public: CPPUNIT_TEST_SUITE_END(); }; -FpickerDialogsTest::FpickerDialogsTest() -{ -} +FpickerDialogsTest::FpickerDialogsTest() {} void FpickerDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/) { diff --git a/fpicker/source/aqua/AquaFilePickerDelegate.hxx b/fpicker/source/aqua/AquaFilePickerDelegate.hxx index 6ea35ec41d73..eb7e1ce402e6 100644 --- a/fpicker/source/aqua/AquaFilePickerDelegate.hxx +++ b/fpicker/source/aqua/AquaFilePickerDelegate.hxx @@ -37,9 +37,9 @@ class FilterHelper; - (void)setFilterHelper:(FilterHelper*)filterHelper; -- (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename; +- (BOOL)panel:(id)sender shouldShowFilename:(NSString*)filename; - (void)panelSelectionDidChange:(id)sender; -- (void)panel:(id)sender directoryDidChange:(NSString *)path; +- (void)panel:(id)sender directoryDidChange:(NSString*)path; - (void)filterSelectedAtIndex:(id)sender; - (void)autoextensionChanged:(id)sender; diff --git a/fpicker/source/aqua/NSURL_OOoAdditions.hxx b/fpicker/source/aqua/NSURL_OOoAdditions.hxx index 5329e9261744..bf1c76bad93a 100644 --- a/fpicker/source/aqua/NSURL_OOoAdditions.hxx +++ b/fpicker/source/aqua/NSURL_OOoAdditions.hxx @@ -27,7 +27,7 @@ #include <rtl/ustring.hxx> @interface NSURL (OOoAdditions) -- (OUString) OUStringForInfo:(InfoType)info; +- (OUString)OUStringForInfo:(InfoType)info; @end /* @@ -35,7 +35,7 @@ if there was no alias, nil is returned */ -NSString* resolveAlias( NSString* i_pSystemPath ); +NSString* resolveAlias(NSString* i_pSystemPath); #endif diff --git a/fpicker/source/aqua/SalAquaConstants.h b/fpicker/source/aqua/SalAquaConstants.h index 591525ba8601..f5f03f6f2114 100644 --- a/fpicker/source/aqua/SalAquaConstants.h +++ b/fpicker/source/aqua/SalAquaConstants.h @@ -42,7 +42,8 @@ #define kAquaSpacePopupMenuFrameBoundsDiffTop (2) #define kAquaSpacePopupMenuFrameBoundsDiffBottom (4) -#define kAquaSpacePopupMenuFrameBoundsDiffV (kAquaSpacePopupMenuFrameBoundsDiffTop + kAquaSpacePopupMenuFrameBoundsDiffBottom) +#define kAquaSpacePopupMenuFrameBoundsDiffV \ + (kAquaSpacePopupMenuFrameBoundsDiffTop + kAquaSpacePopupMenuFrameBoundsDiffBottom) #define kAquaSpacePopupMenuFrameBoundsDiffLeft (3) #define kAquaSpaceLabelFrameBoundsDiffH (3) |