diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-11 19:52:38 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-11 19:53:21 +0100 |
commit | 1def535928bc9f74bfe4c52e714c3a5f55a26a05 (patch) | |
tree | dd9cb5e96a4d19ab4ab68ac7a4f955eae6c8ae6f | |
parent | 28db5d7f27f029f03fbc2be42d0c52efdf3d764b (diff) |
svl: fix build
some more conversions from 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10
Change-Id: I95e4fdf190e1f92501f3ec6ea09017e0c7bffe4f
-rw-r--r-- | svl/source/svdde/ddesvr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx index 383e9d67e3fb..24817fce2b32 100644 --- a/svl/source/svdde/ddesvr.cxx +++ b/svl/source/svdde/ddesvr.cxx @@ -92,8 +92,8 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback( { if( hText1 ) { - sal_uInt16 n = 0; - while( STRING_NOTFOUND != n ) + sal_Int32 n = 0; + while( -1 != n ) { rtl::OUString s( sTopics.GetToken( 0, '\t', n )); if( s == reinterpret_cast<const sal_Unicode*>(chTopicBuf) ) @@ -120,8 +120,8 @@ HDDEDATA CALLBACK _export DdeInternal::SvrCallback( if ( !hText2 || (*pService->pName == hText2 ) ) { String sTopics( pService->Topics() ); - sal_uInt16 n = 0; - while( STRING_NOTFOUND != n ) + sal_Int32 n = 0; + while( -1 != n ) { rtl::OUString s( sTopics.GetToken( 0, '\t', n )); s = comphelper::string::remove(s, '\n'); |