diff options
Diffstat (limited to 'extensions/source/propctrlr/pcrcommon.hxx')
-rw-r--r-- | extensions/source/propctrlr/pcrcommon.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/pcrcommon.hxx b/extensions/source/propctrlr/pcrcommon.hxx index 9a596611330b..e200396a6c7e 100644 --- a/extensions/source/propctrlr/pcrcommon.hxx +++ b/extensions/source/propctrlr/pcrcommon.hxx @@ -93,7 +93,7 @@ namespace pcr iterator end() { return UnoBase::getArray() + UnoBase::getLength(); } sal_Int32 size() const { return UnoBase::getLength(); } - bool empty() const { return UnoBase::getLength() == 0; } + bool empty() const { return !UnoBase::hasElements(); } }; |