diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-05 17:57:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-05 17:57:18 +0200 |
commit | cb2550750386f51ef7a46a8a664a4ab9de614f8d (patch) | |
tree | aabfee7b4e12074f4ed6f80e8f2f5101d284385e /unotools | |
parent | e808bbe1ce51465e6f3e9dc4fec2ecd263fe0e4b (diff) |
Drop lazywrite property, which is silently ignored by configmgr anyway
...at least ever since the "new" configmgr reimplementation,
6b849a6aeeb9ea8b1e25e28d5a8be390e425f84e "#i101955# initial work in progress of
a configmgr reimplementation (for now in an extra module 'configmgr2')" et al
Change-Id: I43430d991647fb2e26762463d51175247db0604b
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/confignode.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx index f90a94d6dbf6..42ee97c7707b 100644 --- a/unotools/source/config/confignode.cxx +++ b/unotools/source/config/confignode.cxx @@ -474,14 +474,13 @@ namespace utl } Reference< XInterface > lcl_createConfigurationRoot( const Reference< XMultiServiceFactory >& i_rxConfigProvider, - const OUString& i_rNodePath, const bool i_bUpdatable, const sal_Int32 i_nDepth, const bool i_bLazyWrite ) + const OUString& i_rNodePath, const bool i_bUpdatable, const sal_Int32 i_nDepth ) { ENSURE_OR_RETURN( i_rxConfigProvider.is(), "invalid provider", nullptr ); try { ::comphelper::NamedValueCollection aArgs; aArgs.put( "nodepath", i_rNodePath ); - aArgs.put( "lazywrite", i_bLazyWrite ); aArgs.put( "depth", i_nDepth ); OUString sAccessService( i_bUpdatable ? @@ -510,7 +509,7 @@ namespace utl OConfigurationTreeRoot::OConfigurationTreeRoot( const Reference<XComponentContext> & i_rContext, const OUString& i_rNodePath, const bool i_bUpdatable ) :OConfigurationNode( lcl_createConfigurationRoot( lcl_getConfigProvider( i_rContext ), - i_rNodePath, i_bUpdatable, -1, false ).get() ) + i_rNodePath, i_bUpdatable, -1 ).get() ) ,m_xCommitter() { if ( i_bUpdatable ) @@ -547,18 +546,18 @@ namespace utl return false; } - OConfigurationTreeRoot OConfigurationTreeRoot::createWithProvider(const Reference< XMultiServiceFactory >& _rxConfProvider, const OUString& _rPath, sal_Int32 _nDepth, CREATION_MODE _eMode, bool _bLazyWrite) + OConfigurationTreeRoot OConfigurationTreeRoot::createWithProvider(const Reference< XMultiServiceFactory >& _rxConfProvider, const OUString& _rPath, sal_Int32 _nDepth, CREATION_MODE _eMode) { Reference< XInterface > xRoot( lcl_createConfigurationRoot( - _rxConfProvider, _rPath, _eMode != CM_READONLY, _nDepth, _bLazyWrite ) ); + _rxConfProvider, _rPath, _eMode != CM_READONLY, _nDepth ) ); if ( xRoot.is() ) return OConfigurationTreeRoot( xRoot ); return OConfigurationTreeRoot(); } - OConfigurationTreeRoot OConfigurationTreeRoot::createWithComponentContext( const Reference< XComponentContext >& _rxContext, const OUString& _rPath, sal_Int32 _nDepth, CREATION_MODE _eMode, bool _bLazyWrite ) + OConfigurationTreeRoot OConfigurationTreeRoot::createWithComponentContext( const Reference< XComponentContext >& _rxContext, const OUString& _rPath, sal_Int32 _nDepth, CREATION_MODE _eMode ) { - return createWithProvider( lcl_getConfigProvider( _rxContext ), _rPath, _nDepth, _eMode, _bLazyWrite ); + return createWithProvider( lcl_getConfigProvider( _rxContext ), _rPath, _nDepth, _eMode ); } OConfigurationTreeRoot OConfigurationTreeRoot::tryCreateWithComponentContext( const Reference< XComponentContext >& rxContext, |