diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-06 14:22:10 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-07 07:37:38 -0200 |
commit | 49e11ffbe1cc04f2855b18acd501954d80901efa (patch) | |
tree | 20bfbbab637d13ea81e8c467b59189701fedf1e4 /sc/source/filter/xml/XMLTrackedChangesContext.cxx | |
parent | catch exception by constant reference (diff) | |
download | core-49e11ffbe1cc04f2855b18acd501954d80901efa.tar.gz core-49e11ffbe1cc04f2855b18acd501954d80901efa.zip |
Fix for fdo43460 Part XXX getLength() to isEmpty()
Part XXX
Modules
sc
Diffstat (limited to 'sc/source/filter/xml/XMLTrackedChangesContext.cxx')
-rw-r--r-- | sc/source/filter/xml/XMLTrackedChangesContext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx index 1d02abc04cba..3cea3aac651f 100644 --- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx +++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx @@ -563,7 +563,7 @@ ScXMLTrackedChangesContext::ScXMLTrackedChangesContext( ScXMLImport& rImport, { if (IsXMLToken(aLocalName, XML_PROTECTION_KEY)) { - if (sValue.getLength()) + if (!sValue.isEmpty()) { uno::Sequence<sal_Int8> aPass; ::sax::Converter::decodeBase64(aPass, sValue); @@ -1297,7 +1297,7 @@ void ScXMLChangeCellContext::EndElement() { if (!bFormula) { - if (sText.getLength() && bString) + if (!sText.isEmpty() && bString) rOldCell = new ScStringCell(sText); else rOldCell = new ScValueCell(fValue); |