diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:05:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:05:39 +0100 |
commit | 5906792ea5d4039a01cd563a8d32487a0189e680 (patch) | |
tree | 493d04466a8b47012a8273444945b4d4bd14de3d /filter/source/config | |
parent | c6a62b3694b8d779f9385c0e15d8f94d5067416d (diff) |
More loplugin:cstylecast: filter
Change-Id: I65244623321e409b48915abea3dee49abee47249
Diffstat (limited to 'filter/source/config')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 1a00245c2ce3..c551e8f43bb0 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -1362,7 +1362,7 @@ void FilterCache::impl_load(EFillState eRequiredState) } // update fill state. Note: it's a bit field, which combines different parts. - m_eFillState = (EFillState) (static_cast<sal_Int32>(m_eFillState) | static_cast<sal_Int32>(eRequiredState)); + m_eFillState = static_cast<EFillState>(static_cast<sal_Int32>(m_eFillState) | static_cast<sal_Int32>(eRequiredState)); // any data readed? // yes! => validate it and update optimized structures. @@ -1637,7 +1637,7 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container:: // int representation ... css::uno::Sequence< OUString > lFlagNames; if (aValues[i] >>= lFlagNames) - aItem[rPropName] <<= (sal_Int32) FilterCache::impl_convertFlagNames2FlagField(lFlagNames); + aItem[rPropName] <<= static_cast<sal_Int32>(FilterCache::impl_convertFlagNames2FlagField(lFlagNames)); } } } |