[Libreoffice-commits] core.git: svl/source

Thomas Arnhold thomas at arnhold.org
Mon Mar 11 11:54:12 PDT 2013


 svl/source/svdde/ddesvr.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1def535928bc9f74bfe4c52e714c3a5f55a26a05
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Mon Mar 11 19:52:38 2013 +0100

    svl: fix build
    
    some more conversions from 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10
    
    Change-Id: I95e4fdf190e1f92501f3ec6ea09017e0c7bffe4f

diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index 383e9d6..24817fc 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');


More information about the Libreoffice-commits mailing list