bSearch has constantly been true
...ever since 8ab086b6cc
"initial import"
Change-Id: I101d3c530c573f1831aacb5478b9e1ecc27e10ea
This commit is contained in:
@@ -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
|
|||||||
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( '~' );
|
||||||
|
Reference in New Issue
Block a user