summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 13:32:38 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 14:10:11 +0100
commitf99e765cb303e37e6b6c983d3ee040fa36c1e52c (patch)
treeaf3ade308690cb3c48831d26edff529de35dc10f /dbaccess
parent28b56c52f273a2a3471aa3ab17414648a6eb812d (diff)
clang-format c*,d*,e* 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: I06087a1385ca9da6a28d36ea4c0d2e40bdbf8f03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88774 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/qa/unit/dbaccess-dialogs-test.cxx4
-rw-r--r--dbaccess/source/filter/xml/xmlservices.hxx1
-rw-r--r--dbaccess/source/ui/control/undosqledit.cxx2
-rw-r--r--dbaccess/source/ui/dlg/adodatalinks.hxx2
-rw-r--r--dbaccess/source/ui/inc/uiservices.hxx1
5 files changed, 3 insertions, 7 deletions
diff --git a/dbaccess/qa/unit/dbaccess-dialogs-test.cxx b/dbaccess/qa/unit/dbaccess-dialogs-test.cxx
index e5a463b9ab78..e1156b0edf4d 100644
--- a/dbaccess/qa/unit/dbaccess-dialogs-test.cxx
+++ b/dbaccess/qa/unit/dbaccess-dialogs-test.cxx
@@ -39,9 +39,7 @@ public:
CPPUNIT_TEST_SUITE_END();
};
-DbaccessDialogsTest::DbaccessDialogsTest()
-{
-}
+DbaccessDialogsTest::DbaccessDialogsTest() {}
void DbaccessDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
{
diff --git a/dbaccess/source/filter/xml/xmlservices.hxx b/dbaccess/source/filter/xml/xmlservices.hxx
index 66c8aa53cc74..429ac4c20224 100644
--- a/dbaccess/source/filter/xml/xmlservices.hxx
+++ b/dbaccess/source/filter/xml/xmlservices.hxx
@@ -32,7 +32,6 @@ void createRegistryInfo_ODBFilter();
void createRegistryInfo_ODBFilterExport();
void createRegistryInfo_OFullExport();
void createRegistryInfo_OSettingsExport();
-
}
#endif
diff --git a/dbaccess/source/ui/control/undosqledit.cxx b/dbaccess/source/ui/control/undosqledit.cxx
index c44fb78d8c4d..d32774292a98 100644
--- a/dbaccess/source/ui/control/undosqledit.cxx
+++ b/dbaccess/source/ui/control/undosqledit.cxx
@@ -26,7 +26,7 @@ void OSqlEditUndoAct::ToggleText()
{
OUString strNext = m_pOwner->GetText();
m_pOwner->SetText(m_strNextText);
- m_strNextText =strNext;
+ m_strNextText = strNext;
}
} // namespace
diff --git a/dbaccess/source/ui/dlg/adodatalinks.hxx b/dbaccess/source/ui/dlg/adodatalinks.hxx
index f7eed5e85b9b..9df39fe61c44 100644
--- a/dbaccess/source/ui/dlg/adodatalinks.hxx
+++ b/dbaccess/source/ui/dlg/adodatalinks.hxx
@@ -23,6 +23,6 @@
#include <osl/module.h>
#include <commontypes.hxx>
-OUString getAdoDatalink(long hWnd,OUString const & oldLink);
+OUString getAdoDatalink(long hWnd, OUString const& oldLink);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/ui/inc/uiservices.hxx b/dbaccess/source/ui/inc/uiservices.hxx
index 3bc1d53bf218..8718f05a838a 100644
--- a/dbaccess/source/ui/inc/uiservices.hxx
+++ b/dbaccess/source/ui/inc/uiservices.hxx
@@ -50,7 +50,6 @@ void createRegistryInfo_OTextConnectionSettingsDialog();
void createRegistryInfo_OUserSettingsDialog();
void createRegistryInfo_OViewControl();
void createRegistryInfo_SbaXGridControl();
-
}
#endif