Kaydet (Commit) 1def5359 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

svl: fix build

some more conversions from 7d1f4cde

Change-Id: I95e4fdf190e1f92501f3ec6ea09017e0c7bffe4f
üst 28db5d7f
...@@ -92,8 +92,8 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback( ...@@ -92,8 +92,8 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback(
{ {
if( hText1 ) if( hText1 )
{ {
sal_uInt16 n = 0; sal_Int32 n = 0;
while( STRING_NOTFOUND != n ) while( -1 != n )
{ {
rtl::OUString s( sTopics.GetToken( 0, '\t', n )); rtl::OUString s( sTopics.GetToken( 0, '\t', n ));
if( s == reinterpret_cast<const sal_Unicode*>(chTopicBuf) ) if( s == reinterpret_cast<const sal_Unicode*>(chTopicBuf) )
...@@ -120,8 +120,8 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback( ...@@ -120,8 +120,8 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback(
if ( !hText2 || (*pService->pName == hText2 ) ) if ( !hText2 || (*pService->pName == hText2 ) )
{ {
String sTopics( pService->Topics() ); String sTopics( pService->Topics() );
sal_uInt16 n = 0; sal_Int32 n = 0;
while( STRING_NOTFOUND != n ) while( -1 != n )
{ {
rtl::OUString s( sTopics.GetToken( 0, '\t', n )); rtl::OUString s( sTopics.GetToken( 0, '\t', n ));
s = comphelper::string::remove(s, '\n'); s = comphelper::string::remove(s, '\n');
......
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