summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-07 13:22:48 +0200
committerNoel Grandin <noel@peralex.com>2013-08-12 11:56:48 +0200
commite4ebe80be51fb33545091aa4f0bbc0ea2fe674f0 (patch)
tree89cee71eecffb81c9f936c2371dbe1908d66a525 /vcl
parent9268759a26b48e005a56b3be6a31534d1ef4ee9d (diff)
fix an OUString conversion bug
that was introduced in commit 8905062428705cd9a321ec225ac32547712e3787 "Replace XubString with OUString (dbggui.cxx)" Change-Id: Ica3ce4209ac23950aa46017c324160abccf03017
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/dbggui.cxx2
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);