summaryrefslogtreecommitdiffstats
path: root/soltools/cpp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:55:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-10 11:18:35 +0100
commitf68f3b98cc47868cda3a75298a211c5735c0a4e7 (patch)
tree13eed7d0b65c9e2c39f5274eed61c32d8976ae58 /soltools/cpp
parenttdf#39593 use existing find() to reduce copypaste (diff)
downloadcore-f68f3b98cc47868cda3a75298a211c5735c0a4e7.tar.gz
core-f68f3b98cc47868cda3a75298a211c5735c0a4e7.zip
loplugin:indentation in soltools..svl
Change-Id: I270a12cdb68920b8fa23b82dd933724e30334485 Reviewed-on: https://gerrit.libreoffice.org/67565 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'soltools/cpp')
-rw-r--r--soltools/cpp/_include.c2
-rw-r--r--soltools/cpp/_tokens.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/soltools/cpp/_include.c b/soltools/cpp/_include.c
index c9f20537f5eb..57ca137cb2cd 100644
--- a/soltools/cpp/_include.c
+++ b/soltools/cpp/_include.c
@@ -117,7 +117,7 @@ void
error(FATAL, "#%s too deeply nested", import ? "import" : "include");
if (Xflag)
genimport(fname, angled, iname, import);
- if (Iflag)
+ if (Iflag)
error(INFO, "Open %s file [%s]", import ? "import" : "include", iname );
for (i = NINCLUDE - 1; i >= 0; i--)
diff --git a/soltools/cpp/_tokens.c b/soltools/cpp/_tokens.c
index 6842de38301f..cb0beecf991d 100644
--- a/soltools/cpp/_tokens.c
+++ b/soltools/cpp/_tokens.c
@@ -429,11 +429,11 @@ void
int nlen = (int)(ntp->len + ntp->wslen);
memcpy(wbp, "if(", 3 );
- wbp += 4;
+ wbp += 4;
memcpy(wbp, np, nlen );
- wbp += nlen;
+ wbp += nlen;
memcpy(wbp, ")", 1 );
- wbp++;
+ wbp++;
memcpy(wbp, p, len);
}