diff options
Diffstat (limited to 'filter/source/config/cache')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index ed33a1e56ea9..34a464f3df4a 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -1324,14 +1324,11 @@ FilterCache::EItemFlushState FilterCache::impl_specifyFlushOperation(const css:: // !? ... such situation can occur, if an item was added and(!) removed before it was flushed :-) if (!bExistsInConfigLayer && !bExistsInMemory) eState = E_ITEM_UNCHANGED; - else - if (!bExistsInConfigLayer && bExistsInMemory) + else if (!bExistsInConfigLayer && bExistsInMemory) eState = E_ITEM_ADDED; - else - if (bExistsInConfigLayer && bExistsInMemory) + else if (bExistsInConfigLayer && bExistsInMemory) eState = E_ITEM_CHANGED; - else - if (bExistsInConfigLayer && !bExistsInMemory) + else if (bExistsInConfigLayer && !bExistsInMemory) eState = E_ITEM_REMOVED; return eState; |