summaryrefslogtreecommitdiff
path: root/configmgr/source/xcdparser.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-14 10:59:15 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-17 10:05:35 +0400
commit4a0ab53cf44be11053a095470ad8cb426487dbc6 (patch)
tree4b22581634162ddf1477fb58f86ce2a7854c6399 /configmgr/source/xcdparser.cxx
parent091790f678321f8c314ce820f2175050f29de2e3 (diff)
Fix for fdo43460 Part VIII getLength() to isEmpty()
Part VIII Module comfigmgr
Diffstat (limited to 'configmgr/source/xcdparser.cxx')
-rw-r--r--configmgr/source/xcdparser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/xcdparser.cxx b/configmgr/source/xcdparser.cxx
index 84c12bd8fa1c..e5c092150cd7 100644
--- a/configmgr/source/xcdparser.cxx
+++ b/configmgr/source/xcdparser.cxx
@@ -86,7 +86,7 @@ bool XcdParser::startElement(
if (nsId == xmlreader::XmlReader::NAMESPACE_NONE &&
name.equals(RTL_CONSTASCII_STRINGPARAM("dependency")))
{
- if (dependency_.getLength() == 0) {
+ if (dependency_.isEmpty()) {
xmlreader::Span attrFile;
for (;;) {
int attrNsId;
@@ -110,7 +110,7 @@ bool XcdParser::startElement(
css::uno::Reference< css::uno::XInterface >());
}
dependency_ = attrFile.convertFromUtf8();
- if (dependency_.getLength() == 0) {
+ if (dependency_.isEmpty()) {
throw css::uno::RuntimeException(
(rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(