[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 27 09:26:16 UTC 2019
sc/source/filter/inc/xestream.hxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit b7b854ab05e814dffac7d10b565584bbf705af43
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Sep 27 08:57:04 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Sep 27 11:24:15 2019 +0200
cid#1453999 move coverity suppression
Change-Id: I539acc147193dcf2c8687a4f2e5d39c11f447782
Reviewed-on: https://gerrit.libreoffice.org/79669
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx
index 6b8152bc6b48..72239ef829a7 100644
--- a/sc/source/filter/inc/xestream.hxx
+++ b/sc/source/filter/inc/xestream.hxx
@@ -290,9 +290,11 @@ public:
void WriteAttributes(sal_Int32 nAttribute, Str&& value, Args&&... rest)
{
WriteAttribute(nAttribute, std::forward<Str>(value));
- // coverity[stray_semicolon : FALSE] - coverity parse error
if constexpr(sizeof...(rest) > 0)
+ {
+ // coverity[stray_semicolon : FALSE] - coverity parse error
WriteAttributes(std::forward<Args>(rest)...);
+ }
}
sax_fastparser::FSHelperPtr CreateOutputStream (
More information about the Libreoffice-commits
mailing list