diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 16:01:33 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 22:07:59 -0200 |
commit | 6a1390eaf6464e71668c402d262a21c9192278e9 (patch) | |
tree | 8dda8971f5559c941cd4aa8a19af1835c70ace2b /unotools/source/config/confignode.cxx | |
parent | 55b6485978bbfe17c1355909a5e27d8c846a4ee8 (diff) |
Fix for fdo43460 Part XLII getLength() to isEmpty()
Part XLII
Modules
unotools
Diffstat (limited to 'unotools/source/config/confignode.cxx')
-rw-r--r-- | unotools/source/config/confignode.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx index a6a413837e97..12c6ad0a687b 100644 --- a/unotools/source/config/confignode.cxx +++ b/unotools/source/config/confignode.cxx @@ -173,7 +173,7 @@ namespace utl if (getEscape()) { Reference< XStringEscape > xEscaper(m_xDirectAccess, UNO_QUERY); - if (xEscaper.is() && sName.getLength()) + if (xEscaper.is() && !sName.isEmpty()) { try { @@ -414,7 +414,7 @@ namespace utl // check if the name refers to a indirect descendant else if (m_xHierarchyAccess.is() && m_xHierarchyAccess->hasByHierarchicalName(_rPath)) { - OSL_ASSERT(_rPath.getLength()); + OSL_ASSERT(!_rPath.isEmpty()); ::rtl::OUString sParentPath, sLocalName; |