diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-17 17:47:34 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-17 19:07:47 -0200 |
commit | 964617156260cd157d4f39be01a5d3dec1c29a27 (patch) | |
tree | 403c4a06a8739adf8aa0befb75543e41b898601f /sw/source/filter/xml | |
parent | 802d82b6e2acedd3581acbf23407d7f5f742c671 (diff) |
Fix for fdo43460 Part XL getLength() to isEmpty()
Part XL
Modules
sw
Diffstat (limited to 'sw/source/filter/xml')
-rw-r--r-- | sw/source/filter/xml/swxml.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/wrtxml.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlbrsh.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlexpit.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlfmt.cxx | 8 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlfmte.cxx | 6 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlimpit.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlitemi.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlithlp.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltble.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltbli.cxx | 26 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltexte.cxx | 14 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltexti.cxx | 18 |
13 files changed, 47 insertions, 47 deletions
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx index d0be6210d7fd..5a6e5ff996d8 100644 --- a/sw/source/filter/xml/swxml.cxx +++ b/sw/source/filter/xml/swxml.cxx @@ -831,7 +831,7 @@ sal_uLong XMLReader::Read( SwDoc &rDoc, const String& rBaseURL, SwPaM &rPaM, con StreamPath = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("dummyObjectName")); } - if( StreamPath.getLength() ) + if( !StreamPath.isEmpty() ) { sPropName = OUString(RTL_CONSTASCII_USTRINGPARAM("StreamRelPath")); xInfoSet->setPropertyValue( sPropName, makeAny( StreamPath ) ); diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx index 259f9dee9621..fe1395e5f700 100644 --- a/sw/source/filter/xml/wrtxml.cxx +++ b/sw/source/filter/xml/wrtxml.cxx @@ -248,7 +248,7 @@ pGraphicHelper = SvXMLGraphicHelper::Create( xStg, else aName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "dummyObjectName" ) ); - if( aName.getLength() ) + if( !aName.isEmpty() ) { sPropName = OUString(RTL_CONSTASCII_USTRINGPARAM("StreamRelPath")); xInfoSet->setPropertyValue( sPropName, makeAny( aName ) ); @@ -365,7 +365,7 @@ pGraphicHelper = SvXMLGraphicHelper::Create( xStg, if ( xModule.is() ) { ::rtl::OUString aModuleID = xModule->getIdentifier(); - bStoreMeta = ( aModuleID.getLength() + bStoreMeta = ( !aModuleID.isEmpty() && ( aModuleID.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.sdb.FormDesign" ) ) ) || aModuleID.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.sdb.TextReportDesign" ) ) ) ) ); } diff --git a/sw/source/filter/xml/xmlbrsh.cxx b/sw/source/filter/xml/xmlbrsh.cxx index df130d163e28..0753d8ae9603 100644 --- a/sw/source/filter/xml/xmlbrsh.cxx +++ b/sw/source/filter/xml/xmlbrsh.cxx @@ -221,7 +221,7 @@ void SwXMLBrushItemExport::exportXML( const SvxBrushItem& rItem ) rItem, sURL, MID_GRAPHIC_LINK, rUnitConv ) ) { sValue = GetExport().AddEmbeddedGraphicObject( sURL ); - if( sValue.getLength() ) + if( !sValue.isEmpty() ) { GetExport().AddAttribute( XML_NAMESPACE_XLINK, XML_HREF, sValue ); GetExport().AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE ); @@ -244,7 +244,7 @@ void SwXMLBrushItemExport::exportXML( const SvxBrushItem& rItem ) { SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, XML_BACKGROUND_IMAGE, sal_True, sal_True ); - if( sURL.getLength() ) + if( !sURL.isEmpty() ) { // optional office:binary-data GetExport().AddEmbeddedGraphicObjectAsBase64( sURL ); diff --git a/sw/source/filter/xml/xmlexpit.cxx b/sw/source/filter/xml/xmlexpit.cxx index f1afbd08db09..5018607ef493 100644 --- a/sw/source/filter/xml/xmlexpit.cxx +++ b/sw/source/filter/xml/xmlexpit.cxx @@ -169,7 +169,7 @@ void SvXMLExportItemMapper::exportXML( const SvXMLExport& rExport, for( sal_uInt16 i=0; i < nCount; i++ ) { OUString sPrefix( pUnknown->GetAttrPrefix( i ) ); - if( sPrefix.getLength() ) + if( !sPrefix.isEmpty() ) { OUString sNamespace( pUnknown->GetAttrNamespace( i ) ); diff --git a/sw/source/filter/xml/xmlfmt.cxx b/sw/source/filter/xml/xmlfmt.cxx index 8320b91a5012..5e54d6bd8b1b 100644 --- a/sw/source/filter/xml/xmlfmt.cxx +++ b/sw/source/filter/xml/xmlfmt.cxx @@ -119,7 +119,7 @@ inline sal_Bool SwXMLConditionParser_Impl::MatchName( OUString& rName ) nPos++; } rName = sBuffer.makeStringAndClear(); - return rName.getLength() > 0; + return !rName.isEmpty(); } inline sal_Bool SwXMLConditionParser_Impl::MatchNumber( sal_uInt32& rNumber ) @@ -132,9 +132,9 @@ inline sal_Bool SwXMLConditionParser_Impl::MatchNumber( sal_uInt32& rNumber ) } OUString sNum( sBuffer.makeStringAndClear() ); - if( sNum.getLength() ) + if( !sNum.isEmpty() ) rNumber = sNum.toInt32(); - return sNum.getLength() > 0; + return !sNum.isEmpty(); } SwXMLConditionParser_Impl::SwXMLConditionParser_Impl( const OUString& rInp ) : @@ -512,7 +512,7 @@ void SwXMLItemSetStyleContext_Impl::SetAttribute( sal_uInt16 nPrefixKey, else if ( IsXMLToken( rLocalName, XML_DATA_STYLE_NAME ) ) { // if we have a valid data style name - if (rValue.getLength() > 0) + if (!rValue.isEmpty()) { sDataStyleName = rValue; bDataStyleIsResolved = sal_False; // needs to be resolved diff --git a/sw/source/filter/xml/xmlfmte.cxx b/sw/source/filter/xml/xmlfmte.cxx index 80d2475e6c07..a57b8955efa8 100644 --- a/sw/source/filter/xml/xmlfmte.cxx +++ b/sw/source/filter/xml/xmlfmte.cxx @@ -133,7 +133,7 @@ void SwXMLExport::ExportFmt( const SwFmt& rFmt, enum XMLTokenEnum eFamily ) // written after cell styles) addDataStyle(nFormat); OUString sDataStyleName = getDataStyleName(nFormat); - if( sDataStyleName.getLength() > 0 ) + if( !sDataStyleName.isEmpty() ) AddAttribute( XML_NAMESPACE_STYLE, XML_DATA_STYLE_NAME, sDataStyleName ); } @@ -316,10 +316,10 @@ void SwXMLAutoStylePoolP::exportStyleAttributes( OUString sStyleName; aProperty->maValue >>= sStyleName; // #i70748# - export also empty list styles - if( sStyleName.getLength() ) + if( !sStyleName.isEmpty() ) { OUString sTmp = rExport.GetTextParagraphExport()->GetListAutoStylePool().Find( sStyleName ); - if( sTmp.getLength() ) + if( !sTmp.isEmpty() ) sStyleName = sTmp; } GetExport().AddAttribute( XML_NAMESPACE_STYLE, diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx index 28051ee2e2ea..bdf879518b26 100644 --- a/sw/source/filter/xml/xmlimpit.cxx +++ b/sw/source/filter/xml/xmlimpit.cxx @@ -841,7 +841,7 @@ sal_Bool SvXMLImportItemMapper::PutXMLValue( if( bOk ) pVertOrient->SetVertOrient( nValue ); //#i8855# text::VertOrientation::NONE is stored as empty string and should be applied here - else if(!rValue.getLength()) + else if(rValue.isEmpty()) { pVertOrient->SetVertOrient( text::VertOrientation::NONE ); bOk = sal_True; diff --git a/sw/source/filter/xml/xmlitemi.cxx b/sw/source/filter/xml/xmlitemi.cxx index a04c95966455..956676721f05 100644 --- a/sw/source/filter/xml/xmlitemi.cxx +++ b/sw/source/filter/xml/xmlitemi.cxx @@ -208,7 +208,7 @@ sal_Bool SwXMLImportTableItemMapper_Impl::handleNoItem( void SwXMLImportTableItemMapper_Impl::finished( SfxItemSet & rSet, SvXMLUnitConverter const& rUnitConverter) const { - if (m_FoMarginValue.getLength()) + if (!m_FoMarginValue.isEmpty()) { sal_uInt16 const Ids[4][2] = { { RES_LR_SPACE, MID_L_MARGIN }, diff --git a/sw/source/filter/xml/xmlithlp.cxx b/sw/source/filter/xml/xmlithlp.cxx index 4db411c65fb4..18a1b6b02410 100644 --- a/sw/source/filter/xml/xmlithlp.cxx +++ b/sw/source/filter/xml/xmlithlp.cxx @@ -117,7 +117,7 @@ sal_Bool lcl_frmitems_parseXMLBorder( const OUString& rValue, rNamedWidth = USHRT_MAX; sal_Int32 nTemp; - while( aTokens.getNextToken( aToken ) && aToken.getLength() != 0 ) + while( aTokens.getNextToken( aToken ) && !aToken.isEmpty() ) { if( !rHasWidth && rUnitConverter.convertEnum( rNamedWidth, aToken, diff --git a/sw/source/filter/xml/xmltble.cxx b/sw/source/filter/xml/xmltble.cxx index f3ee9c746279..0a77c1b03c79 100644 --- a/sw/source/filter/xml/xmltble.cxx +++ b/sw/source/filter/xml/xmltble.cxx @@ -836,7 +836,7 @@ void SwXMLExport::ExportTableBox( const SwTableBox& rBox, // if this cell has a formula, export it // (with value and number format) - if (sCellFormula.getLength()>0) + if (!sCellFormula.isEmpty()) { OUString sQValue = GetNamespaceMap().GetQNameByKey( @@ -860,7 +860,7 @@ void SwXMLExport::ExportTableBox( const SwTableBox& rBox, AddAttribute( XML_NAMESPACE_OFFICE, XML_VALUE_TYPE, XML_STRING ); } - else if ( (-1 != nNumberFormat) && (xText->getString().getLength() > 0) ) + else if ( (-1 != nNumberFormat) && !xText->getString().isEmpty() ) { // number format key: // (export values only if cell contains text;) diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 978e5e127a53..43a284b60d14 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -776,7 +776,7 @@ SwXMLTableColContext_Impl::SwXMLTableColContext_Impl( sal_Int32 nWidth = MINLAY; sal_Bool bRelWidth = sal_True; - if( aStyleName.getLength() ) + if( !aStyleName.isEmpty() ) { const SfxPoolItem *pItem; const SfxItemSet *pAutoItemSet = 0; @@ -1339,7 +1339,7 @@ SwXMLTableContext::SwXMLTableContext( SwXMLImport& rImport, SwDoc *pDoc = SwImport::GetDocFromXMLImport( GetSwImport() ); String sTblName; - if( aName.getLength() ) + if( !aName.isEmpty() ) { const SwTableFmt *pTblFmt = pDoc->FindTblFmtByName( aName ); if( !pTblFmt ) @@ -1533,7 +1533,7 @@ void SwXMLTableContext::InsertColumn( sal_Int32 nWidth2, sal_Bool bRelWidth2, else if( nWidth2 > USHRT_MAX ) nWidth2 = USHRT_MAX; aColumnWidths.push_back( ColumnWidthInfo(nWidth2, bRelWidth2) ); - if( (pDfltCellStyleName && pDfltCellStyleName->getLength() > 0) || + if( (pDfltCellStyleName && !pDfltCellStyleName->isEmpty()) || pColumnDefaultCellStyleNames ) { if( !pColumnDefaultCellStyleNames ) @@ -1657,13 +1657,13 @@ void SwXMLTableContext::InsertCell( const OUString& rStyleName, } OUString sStyleName( rStyleName ); - if( !sStyleName.getLength() ) + if( sStyleName.isEmpty() ) { sStyleName = ((*pRows)[(sal_uInt16)nCurRow])->GetDefaultCellStyleName(); - if( !sStyleName.getLength() && HasColumnDefaultCellStyleNames() ) + if( sStyleName.isEmpty() && HasColumnDefaultCellStyleNames() ) { sStyleName = GetColumnDefaultCellStyleName( nCurCol ); - if( !sStyleName.getLength() ) + if( sStyleName.isEmpty() ) sStyleName = aDfltCellStyleName; } } @@ -2062,7 +2062,7 @@ SwTableBox *SwXMLTableContext::MakeTableBox( sal_Bool bNew; SwTableBoxFmt *pBoxFmt2 = GetSharedBoxFormat( pBox, sStyleName, nColWidth, pCell->IsProtected(), - pCell->GetStartNode() && pCell->GetFormula().getLength() == 0 && + pCell->GetStartNode() && pCell->GetFormula().isEmpty() && ! pCell->HasValue(), bNew, &bModifyLocked ); @@ -2071,7 +2071,7 @@ SwTableBox *SwXMLTableContext::MakeTableBox( { // set style const SfxItemSet *pAutoItemSet = 0; - if( pCell->GetStartNode() && sStyleName.getLength() && + if( pCell->GetStartNode() && !sStyleName.isEmpty() && GetSwImport().FindAutomaticStyle( XML_STYLE_FAMILY_TABLE_CELL, sStyleName, &pAutoItemSet ) ) { @@ -2092,8 +2092,8 @@ SwTableBox *SwXMLTableContext::MakeTableBox( // then make it a text cell! bool bSuppressNumericContent = false; if( pCell->HasValue() && (pCell->GetValue() == 0.0) && - (pCell->GetFormula().getLength() == 0) && - (sStyleName.getLength() != 0) ) + pCell->GetFormula().isEmpty() && + !sStyleName.isEmpty() ) { // default num format? const SfxPoolItem* pItem = NULL; @@ -2139,7 +2139,7 @@ SwTableBox *SwXMLTableContext::MakeTableBox( // the normal case: set formula and value (if available) const OUString& rFormula = pCell->GetFormula(); - if (rFormula.getLength() > 0) + if (!rFormula.isEmpty()) { // formula cell: insert formula if valid SwTblBoxFormula aFormulaItem( rFormula ); @@ -2220,7 +2220,7 @@ SwTableLine *SwXMLTableContext::MakeTableLine( SwTableBox *pUpper, const SfxItemSet *pAutoItemSet = 0; const OUString& rStyleName = (*pRows)[(sal_uInt16)nTopRow]->GetStyleName(); if( 1UL == (nBottomRow - nTopRow) && - rStyleName.getLength() && + !rStyleName.isEmpty() && GetSwImport().FindAutomaticStyle( XML_STYLE_FAMILY_TABLE_ROW, rStyleName, &pAutoItemSet ) ) { @@ -2684,7 +2684,7 @@ void SwXMLTableContext::MakeTable() pTableNode->GetTable().SetTableModel( !bHasSubTables ); const SfxItemSet *pAutoItemSet = 0; - if( aStyleName.getLength() && + if( !aStyleName.isEmpty() && rSwImport.FindAutomaticStyle( XML_STYLE_FAMILY_TABLE_TABLE, aStyleName, &pAutoItemSet ) && pAutoItemSet ) diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index 2dc565c04f97..c62bce3f9c36 100644 --- a/sw/source/filter/xml/xmltexte.cxx +++ b/sw/source/filter/xml/xmltexte.cxx @@ -165,7 +165,7 @@ void SwXMLTextParagraphExport::exportStyleContent( sBuffer.append( GetXMLToken(eFunc) ); sBuffer.append( (sal_Unicode)'(' ); sBuffer.append( (sal_Unicode)')' ); - if( sVal.getLength() ) + if( !sVal.isEmpty() ) { sBuffer.append( (sal_Unicode)'=' ); sBuffer.append( sVal ); @@ -213,7 +213,7 @@ void SwXMLTextParagraphExport::setTextEmbeddedGraphicURL( const Reference < XPropertySet >& rPropSet, OUString& rURL) const { - if( !rURL.getLength() ) + if( rURL.isEmpty() ) return; SwGrfNode *pGrfNd = GetNoTxtNode( rPropSet )->GetGrfNode(); @@ -473,7 +473,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded( pStates++; } - if( sAutoStyle.getLength() ) + if( !sAutoStyle.isEmpty() ) rXMLExport.AddAttribute( XML_NAMESPACE_DRAW, XML_STYLE_NAME, sAutoStyle ); addTextFrameAttributes( rPropSet, sal_False ); @@ -561,12 +561,12 @@ void SwXMLTextParagraphExport::_exportTextEmbedded( ::rtl::OUString aStr; Any aAny2 = xSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AppletCodeBase")) ); aAny2 >>= aStr; - if (aStr.getLength() ) + if (!aStr.isEmpty() ) lcl_addURL(rXMLExport, aStr); aAny2 = xSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AppletName")) ); aAny2 >>= aStr; - if (aStr.getLength()) + if (!aStr.isEmpty()) rXMLExport.AddAttribute( XML_NAMESPACE_DRAW, XML_APPLET_NAME, aStr ); aAny2 = xSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AppletCode")) ); @@ -612,7 +612,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded( aAny2 = xSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PluginMimeType")) ); aAny2 >>= aStr; - if (aStr.getLength()) + if (!aStr.isEmpty()) rXMLExport.AddAttribute( XML_NAMESPACE_DRAW, XML_MIME_TYPE, aStr ); eElementName = XML_PLUGIN; } @@ -633,7 +633,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded( aAny2 = xSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FrameName")) ); aAny2 >>= aStr; - if (aStr.getLength()) + if (!aStr.isEmpty()) rXMLExport.AddAttribute( XML_NAMESPACE_DRAW, XML_FRAME_NAME, aStr ); eElementName = XML_FLOATING_FRAME; } diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx index 926f42363c66..4b77b18c4887 100644 --- a/sw/source/filter/xml/xmltexti.cxx +++ b/sw/source/filter/xml/xmltexti.cxx @@ -240,7 +240,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertOLEObject( OUString aObjName( rHRef.copy( nPos+1) ); - if( !aObjName.getLength() ) + if( aObjName.isEmpty() ) return xPropSet; uno::Reference<XUnoTunnel> xCrsrTunnel( GetCursor(), UNO_QUERY ); @@ -378,7 +378,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertOLEObject( if( pDoc->GetDrawModel() ) SwXFrame::GetOrCreateSdrObject( static_cast<SwFlyFrmFmt*>( pXFrame->GetFrmFmt() ) ); // req for z-order - if( rTblName.getLength() ) + if( !rTblName.isEmpty() ) { const SwFmtCntnt& rCntnt = pFrmFmt->GetCntnt(); const SwNodeIndex *pNdIdx = rCntnt.GetCntntIdx(); @@ -457,7 +457,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertOLEObject( sal_Int64 nDrawAspect = 0; const XMLPropStyleContext *pStyle = 0; sal_Bool bHasSizeProps = sal_False; - if( rStyleName.getLength() ) + if( !rStyleName.isEmpty() ) { pStyle = FindAutoFrameStyle( rStyleName ); if( pStyle ) @@ -569,7 +569,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertOOoLink( // We'll need a (valid) URL. If we don't have do not insert the link and return early. // Copy URL into URL oject on the way. INetURLObject aURLObj; - bool bValidURL = rHRef.getLength() != 0 && + bool bValidURL = !rHRef.isEmpty() && aURLObj.SetURL( URIHelper::SmartRel2Abs( INetURLObject( GetXMLImport().GetBaseURL() ), rHRef ) ); if( !bValidURL ) @@ -654,7 +654,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertApplet( SwApplet_Impl aAppletImpl ( aItemSet ); String sCodeBase; - if( rHRef.getLength() ) + if( !rHRef.isEmpty() ) sCodeBase = GetXMLImport().GetAbsoluteReference( rHRef ); aAppletImpl.CreateApplet ( rCode, rName, bMayScript, sCodeBase, GetXMLImport().GetDocumentBase() ); @@ -701,9 +701,9 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertPlugin( // on the way. INetURLObject aURLObj; - bool bValidURL = rHRef.getLength() != 0 && + bool bValidURL = !rHRef.isEmpty() && aURLObj.SetURL( URIHelper::SmartRel2Abs( INetURLObject( GetXMLImport().GetBaseURL() ), rHRef ) ); - bool bValidMimeType = rMimeType.getLength() != 0; + bool bValidMimeType = !rMimeType.isEmpty(); if( !bValidURL && !bValidMimeType ) return xPropSet; @@ -783,7 +783,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertFloatingFra sal_Bool bIsBorderSet = sal_False; Size aMargin( SIZE_NOT_SET, SIZE_NOT_SET ); const XMLPropStyleContext *pStyle = 0; - if( rStyleName.getLength() ) + if( !rStyleName.isEmpty() ) { pStyle = FindAutoFrameStyle( rStyleName ); if( pStyle ) @@ -1029,7 +1029,7 @@ void SwXMLTextImportHelper::RedlineAdjustStartNodeCursor( sal_Bool bStart) { OUString rId = GetOpenRedlineId(); - if ((NULL != pRedlineHelper) && (rId.getLength() > 0)) + if ((NULL != pRedlineHelper) && !rId.isEmpty()) { uno::Reference<XTextRange> xTextRange( GetCursor()->getStart() ); pRedlineHelper->AdjustStartNodeCursor(rId, bStart, xTextRange ); |