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/excel/xlpivot.cxx | |
parent | e4ce7225dd987f9b2f250f055d9688de79931444 (diff) |
Fix for fdo43460 Part XXX getLength() to isEmpty()
Part XXX
Modules
sc
Diffstat (limited to 'sc/source/filter/excel/xlpivot.cxx')
-rw-r--r-- | sc/source/filter/excel/xlpivot.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx index 7c581c38ab70..5d2c4fed5d72 100644 --- a/sc/source/filter/excel/xlpivot.cxx +++ b/sc/source/filter/excel/xlpivot.cxx @@ -656,7 +656,7 @@ XclExpStream& operator<<( XclExpStream& rStrm, const XclPTFieldExtInfo& rInfo ) << rInfo.mnShowField << EXC_SXVDEX_FORMAT_NONE; - if (rInfo.mpFieldTotalName.get() && rInfo.mpFieldTotalName->getLength() > 0) + if (rInfo.mpFieldTotalName.get() && !rInfo.mpFieldTotalName->isEmpty()) { rtl::OUString aFinalName = *rInfo.mpFieldTotalName; if (aFinalName.getLength() >= 254) |