summaryrefslogtreecommitdiff
path: root/stoc/source/simpleregistry/simpleregistry.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-12 17:01:19 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-12 19:15:08 -0200
commit71dc235aba9597c3485a791a319a34e4258138db (patch)
tree7a6e5ab99469ee3fd292c435198cb62c58950394 /stoc/source/simpleregistry/simpleregistry.cxx
parent14359c82eb91b69212cbf0f743e819776a8f6d3a (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.cxx2
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) {