summaryrefslogtreecommitdiff
path: root/tools/qa
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-03-07 12:57:44 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-03-07 15:27:45 +0100
commitf31af3ed40fba2376eb19238d3e158e91b6d1b29 (patch)
tree3b12b19cde68c7925d4fbb118f1fe01f9fb7f69b /tools/qa
parent615c086d40eeea1b47022ecff1168feeaae5ac2d (diff)
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 <path-of-the-file> 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 <muhammet.kara@collabora.com>
Diffstat (limited to 'tools/qa')
-rw-r--r--tools/qa/cppunit/test_bigint.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qa/cppunit/test_bigint.cxx b/tools/qa/cppunit/test_bigint.cxx
index ef147961dbf4..ed3ab3cc3b63 100644
--- a/tools/qa/cppunit/test_bigint.cxx
+++ b/tools/qa/cppunit/test_bigint.cxx
@@ -24,7 +24,6 @@
namespace tools
{
-
class BigIntTest : public CppUnit::TestFixture
{
public:
@@ -80,7 +79,8 @@ void BigIntTest::testConstructionFromLongLong()
// positive number not fitting to long
{
- BigInt bi(static_cast<sal_Int64>(std::numeric_limits<long>::max()) + static_cast<sal_Int64>(1));
+ BigInt bi(static_cast<sal_Int64>(std::numeric_limits<long>::max())
+ + static_cast<sal_Int64>(1));
CPPUNIT_ASSERT(bi.IsSet());
CPPUNIT_ASSERT(!bi.IsZero());
CPPUNIT_ASSERT(!bi.IsNeg());
@@ -89,7 +89,8 @@ void BigIntTest::testConstructionFromLongLong()
// negative number not fitting to long
{
- BigInt bi(static_cast<sal_Int64>(std::numeric_limits<long>::min()) - static_cast<sal_Int64>(1));
+ BigInt bi(static_cast<sal_Int64>(std::numeric_limits<long>::min())
+ - static_cast<sal_Int64>(1));
CPPUNIT_ASSERT(bi.IsSet());
CPPUNIT_ASSERT(!bi.IsZero());
CPPUNIT_ASSERT(bi.IsNeg());
@@ -99,7 +100,6 @@ void BigIntTest::testConstructionFromLongLong()
}
CPPUNIT_TEST_SUITE_REGISTRATION(BigIntTest);
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */