summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-26 12:17:53 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 10:08:43 +0200
commitd11ed5a57e23fcc8d59ec40e7f52c7f54f7241a4 (patch)
tree1cac73d4879d1349a7c849aad892fa14560c03ca /dbaccess/source/ui/relationdesign
parent5a9e9c8a22586a9309b53cc49f063115d31f5b38 (diff)
convert dbaccess module from String to OUString
Change-Id: I110c925f8d955dfd841cdd1092c13df4d8205393
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnectionData.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
index ed16d84860a2..354fd56f5bc6 100644
--- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
+++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
@@ -64,7 +64,7 @@ ORelationTableConnectionData::ORelationTableConnectionData( const TTableWindowDa
DBG_CTOR(ORelationTableConnectionData,NULL);
m_aConnName = rConnName;
- if ( m_aConnName.Len() )
+ if ( !m_aConnName.isEmpty() )
SetCardinality();
}
@@ -86,7 +86,7 @@ sal_Bool ORelationTableConnectionData::DropRelation()
::osl::MutexGuard aGuard( m_aMutex );
// Relation loeschen
Reference< XIndexAccess> xKeys = getReferencingTable()->getKeys();
- if( m_aConnName.Len() && xKeys.is() )
+ if( !m_aConnName.isEmpty() && xKeys.is() )
{
const sal_Int32 nCount = xKeys->getCount();
for(sal_Int32 i = 0;i < nCount;++i)