diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-08-16 23:55:45 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-08-17 00:04:10 +0900 |
commit | 13021dae515db60405a255aab388318e54df99a6 (patch) | |
tree | 21d26c15545cc20fb8a6f046fcbf784a5941d28b /filter | |
parent | dca2588b6430e084eb708cfe69d36c3d46a5411e (diff) |
cppcheck: reduced scope of variable
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index b3f5c91ab00c..37983d349883 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -2018,10 +2018,10 @@ void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XName // to a list of names ... // But note: because we work directly on a reference to the cache item, // its not allowd to change the value here. We must work on a copy! - sal_Int32 nFlags = 0; pIt = aItem.find(PROPNAME_FLAGS); if (pIt != aItem.end()) { + sal_Int32 nFlags = 0; pIt->second >>= nFlags; css::uno::Any aFlagNameList; aFlagNameList <<= FilterCache::impl_convertFlagField2FlagNames(nFlags); |