summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-18 12:04:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-18 12:04:03 +0100
commitf649a16e740f55ee9413a556ebaa8b8774f8a42c (patch)
tree544a60460e23f47c37887aa7497ab3704216b571 /svl
parent9c1170b25a9fab13084d2677aa4fc986db5ab675 (diff)
some GetTokens hidden in windows only code
Change-Id: I45da175fe0f72996b26d66c29e0e6a1b4115b896
Diffstat (limited to 'svl')
-rw-r--r--svl/source/svdde/ddesvr.cxx10
1 files 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<const sal_Unicode*>(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<const sal_Unicode*>(chTopicBuf) )