diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-14 12:10:39 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-14 12:11:48 -0200 |
commit | dc04d67e94d9302278fc049d6617b62fe461ac66 (patch) | |
tree | 3dc4e0e5ee4406483cc1bc8c7bb690a1b2c6efe9 /svx/source/form/formcontrolling.cxx | |
parent | c447d9ba8c7d40670c59a9ec9d45f32a36c1efcd (diff) |
Fix for fdo43460 Part XXXVIII getLength() to isEmpty()
Part XXXVIII
Modules
svx
Diffstat (limited to 'svx/source/form/formcontrolling.cxx')
-rw-r--r-- | svx/source/form/formcontrolling.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx index cbe35b8d2543..35e87b547ce1 100644 --- a/svx/source/form/formcontrolling.cxx +++ b/svx/source/form/formcontrolling.cxx @@ -525,7 +525,7 @@ namespace svx bool bInsertOnlyForm( false ); OSL_VERIFY( xCursorProperties->getPropertyValue( FM_PROP_INSERTONLY ) >>= bInsertOnlyForm ); - bCanDo = bEscapeProcessing && ( sActiveCommand.getLength() > 0 ) && !bInsertOnlyForm; + bCanDo = bEscapeProcessing && !sActiveCommand.isEmpty() && !bInsertOnlyForm; } catch( const Exception& ) { |