From 0295c8a34e39326414c1b98cf4da905802f061b0 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 18 Feb 2013 18:36:45 +0100 Subject: sw: let SwTxtNode::GetTxt() return OUString Change-Id: I36e777b2f623429773277e092284f7d2ba61e6ef --- sw/source/filter/rtf/swparrtf.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/filter/rtf') diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx index cae9fe2d25fd..ad43cc9879fb 100644 --- a/sw/source/filter/rtf/swparrtf.cxx +++ b/sw/source/filter/rtf/swparrtf.cxx @@ -120,13 +120,13 @@ sal_uLong SwRTFReader::Read( SwDoc &rDoc, const String& /*rBaseURL*/, SwPaM& rPa { aPam.GetPoint()->nNode = *pSttNdIdx; aPam.GetPoint()->nContent.Assign( pTxtNode, - pTxtNode->GetTxt().Len() ); + pTxtNode->GetTxt().getLength() ); } // If the first new node isn't empty, convert the node's text // attributes into hints. Otherwise, set the new node's // paragraph style at the previous (empty) node. SwTxtNode* pDelNd = aNxtIdx.GetNode().GetTxtNode(); - if( pTxtNode->GetTxt().Len() ) + if (pTxtNode->GetTxt().getLength()) pDelNd->FmtToTxtAttr( pTxtNode ); else pTxtNode->ChgFmtColl( pDelNd->GetTxtColl() ); -- cgit v1.2.3