summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign/RTableConnection.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-27 12:04:57 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 10:08:44 +0200
commitb47e4dbc08b782824000f4be477c5d7fa62f51e7 (patch)
tree224fb61bcc16143ba5343445fe789673eef50dee /dbaccess/source/ui/relationdesign/RTableConnection.cxx
parent4068562f5d46a7f743d04386647920c0b7094f24 (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/RTableConnection.cxx')
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnection.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/relationdesign/RTableConnection.cxx b/dbaccess/source/ui/relationdesign/RTableConnection.cxx
index eabdf23c9c79..a9d4bc3f1fbe 100644
--- a/dbaccess/source/ui/relationdesign/RTableConnection.cxx
+++ b/dbaccess/source/ui/relationdesign/RTableConnection.cxx
@@ -94,24 +94,24 @@ void ORelationTableConnection::Draw( const Rectangle& rRect )
Rectangle aSourcePos = pTopLine->GetSourceTextPos();
Rectangle aDestPos = pTopLine->GetDestTextPos();
- String aSourceText;
- String aDestText;
+ OUString aSourceText;
+ OUString aDestText;
switch( pData->GetCardinality() )
{
case CARDINAL_ONE_MANY:
- aSourceText ='1';
- aDestText ='n';
+ aSourceText = "1";
+ aDestText = "n";
break;
case CARDINAL_MANY_ONE:
- aSourceText ='n';
- aDestText ='1';
+ aSourceText = "n";
+ aDestText = "1";
break;
case CARDINAL_ONE_ONE:
- aSourceText ='1';
- aDestText ='1';
+ aSourceText = "1";
+ aDestText = "1";
break;
}