Kaydet (Commit) 0db25d61 authored tarafından Ricardo Montania's avatar Ricardo Montania Kaydeden (comit) Michael Meeks

String::CreateFromAscii removal

Change-Id: I86a33ef14b2bcdea1655db410f36d799689a1377
Reviewed-on: https://gerrit.libreoffice.org/2402Reviewed-by: 's avatarMichael Meeks <michael.meeks@suse.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@suse.com>
üst 3252c5d4
......@@ -491,7 +491,7 @@ sal_uInt16 DemoApp::Exception( sal_uInt16 nError )
switch( nError & EXC_MAJORTYPE )
{
case EXC_RSCNOTLOADED:
Abort( String::CreateFromAscii( "Error: could not load language resources.\nPlease check your installation.\n" ) );
Abort( "Error: could not load language resources.\nPlease check your installation.\n" );
break;
}
return 0;
......
......@@ -166,7 +166,7 @@ void RulerDebugWindow::AddDebugText(const sal_Char* pDescription, const Stri
pParent = pParent->GetParent();
pDebugWindow = new RulerDebugWindow(pParent);
}
String sContent(String::CreateFromAscii(pDescription));
OUString sContent( OUString::createFromAscii(pDescription) );
sContent += rText;
sal_uInt16 nPos = pDebugWindow->GetLBox().InsertEntry(sContent);
pDebugWindow->GetLBox().SelectEntryPos(nPos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment