From f31af3ed40fba2376eb19238d3e158e91b6d1b29 Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Sat, 7 Mar 2020 12:57:44 +0300 Subject: clang-format toolkit, tools, uui 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 There will be follow-up patches to fix all 'under-5-percent' files. Change-Id: I4952f350f4d22913ea94689b902ffa26c223ff96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90152 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- uui/source/authfallbackdlg.hxx | 3 +-- uui/source/filechanged.hxx | 1 + uui/source/lockcorrupt.hxx | 1 + uui/source/lockfailed.hxx | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) (limited to 'uui') diff --git a/uui/source/authfallbackdlg.hxx b/uui/source/authfallbackdlg.hxx index 206cd87274a7..b3482f70e85f 100644 --- a/uui/source/authfallbackdlg.hxx +++ b/uui/source/authfallbackdlg.hxx @@ -27,8 +27,7 @@ private: std::unique_ptr m_xOneDriveBox; public: - AuthFallbackDlg(weld::Window* pParent, const OUString& instructions, - const OUString& url); + AuthFallbackDlg(weld::Window* pParent, const OUString& instructions, const OUString& url); virtual ~AuthFallbackDlg() override; OUString GetCode() const; diff --git a/uui/source/filechanged.hxx b/uui/source/filechanged.hxx index 6e73d17407ab..f68b793e997a 100644 --- a/uui/source/filechanged.hxx +++ b/uui/source/filechanged.hxx @@ -25,6 +25,7 @@ class FileChangedQueryBox { private: std::unique_ptr m_xQueryBox; + public: FileChangedQueryBox(weld::Window* pParent, const std::locale& pResLocale); short run() { return m_xQueryBox->run(); } diff --git a/uui/source/lockcorrupt.hxx b/uui/source/lockcorrupt.hxx index 3d6a13f50658..146757f2708e 100644 --- a/uui/source/lockcorrupt.hxx +++ b/uui/source/lockcorrupt.hxx @@ -25,6 +25,7 @@ class LockCorruptQueryBox { private: std::unique_ptr m_xQueryBox; + public: LockCorruptQueryBox(weld::Window* pParent, const std::locale& rResLocale); short run() { return m_xQueryBox->run(); } diff --git a/uui/source/lockfailed.hxx b/uui/source/lockfailed.hxx index 62ac5f8528dc..d7c4c11f313c 100644 --- a/uui/source/lockfailed.hxx +++ b/uui/source/lockfailed.hxx @@ -25,6 +25,7 @@ class LockFailedQueryBox { private: std::unique_ptr m_xQueryBox; + public: LockFailedQueryBox(weld::Window* pParent, const std::locale& rResLocale); short run() { return m_xQueryBox->run(); } -- cgit