From 7b99cdb2d77a3feaf9b782c1e656f2d922e2746e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 Nov 2019 15:20:22 +0200 Subject: loplugin:indentation find broken if statements so I don't read the "then" block as being a sequential statements Change-Id: Ib2004acd3518bd4ebd2246f02a26c2c0a8bbab4c Reviewed-on: https://gerrit.libreoffice.org/82069 Tested-by: Jenkins Reviewed-by: Noel Grandin --- hwpfilter/source/mzstring.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hwpfilter/source') diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h index 0ed917204d2a..0726d5bb55e0 100644 --- a/hwpfilter/source/mzstring.h +++ b/hwpfilter/source/mzstring.h @@ -152,8 +152,9 @@ inline const char* MzString::c_str() const { Data[Length] = '\0'; // We always leave room for this. return Data; - } else - return ""; + } + else + return ""; } -- cgit