diff options
Diffstat (limited to 'unotools/source/config/configvaluecontainer.cxx')
-rw-r--r-- | unotools/source/config/configvaluecontainer.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx index 873dcfef85d7..312751089213 100644 --- a/unotools/source/config/configvaluecontainer.cxx +++ b/unotools/source/config/configvaluecontainer.cxx @@ -271,20 +271,14 @@ namespace utl ); } - void OConfigurationValueContainer::write() + void OConfigurationValueContainer::commit() { - // collect the current values in the exchange locations + // write the current values in the exchange locations std::for_each( m_pImpl->aAccessors.begin(), m_pImpl->aAccessors.end(), UpdateToConfig( m_pImpl->aConfigRoot, m_pImpl->rMutex ) ); - } - - void OConfigurationValueContainer::commit() - { - // write the current values in the exchange locations - write(); // commit the changes done m_pImpl->aConfigRoot.commit( ); |