summaryrefslogtreecommitdiff
path: root/filter/source/config/cache
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-25 17:52:23 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-25 17:59:40 +0100
commit4f4e4e40f5b79a4dba46ffedd11cafa7beb08a87 (patch)
treec158b93b176b084eac024c0e3b5e94e18911f50f /filter/source/config/cache
parente39c551c6133d0ff2b7074f64ea66563ebcce14b (diff)
loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
Diffstat (limited to 'filter/source/config/cache')
-rw-r--r--filter/source/config/cache/filtercache.cxx9
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;