summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 10:44:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-31 11:19:11 +0100
commit2a88ab6642dd7d42eff651a0ac9d9d9428a7fc00 (patch)
treea7b3c868a2c328cc8296ed35ebb1183ef3f45dac /sw
parentef4623bb58ef3b24f448dc7d1acd4d53c9c2a5e2 (diff)
coverity#1194889 Unchecked return value
Change-Id: Ibbca3f2e06cd3eb34dc5477c5dfe4261f4cc4a9a
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/attr/format.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx
index 2c5c01aee301..ded0649d46a1 100644
--- a/sw/source/core/attr/format.cxx
+++ b/sw/source/core/attr/format.cxx
@@ -111,7 +111,7 @@ SwFmt &SwFmt::operator=(const SwFmt& rFmt)
SwAttrSet aOld( *aSet.GetPool(), aSet.GetRanges() ),
aNew( *aSet.GetPool(), aSet.GetRanges() );
aSet.Intersect_BC( rFmt.aSet, &aOld, &aNew );
- aSet.Put_BC( rFmt.aSet, &aOld, &aNew );
+ (void)aSet.Put_BC( rFmt.aSet, &aOld, &aNew );
// a few special treatments for attributes
aSet.SetModifyAtAttr( this );