diff options
Diffstat (limited to 'connectivity/source/sdbcx/VCatalog.cxx')
-rw-r--r-- | connectivity/source/sdbcx/VCatalog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/sdbcx/VCatalog.cxx b/connectivity/source/sdbcx/VCatalog.cxx index fe4e13ae87a2..ef3880f632ce 100644 --- a/connectivity/source/sdbcx/VCatalog.cxx +++ b/connectivity/source/sdbcx/VCatalog.cxx @@ -189,13 +189,13 @@ OUString OCatalog::buildName(const Reference< XRow >& _xRow) { OUString sCatalog = _xRow->getString(1); if ( _xRow->wasNull() ) - sCatalog = OUString(); + sCatalog.clear(); OUString sSchema = _xRow->getString(2); if ( _xRow->wasNull() ) - sSchema = OUString(); + sSchema.clear(); OUString sTable = _xRow->getString(3); if ( _xRow->wasNull() ) - sTable = OUString(); + sTable.clear(); OUString sComposedName( ::dbtools::composeTableName( m_xMetaData, sCatalog, sSchema, sTable, false, ::dbtools::eInDataManipulation ) ); |