summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-27 08:57:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-27 11:24:15 +0200
commitb7b854ab05e814dffac7d10b565584bbf705af43 (patch)
treebd20763d88e7ed34684a7f06b0955e94a7501d7d /sc
parentb5ea727818114d4e0e51d5a52ffa254a375afab8 (diff)
cid#1453999 move coverity suppression
Change-Id: I539acc147193dcf2c8687a4f2e5d39c11f447782 Reviewed-on: https://gerrit.libreoffice.org/79669 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/inc/xestream.hxx4
1 files changed, 3 insertions, 1 deletions
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 (