summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/file/FDatabaseMetaData.cxx2
-rw-r--r--connectivity/source/sdbcx/VCollection.cxx2
-rw-r--r--connectivity/source/sdbcx/VTable.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/FDatabaseMetaData.cxx b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
index 5ab8b44e5b54..2d2b8f99f864 100644
--- a/connectivity/source/drivers/file/FDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
@@ -66,7 +66,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
const Any& /*catalog*/, const OUString& /*schemaPattern*/, const OUString& /*tableNamePattern*/,
const OUString& /*columnNamePattern*/ ) throw(SQLException, RuntimeException, std::exception)
{
- SAL_WARN( "connectivity.drivers","Should be overloaded!");
+ SAL_WARN("connectivity.drivers", "ODatabaseMetaData::getColumns() should be overridden!");
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eColumns );
}
diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx
index 622ccf15d889..cc886dfd3584 100644
--- a/connectivity/source/sdbcx/VCollection.cxx
+++ b/connectivity/source/sdbcx/VCollection.cxx
@@ -567,7 +567,7 @@ void OCollection::disposeElements()
Reference< XPropertySet > OCollection::createDescriptor()
{
- OSL_FAIL("Need to be overloaded when used!");
+ OSL_FAIL("createDescriptor() needs to be overridden when used!");
throw SQLException();
}
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx
index 23cfca9e3baf..dffe47b8b611 100644
--- a/connectivity/source/sdbcx/VTable.cxx
+++ b/connectivity/source/sdbcx/VTable.cxx
@@ -297,8 +297,8 @@ void SAL_CALL OTable::alterColumnByIndex( sal_Int32 /*index*/, const Reference<
OUString SAL_CALL OTable::getName() throw(::com::sun::star::uno::RuntimeException, std::exception)
{
// this is only correct for tables who haven't a schema or catalog name
- OSL_ENSURE(m_CatalogName.isEmpty(),"getName(): forgot to overload getName()!");
- OSL_ENSURE(m_SchemaName.isEmpty(),"getName(): forgot to overload getName()!");
+ OSL_ENSURE(m_CatalogName.isEmpty(),"getName(): forgot to override getName()!");
+ OSL_ENSURE(m_SchemaName.isEmpty(),"getName(): forgot to override getName()!");
return m_Name;
}