Kaydet (Commit) 6d3dd1ad authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:constantfunction

Change-Id: Ic95699c514b24886ab1ca6d2b625fe9bd033f4ea
üst 71853233
......@@ -355,7 +355,7 @@ void KabDriver::disposing()
OUString KabDriver::getImplementationName_Static( ) throw(RuntimeException)
{
return OUString::createFromAscii( impl_getAsciiImplementationName() );
return OUString("com.sun.star.comp.sdbc." KAB_SERVICE_NAME ".Driver");
}
Sequence< OUString > KabDriver::getSupportedServiceNames_Static( ) throw (RuntimeException)
......@@ -444,13 +444,6 @@ void SAL_CALL KabDriver::disposing( const EventObject& ) throw (RuntimeException
// not interested in (this is the disposing of the desktop, if any)
}
const sal_Char* KabDriver::impl_getAsciiImplementationName()
{
return "com.sun.star.comp.sdbc." KAB_SERVICE_NAME ".Driver";
// this name is referenced in the configuration and in the kab.xml
// Please be careful when changing it.
}
OUString KabDriver::impl_getConfigurationSettingsPath()
{
OUStringBuffer aPath;
......
......@@ -166,10 +166,6 @@ namespace connectivity
static OUString getImplementationName_Static( ) throw(::com::sun::star::uno::RuntimeException);
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static( ) throw (::com::sun::star::uno::RuntimeException);
/** returns the driver's implementation name (being pure ASCII) for reference in various places
*/
static const sal_Char* impl_getAsciiImplementationName();
/** returns the path of our configuration settings
*/
static OUString impl_getConfigurationSettingsPath();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment