diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-22 11:49:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-22 11:57:04 +0000 |
commit | 753628eec23f4b4ba037953f05c1430b5108bf15 (patch) | |
tree | 9910b8244e4ecbcfee20b0f50440ab7ad6e8455b /sw/source/core/txtnode | |
parent | 5c89214a80f0284eafaf4eba23243dfe3c9f7193 (diff) |
fix sw build
Change-Id: I2d42420307f359b30cce5422629689bdc964ebd9
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 986611721d4a..a0bc301dcdba 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -2358,7 +2358,7 @@ SwNumRule* SwTxtNode::_GetNumRule(sal_Bool bInParent) const if ( pColl ) { const SwNumRuleItem& rDirectItem = pColl->GetNumRule( sal_False ); - if ( rDirectItem.GetValue().Len() == 0 ) + if ( rDirectItem.GetValue().isEmpty() ) { pRet = 0L; } @@ -3465,7 +3465,7 @@ namespace { if ( rTxtNode.IsEmptyListStyleDueToSetOutlineLevelAttr() ) { const SwNumRuleItem& rNumRuleItem = rTxtNode.GetTxtColl()->GetNumRule(); - if ( rNumRuleItem.GetValue().Len() > 0 ) + if ( !rNumRuleItem.GetValue().isEmpty() ) { rTxtNode.ResetEmptyListStyleDueToResetOutlineLevelAttr(); } @@ -4292,7 +4292,7 @@ namespace { const SwNumRuleItem& pNumRuleItem = dynamic_cast<const SwNumRuleItem&>(pItem); - if ( pNumRuleItem.GetValue().Len() > 0 ) + if ( !pNumRuleItem.GetValue().isEmpty() ) { mbAddTxtNodeToList = true; // #i105562# @@ -4406,7 +4406,7 @@ namespace { const SwNumRuleItem* pNumRuleItem = dynamic_cast<const SwNumRuleItem*>(pItem); - if ( pNumRuleItem->GetValue().Len() > 0 ) + if ( !pNumRuleItem->GetValue().isEmpty() ) { mbAddTxtNodeToList = true; // #i70748# |