diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-28 12:18:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-28 13:53:36 +0100 |
commit | ba23ece286671f8f9b5baf245239996e1e1fabdb (patch) | |
tree | 7314f9c83e9c92a72563856459c4a217fc42227e /basic/source/sbx | |
parent | 2ee701afd333ef01bc5d4f62543aaf0f5ac5ed3c (diff) |
probably the last uses of the one argument String::CreateFromAscii variant
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
Diffstat (limited to 'basic/source/sbx')
-rw-r--r-- | basic/source/sbx/sbxform.cxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx index 09617744d696..abcb2ec3e166 100644 --- a/basic/source/sbx/sbxform.cxx +++ b/basic/source/sbx/sbxform.cxx @@ -972,7 +972,7 @@ String SbxBasicFormater::BasicFormat( double dNumber, String sFormatStrg ) { if( sNegFormatStrg.Len() == 0 && bPosFormatFound ) { - sTempStrg = String::CreateFromAscii("-"); + sTempStrg = rtl::OUString("-"); sTempStrg += sPosFormatStrg; } else diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index 96d9bc40a019..61092c5f3414 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -387,7 +387,7 @@ void SbxVariable::SetParent( SbxObject* p ) } if ( !bFound ) { - String aMsg = String::CreateFromAscii( "dangling: [" ); + String aMsg = rtl::OUString("dangling: ["); aMsg += GetName(); aMsg.AppendAscii( "].SetParent([" ); aMsg += p->GetName(); |