diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-15 09:37:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-15 20:21:42 +0000 |
commit | d4b403c37fc46592c5d768127f440ba4e170504b (patch) | |
tree | a227f619a3fe7ca43eec68a2b009946bda846e36 | |
parent | a7f3a0ee29eb5800c7162aa27e1d6aad26cf4730 (diff) |
coverity#1348471 related Unitialized scalar field
add mnParentFontSize to same places that use mnFontSize
Change-Id: I4cf1e7439361b65de0f12028b819a4d7c8124ca2
-rw-r--r-- | filter/source/svg/gfxtypes.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/source/svg/gfxtypes.hxx b/filter/source/svg/gfxtypes.hxx index 6de5e9eb1905..ff091892ab3e 100644 --- a/filter/source/svg/gfxtypes.hxx +++ b/filter/source/svg/gfxtypes.hxx @@ -244,6 +244,7 @@ inline bool operator==(const State& rLHS, const State& rRHS ) rLHS.mbIsText==rRHS.mbIsText && rLHS.maFontFamily==rRHS.maFontFamily && rLHS.mnFontSize==rRHS.mnFontSize && + rLHS.mnParentFontSize==rRHS.mnParentFontSize && rLHS.maFontStyle==rRHS.maFontStyle && rLHS.maFontVariant==rRHS.maFontVariant && rLHS.mnFontWeight==rRHS.mnFontWeight && @@ -297,6 +298,7 @@ namespace std ^ size_t(rState.mbIsText) ^ size_t(rState.maFontFamily.hashCode()) ^ std::hash<double>()(rState.mnFontSize) + ^ std::hash<double>()(rState.mnParentFontSize) ^ size_t(rState.maFontStyle.hashCode()) ^ size_t(rState.maFontVariant.hashCode()) ^ std::hash<double>()(rState.mnFontWeight) |