summaryrefslogtreecommitdiff
path: root/svx/source/form/formcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/formcontroller.cxx')
-rw-r--r--svx/source/form/formcontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 9a0ee3ed3da0..7145abb1e60f 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -870,9 +870,9 @@ void FormController::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) cons
aRowFilter.append( sCriteria );
}
}
- if ( aRowFilter.getLength() > 0 )
+ if ( !aRowFilter.isEmpty() )
{
- if ( aFilter.getLength() )
+ if ( !aFilter.isEmpty() )
aFilter.appendAscii( " OR " );
aFilter.appendAscii( "( " );