diff options
Diffstat (limited to 'connectivity/source/drivers/hsqldb/HDriver.cxx')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HDriver.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx index 1a03f16707d3..de76ecbba29d 100644 --- a/connectivity/source/drivers/hsqldb/HDriver.cxx +++ b/connectivity/source/drivers/hsqldb/HDriver.cxx @@ -142,12 +142,12 @@ namespace connectivity { OUString lcl_getPermittedJavaMethods_nothrow( const Reference< XComponentContext >& _rxContext ) { - OUStringBuffer aConfigPath; - aConfigPath.append( "/org.openoffice.Office.DataAccess/DriverSettings/" ); - aConfigPath.append ( ODriverDelegator::getImplementationName_Static() ); - aConfigPath.append( "/PermittedJavaMethods" ); + OUString aConfigPath = + "/org.openoffice.Office.DataAccess/DriverSettings/" + + ODriverDelegator::getImplementationName_Static() + + "/PermittedJavaMethods"; ::utl::OConfigurationTreeRoot aConfig( ::utl::OConfigurationTreeRoot::createWithComponentContext( - _rxContext, aConfigPath.makeStringAndClear() ) ); + _rxContext, aConfigPath ) ); OUStringBuffer aPermittedMethods; const Sequence< OUString > aNodeNames( aConfig.getNodeNames() ); |