Kaydet (Commit) e4f492ac authored tarafından Joren De Cuyper's avatar Joren De Cuyper Kaydeden (comit) Bosdonnat Cedric

It is safer to uncomment these checks in the postithelper

Change-Id: I84d96224dbe51ff25fcb6d96e0be9a8dff89b0a1
Reviewed-on: https://gerrit.libreoffice.org/2567Reviewed-by: 's avatarBosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: 's avatarBosdonnat Cedric <cedric.bosdonnat@free.fr>
üst 050463ca
......@@ -165,16 +165,16 @@ unsigned long SwPostItHelper::getPageInfo( SwRect& rPageFrm, const SwRootFrm* pR
SwPosition SwAnnotationItem::GetAnchorPosition() const
{
SwTxtFld* pFld = pFmtFld->GetTxtFld();
//if( pFld )
//{
if( pFld )
{
SwTxtNode* pTNd = pFld->GetpTxtNode();
// if( pTNd )
// {
if( pTNd )
{
SwPosition aPos( *pTNd );
aPos.nContent.Assign( pTNd, *pFld->GetStart() );
return aPos;
// }
//}
}
}
}
bool SwAnnotationItem::UseElement()
......
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