summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign/RTableConnection.cxx
diff options
context:
space:
mode:
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;
}