Kaydet (Commit) 5ce1d877 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bSearch has constantly been true

...ever since 8ab086b6 "initial import"

Change-Id: I101d3c530c573f1831aacb5478b9e1ecc27e10ea
üst c8e206fd
...@@ -410,7 +410,6 @@ static Window* ImplFindAccelWindow( Window* pParent, sal_uInt16& rIndex, sal_Uni ...@@ -410,7 +410,6 @@ static Window* ImplFindAccelWindow( Window* pParent, sal_uInt16& rIndex, sal_Uni
sal_Unicode cCompareChar; sal_Unicode cCompareChar;
sal_uInt16 nStart = rIndex; sal_uInt16 nStart = rIndex;
sal_uInt16 i = rIndex; sal_uInt16 i = rIndex;
int bSearch = sal_True;
Window* pWindow; Window* pWindow;
// MT: Where can we keep the CharClass?! // MT: Where can we keep the CharClass?!
...@@ -425,7 +424,7 @@ static Window* ImplFindAccelWindow( Window* pParent, sal_uInt16& rIndex, sal_Uni ...@@ -425,7 +424,7 @@ static Window* ImplFindAccelWindow( Window* pParent, sal_uInt16& rIndex, sal_Uni
pWindow = ImplGetNextWindow( pParent, i, i, sal_True ); pWindow = ImplGetNextWindow( pParent, i, i, sal_True );
else else
pWindow = ImplGetChildWindow( pParent, nFormStart, i, sal_True ); pWindow = ImplGetChildWindow( pParent, nFormStart, i, sal_True );
while( bSearch && pWindow ) while( pWindow )
{ {
const OUString aStr = pWindow->GetText(); const OUString aStr = pWindow->GetText();
sal_Int32 nPos = aStr.indexOf( '~' ); sal_Int32 nPos = aStr.indexOf( '~' );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment