summaryrefslogtreecommitdiff
path: root/lotuswordpro/source
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfindex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfindex.cxx b/lotuswordpro/source/filter/xfilter/xfindex.cxx
index 01034dbd485a..1fc791b99960 100644
--- a/lotuswordpro/source/filter/xfilter/xfindex.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfindex.cxx
@@ -211,7 +211,7 @@ void XFIndex::ToXml(IXFStream *pStrm)
{
for(sal_uInt16 i=1; i <= MAX_TOC_LEVEL; i++)
{
- if (m_aTOCSource[i].size() == 0)
+ if (m_aTOCSource[i].empty())
{
// unnecessary to output this level
continue;