diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-06 18:06:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-06 18:07:35 +0100 |
commit | 5ce1d8775baec44bf60f05bf8c372f1d2ab74377 (patch) | |
tree | b4bda3d43548aeae3b7f28915aeb2fd74812b88f /vcl/source/window/dlgctrl.cxx | |
parent | c8e206fdaab7490fb6e62bc7ab475888236179c2 (diff) |
bSearch has constantly been true
...ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import"
Change-Id: I101d3c530c573f1831aacb5478b9e1ecc27e10ea
Diffstat (limited to 'vcl/source/window/dlgctrl.cxx')
-rw-r--r-- | vcl/source/window/dlgctrl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx index 7c025440f32d..dd26062c43df 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( '~' ); |