vcl/source/window/dlgctrl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 5ce1d8775baec44bf60f05bf8c372f1d2ab74377 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Feb 6 18:06:29 2014 +0100 bSearch has constantly been true ...ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import" Change-Id: I101d3c530c573f1831aacb5478b9e1ecc27e10ea diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx index 7c02544..dd26062 100644 --- a/vcl/source/window/dlgctrl.cxx +++ b/vcl/source/window/dlgctrl.cxx @@ -410,7 +410,6 @@ static Window* ImplFindAccelWindow( Window* pParent, sal_uInt16& rIndex, sal_Uni sal_Unicode cCompareChar; sal_uInt16 nStart = rIndex; sal_uInt16 i = rIndex; - int bSearch = sal_True; Window* pWindow; // 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 ); else pWindow = ImplGetChildWindow( pParent, nFormStart, i, sal_True ); - while( bSearch && pWindow ) + while( pWindow ) { const OUString aStr = pWindow->GetText(); sal_Int32 nPos = aStr.indexOf( '~' ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits