summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-20 12:48:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-20 15:39:38 +0200
commit283a9790bffa6536f4c26bd31d85f815bc64dd08 (patch)
treec65ac7fe50fbea809dd765c24edbb47b57adea2b /hwpfilter
parent18bdf78e156f3cd1e6ccbb3ae28e919583bac70c (diff)
loplugin:indentation check for indent inside block
look for places where the statements inside a block are not indented Change-Id: I0cbfa7e0b6fb194b2aff6fa7e070fb907d70ca2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123885 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/solver.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/hwpfilter/source/solver.cxx b/hwpfilter/source/solver.cxx
index 07889620f9c2..7e2788f7f626 100644
--- a/hwpfilter/source/solver.cxx
+++ b/hwpfilter/source/solver.cxx
@@ -119,11 +119,11 @@ bool mgcLinearSystemD::Solve (int n, std::unique_ptr<std::unique_ptr<double[]>[]
{
if ( j != icol )
{
- save = a[j][icol];
- a[j][icol] = 0;
- for (k = 0; k < n; k++)
- a[j][k] -= a[icol][k]*save;
- b[j] -= b[icol]*save;
+ save = a[j][icol];
+ a[j][icol] = 0;
+ for (k = 0; k < n; k++)
+ a[j][k] -= a[icol][k]*save;
+ b[j] -= b[icol]*save;
}
}
}