From f649a16e740f55ee9413a556ebaa8b8774f8a42c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 18 Oct 2013 12:04:03 +0100 Subject: [PATCH] some GetTokens hidden in windows only code Change-Id: I45da175fe0f72996b26d66c29e0e6a1b4115b896 --- svl/source/svdde/ddesvr.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx index 0a15b70e6253..77c85a9673f2 100644 --- a/svl/source/svdde/ddesvr.cxx +++ b/svl/source/svdde/ddesvr.cxx @@ -82,15 +82,15 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback( pService = *aI; if ( !hText2 || ( *pService->pName == hText2 ) ) { - String sTopics( pService->Topics() ); - if( sTopics.Len() ) + OUString sTopics( pService->Topics() ); + if (!sTopics.isEmpty()) { if( hText1 ) { sal_Int32 n = 0; while( -1 != n ) { - OUString s( sTopics.GetToken( 0, '\t', n )); + OUString s( sTopics.getToken( 0, '\t', n )); if( s == reinterpret_cast(chTopicBuf) ) ++nTopics; } @@ -114,11 +114,11 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback( pService = *aI; if ( !hText2 || (*pService->pName == hText2 ) ) { - String sTopics( pService->Topics() ); + OUString sTopics( pService->Topics() ); sal_Int32 n = 0; while( -1 != n ) { - OUString s( sTopics.GetToken( 0, '\t', n )); + OUString s( sTopics.getToken( 0, '\t', n )); s = comphelper::string::remove(s, '\n'); s = comphelper::string::remove(s, '\r'); if( !hText1 || s == reinterpret_cast(chTopicBuf) )