diff options
-rw-r--r-- | vcl/source/app/dbggui.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index ec295aa69256..cd05596d1e00 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -1343,7 +1343,7 @@ void DbgDialogTest( Window* pWindow ) if ( pChild->IsVisible() ) { int aWidth=0; - if( nAccelPos != STRING_NOTFOUND ) + if( nAccelPos != -1 ) { aWidth = pChild->GetTextWidth( aText, 0, nAccelPos ) + pChild->GetTextWidth( aText, nAccelPos+1, aText.getLength() - nAccelPos - 1); |