diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-12 17:01:19 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-12 19:15:08 -0200 |
commit | 71dc235aba9597c3485a791a319a34e4258138db (patch) | |
tree | 7a6e5ab99469ee3fd292c435198cb62c58950394 /stoc/source/simpleregistry/simpleregistry.cxx | |
parent | 14359c82eb91b69212cbf0f743e819776a8f6d3a (diff) |
Fix for fdo43460 Part XXXV getLength() to isEmpty()
Part XXXV
Modules
stoc
Diffstat (limited to 'stoc/source/simpleregistry/simpleregistry.cxx')
-rw-r--r-- | stoc/source/simpleregistry/simpleregistry.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/simpleregistry/simpleregistry.cxx b/stoc/source/simpleregistry/simpleregistry.cxx index 085b73a22c3b..d396e08f9a64 100644 --- a/stoc/source/simpleregistry/simpleregistry.cxx +++ b/stoc/source/simpleregistry/simpleregistry.cxx @@ -1151,7 +1151,7 @@ void SimpleRegistry::open( "): instance already open"))), static_cast< OWeakObject * >(this)); } - RegError err = (rURL.getLength() == 0 && bCreate) + RegError err = (rURL.isEmpty() && bCreate) ? REG_REGISTRY_NOT_EXISTS : registry_.open(rURL, bReadOnly ? REG_READONLY : REG_READWRITE); if (err == REG_REGISTRY_NOT_EXISTS && bCreate) { |