diff options
Diffstat (limited to 'extensions/source/dbpilots/controlwizard.cxx')
-rw-r--r-- | extensions/source/dbpilots/controlwizard.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx index 9c8a00ee21d8..4453b72f95f0 100644 --- a/extensions/source/dbpilots/controlwizard.cxx +++ b/extensions/source/dbpilots/controlwizard.cxx @@ -625,7 +625,7 @@ namespace dbp return false; } - return 0 != m_aContext.aFieldNames.getLength(); + return m_aContext.aFieldNames.hasElements(); } @@ -683,7 +683,7 @@ namespace dbp bool OControlWizard::needDatasourceSelection() { // lemme see ... - return (0 == getContext().aFieldNames.getLength()); + return !getContext().aFieldNames.hasElements(); // if we got fields, the data source is valid ... } |