summaryrefslogtreecommitdiff
path: root/svx/source/form/formcontrolling.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/formcontrolling.cxx')
-rw-r--r--svx/source/form/formcontrolling.cxx2
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& )
{