Kaydet (Commit) e8e06877 authored tarafından Joren De Cuyper's avatar Joren De Cuyper Kaydeden (comit) Tor Lillqvist

delete previous uncommented comments in positionhelper.cxx

Change-Id: I0f177a078b915c1220423ea583e749de4d02e384
Reviewed-on: https://gerrit.libreoffice.org/2571Reviewed-by: 's avatarTor Lillqvist <tml@iki.fi>
Tested-by: 's avatarTor Lillqvist <tml@iki.fi>
üst 6cdce7fd
...@@ -165,16 +165,11 @@ unsigned long SwPostItHelper::getPageInfo( SwRect& rPageFrm, const SwRootFrm* pR ...@@ -165,16 +165,11 @@ unsigned long SwPostItHelper::getPageInfo( SwRect& rPageFrm, const SwRootFrm* pR
SwPosition SwAnnotationItem::GetAnchorPosition() const SwPosition SwAnnotationItem::GetAnchorPosition() const
{ {
SwTxtFld* pFld = pFmtFld->GetTxtFld(); SwTxtFld* pFld = pFmtFld->GetTxtFld();
if( pFld ) SwTxtNode* pTNd = pFld->GetpTxtNode();
{
SwTxtNode* pTNd = pFld->GetpTxtNode(); SwPosition aPos( *pTNd );
if( pTNd ) aPos.nContent.Assign( pTNd, *pFld->GetStart() );
{ return aPos;
SwPosition aPos( *pTNd );
aPos.nContent.Assign( pTNd, *pFld->GetStart() );
return aPos;
}
}
} }
bool SwAnnotationItem::UseElement() 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