summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/macab
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-25 09:17:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-25 09:18:04 +0100
commit1b37292b9721c3f76bbe4f6d1c7df119768d78ae (patch)
tree7189da8dae14d6a0e501c366e015f079924bd50a /connectivity/source/drivers/macab
parentc2ca1152f19702fbbefecbe5331fad06950f35a2 (diff)
loplugin:constantfunction
Change-Id: Idc231c76175d93a11846d9e3552f3b6eef75b41a
Diffstat (limited to 'connectivity/source/drivers/macab')
-rw-r--r--connectivity/source/drivers/macab/MacabDriver.cxx9
-rw-r--r--connectivity/source/drivers/macab/MacabDriver.hxx4
2 files changed, 1 insertions, 12 deletions
diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx
index 1c2881a2bac4..290e3e46ae33 100644
--- a/connectivity/source/drivers/macab/MacabDriver.cxx
+++ b/connectivity/source/drivers/macab/MacabDriver.cxx
@@ -211,7 +211,7 @@ void MacabDriver::disposing()
OUString MacabDriver::getImplementationName_Static( ) throw(RuntimeException)
{
- return OUString::createFromAscii( impl_getAsciiImplementationName() );
+ return OUString("com.sun.star.comp.sdbc.macab.Driver");
}
Sequence< OUString > MacabDriver::getSupportedServiceNames_Static( ) throw (RuntimeException)
@@ -305,13 +305,6 @@ void SAL_CALL MacabDriver::disposing( const EventObject& ) throw (RuntimeExcepti
// not interested in (this is the disposing of the desktop, if any)
}
-const sal_Char* MacabDriver::impl_getAsciiImplementationName()
-{
- return "com.sun.star.comp.sdbc.macab.Driver";
- // this name is referenced in the configuration and in the macab.xml
- // Please be careful when changing it.
-}
-
OUString MacabDriver::impl_getConfigurationSettingsPath()
{
OUStringBuffer aPath;
diff --git a/connectivity/source/drivers/macab/MacabDriver.hxx b/connectivity/source/drivers/macab/MacabDriver.hxx
index bbec3e4dd33c..b783d3082b44 100644
--- a/connectivity/source/drivers/macab/MacabDriver.hxx
+++ b/connectivity/source/drivers/macab/MacabDriver.hxx
@@ -136,10 +136,6 @@ namespace connectivity
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
getComponentContext() const { return m_xContext; }
- /** 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();