diff options
Diffstat (limited to 'dbaccess/source/ui/inc/indexes.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/indexes.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/inc/indexes.hxx b/dbaccess/source/ui/inc/indexes.hxx index 18e8f4ff0b5c..bba0d208802f 100644 --- a/dbaccess/source/ui/inc/indexes.hxx +++ b/dbaccess/source/ui/inc/indexes.hxx @@ -85,7 +85,7 @@ namespace dbaui void setModified(sal_Bool _bModified) { bModified = _bModified; } void clearModified() { setModified(sal_False); } - sal_Bool isNew() const { return 0 == getOriginalName().getLength(); } + sal_Bool isNew() const { return getOriginalName().isEmpty(); } void flagAsNew(const GrantIndexAccess&) { sOriginalName = ::rtl::OUString(); } void flagAsCommitted(const GrantIndexAccess&) { sOriginalName = sName; } |