diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-27 12:04:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-01 10:08:44 +0200 |
commit | b47e4dbc08b782824000f4be477c5d7fa62f51e7 (patch) | |
tree | 224fb61bcc16143ba5343445fe789673eef50dee /dbaccess/source/ui/relationdesign/RTableConnectionData.cxx | |
parent | 4068562f5d46a7f743d04386647920c0b7094f24 (diff) |
convert more of dbaccess from String to OUString
seemed to have missed this the first time around
Change-Id: I8b7b78c95c576b178e3e181c7589da81e5189ee3
Diffstat (limited to 'dbaccess/source/ui/relationdesign/RTableConnectionData.cxx')
-rw-r--r-- | dbaccess/source/ui/relationdesign/RTableConnectionData.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx index 354fd56f5bc6..709500697923 100644 --- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx +++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx @@ -97,7 +97,7 @@ sal_Bool ORelationTableConnectionData::DropRelation() { OUString sName; xKey->getPropertyValue(PROPERTY_NAME) >>= sName; - if(String(sName) == m_aConnName) + if(sName == m_aConnName) { Reference< XDrop> xDrop(xKeys,UNO_QUERY); OSL_ENSURE(xDrop.is(),"can't drop key because we haven't a drop interface!"); @@ -392,7 +392,7 @@ xKey.clear(); if ( bDropRelation ) { DropRelation(); - String sError(ModuleRes(STR_QUERY_REL_COULD_NOT_CREATE)); + OUString sError(ModuleRes(STR_QUERY_REL_COULD_NOT_CREATE)); ::dbtools::throwGenericSQLException(sError,NULL); } |