diff options
author | Mathias Bauer <mba@openoffice.org> | 2009-11-17 14:58:44 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2009-11-17 14:58:44 +0100 |
commit | de0938bc20ede6f83742edd65252287087eb9fef (patch) | |
tree | 4528e854d7fe5e477f0e786fb9bebcca0ab04114 /registry/source/registry.cxx | |
parent | e7b782233f0d04b494aab32be9907d802f13ef08 (diff) |
performance bug in build system caused by too many flushed
Diffstat (limited to 'registry/source/registry.cxx')
-rw-r--r-- | registry/source/registry.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx index cb145b3910c2..139646f7cdc7 100644 --- a/registry/source/registry.cxx +++ b/registry/source/registry.cxx @@ -430,6 +430,8 @@ static RegError REGISTRY_CALLTYPE mergeKey(RegHandle hReg, */ _ret = pKey->closeKey(pNewKey); + if (_ret == REG_NO_ERROR ) + _ret = pReg->flush(); return _ret; } |