diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-21 08:37:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-21 11:43:22 +0200 |
commit | 7e4358a0ca2ae798e28b2713248ec77d50fdbdbc (patch) | |
tree | 5407520d5ff16ca7aac600fd5568c2bfb5520f5e /connectivity | |
parent | 5e6ea97a59ce2464042b2a7a9244dd30ffb2c1c0 (diff) |
loplugin:bufferadd (macOS)
Change-Id: I97822e6843d6adef1af2435e186ac93d016e5322
Reviewed-on: https://gerrit.libreoffice.org/81202
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/macab/MacabDriver.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx index 8b07ebab093c..bebef5591d11 100644 --- a/connectivity/source/drivers/macab/MacabDriver.cxx +++ b/connectivity/source/drivers/macab/MacabDriver.cxx @@ -24,7 +24,6 @@ #include <com/sun/star/sdb/SQLContext.hpp> #include <com/sun/star/lang/NullPointerException.hpp> #include <com/sun/star/frame/Desktop.hpp> -#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <strings.hrc> @@ -312,10 +311,7 @@ void SAL_CALL MacabDriver::disposing( const EventObject& ) OUString MacabDriver::impl_getConfigurationSettingsPath() { - OUStringBuffer aPath; - aPath.append( "/org.openoffice.Office.DataAccess/DriverSettings/" ); - aPath.append( "com.sun.star.comp.sdbc.macab.Driver" ); - return aPath.makeStringAndClear(); + return "/org.openoffice.Office.DataAccess/DriverSettings/com.sun.star.comp.sdbc.macab.Driver"; } Reference< XInterface > MacabDriver::Create( const Reference< XMultiServiceFactory >& _rxFactory ) |