[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Mon Jul 17 15:19:33 UTC 2017
connectivity/source/drivers/ado/ADatabaseMetaData.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 626c8be3590193589dba42d8fa8ce1cce267461e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jul 17 17:18:48 2017 +0200
loplugin:oncevar: connectivity (clang-cl)
Change-Id: I479db3383252e803d84e1d1cfd613fa4f5a36145
diff --git a/connectivity/source/drivers/ado/ADatabaseMetaData.cxx b/connectivity/source/drivers/ado/ADatabaseMetaData.cxx
index 93376f97196c..e5f55eabd673 100644
--- a/connectivity/source/drivers/ado/ADatabaseMetaData.cxx
+++ b/connectivity/source/drivers/ado/ADatabaseMetaData.cxx
@@ -939,8 +939,7 @@ OUString SAL_CALL ODatabaseMetaData::getStringFunctions( )
OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions( )
{
- OUString aValue;
- return aValue;
+ return OUString();
}
OUString SAL_CALL ODatabaseMetaData::getSystemFunctions( )
@@ -951,8 +950,7 @@ OUString SAL_CALL ODatabaseMetaData::getSystemFunctions( )
OUString SAL_CALL ODatabaseMetaData::getNumericFunctions( )
{
- OUString aValue;
- return aValue;
+ return OUString();
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar( )
More information about the Libreoffice-commits
mailing list