diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/svdde/ddesvr.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx index f51d08b52406..0a15b70e6253 100644 --- a/svl/source/svdde/ddesvr.cxx +++ b/svl/source/svdde/ddesvr.cxx @@ -384,7 +384,7 @@ DdeTopic* DdeInternal::FindTopic( DdeService& rService, HSZ hTopic ) { std::vector<DdeTopic*>::iterator iter; std::vector<DdeTopic*> &rTopics = rService.aTopics; - bool bWeiter = false; + bool bContinue = false; DdeInstData* pInst = ImpGetInstData(); DBG_ASSERT(pInst,"SVDDE:No instance data"); @@ -396,17 +396,17 @@ DdeTopic* DdeInternal::FindTopic( DdeService& rService, HSZ hTopic ) return *iter; } - bWeiter = !bWeiter; - if( !bWeiter ) + bContinue = !bContinue; + if( !bContinue ) break; // dann befragen wir doch mal unsere Ableitung: TCHAR chBuf[250]; DdeQueryString(pInst->hDdeInstSvr,hTopic,chBuf,sizeof(chBuf)/sizeof(TCHAR),CP_WINUNICODE ); - bWeiter = rService.MakeTopic( reinterpret_cast<const sal_Unicode*>(chBuf) ); + bContinue = rService.MakeTopic( reinterpret_cast<const sal_Unicode*>(chBuf) ); // dann muessen wir noch mal suchen } - while( bWeiter ); + while( bContinue ); return 0; } @@ -419,7 +419,7 @@ DdeItem* DdeInternal::FindItem( DdeTopic& rTopic, HSZ hItem ) std::vector<DdeItem*> &rItems = rTopic.aItems; DdeInstData* pInst = ImpGetInstData(); DBG_ASSERT(pInst,"SVDDE:No instance data"); - bool bWeiter = false; + bool bContinue = false; do { // middle check loop @@ -429,17 +429,17 @@ DdeItem* DdeInternal::FindItem( DdeTopic& rTopic, HSZ hItem ) if ( *(*iter)->pName == hItem ) return *iter; } - bWeiter = !bWeiter; - if( !bWeiter ) + bContinue = !bContinue; + if( !bContinue ) break; // dann befragen wir doch mal unsere Ableitung: TCHAR chBuf[250]; DdeQueryString(pInst->hDdeInstSvr,hItem,chBuf,sizeof(chBuf)/sizeof(TCHAR),CP_WINUNICODE ); - bWeiter = rTopic.MakeItem( reinterpret_cast<const sal_Unicode*>(chBuf) ); + bContinue = rTopic.MakeItem( reinterpret_cast<const sal_Unicode*>(chBuf) ); // dann muessen wir noch mal suchen } - while( bWeiter ); + while( bContinue ); return 0; } |