Kaydet (Commit) 3a7cabb4 authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide: trivial conversions in editsh.cxx,ndtxt.cxx

Change-Id: Ife3df66e1873b2325a41ff196299008ce2422901
üst d7d5fa52
......@@ -826,7 +826,7 @@ sal_uInt16 SwEditShell::GetLineCount()
{
if( nullptr != ( pContentFrame = pCNd->getLayoutFrame( GetLayout() ) ) && pContentFrame->IsTextFrame() )
{
nRet = nRet + static_cast<SwTextFrame*>(pContentFrame)->GetLineCount( COMPLETE_STRING );
nRet = nRet + static_cast<SwTextFrame*>(pContentFrame)->GetLineCount(TextFrameIndex(COMPLETE_STRING));
}
}
return nRet;
......
......@@ -483,7 +483,7 @@ SwContentNode *SwTextNode::SplitContentNode( const SwPosition &rPos )
pFrame->RegisterToNode( *pNode );
if (!pFrame->IsFollow() && pFrame->GetOfst())
{
pFrame->SetOfst( 0 );
pFrame->SetOfst( TextFrameIndex(0) );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment