summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8atr.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-22 11:49:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-22 11:57:04 +0000
commit753628eec23f4b4ba037953f05c1430b5108bf15 (patch)
tree9910b8244e4ecbcfee20b0f50440ab7ad6e8455b /sw/source/filter/ww8/ww8atr.cxx
parent5c89214a80f0284eafaf4eba23243dfe3c9f7193 (diff)
fix sw build
Change-Id: I2d42420307f359b30cce5422629689bdc964ebd9
Diffstat (limited to 'sw/source/filter/ww8/ww8atr.cxx')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index e8007d53b0a3..7440be4e5516 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -266,7 +266,7 @@ void MSWordExportBase::OutputItemSet( const SfxItemSet& rSet, bool bPapFmt, bool
AttrOutput().OutputItem( *pItem );
// switch off the numerbering?
- if ( !( (SwNumRuleItem*)pItem )->GetValue().Len() &&
+ if ( ( (SwNumRuleItem*)pItem )->GetValue().isEmpty() &&
SFX_ITEM_SET != rSet.GetItemState( RES_LR_SPACE, false) &&
SFX_ITEM_SET == rSet.GetItemState( RES_LR_SPACE, true, &pItem ) )
{
@@ -3272,7 +3272,7 @@ void AttributeOutputBase::ParaNumRule( const SwNumRuleItem& rNumRule )
const SwTxtNode* pTxtNd = 0;
sal_uInt16 nNumId;
sal_uInt8 nLvl = 0;
- if ( rNumRule.GetValue().Len() )
+ if (!rNumRule.GetValue().isEmpty())
{
const SwNumRule* pRule = GetExport().pDoc->FindNumRulePtr(
rNumRule.GetValue() );