Kaydet (Commit) 8d4b87b7 authored tarafından Caolán McNamara's avatar Caolán McNamara

use preferred tokenizer

üst d1fb13ad
......@@ -220,15 +220,16 @@ void BreakpointWindow::LoadBreakpoints( String aFilename )
aConfig.SetGroup("Breakpoints");
ByteString aBreakpoints;
aBreakpoints = aConfig.ReadKey( ByteString( aFilename, RTL_TEXTENCODING_UTF8 ) );
rtl::OString aBreakpoints =
aConfig.ReadKey(rtl::OUStringToOString(aFilename, RTL_TEXTENCODING_UTF8));
xub_StrLen i;
for ( i = 0 ; i < aBreakpoints.GetTokenCount( ';' ) ; i++ )
sal_Int32 nIndex = 0;
do
{
InsertBreakpoint( (sal_uInt16)aBreakpoints.GetToken( i, ';' ).ToInt32() );
rtl::OString aBreakpoint = aBreakpoints.getToken(0, ';', nIndex);
InsertBreakpoint(static_cast<sal_uInt16>(aBreakpoint.toInt32()));
}
while ( nIndex >= 0 );
}
......
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