summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/authfld.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/fields/authfld.cxx')
-rw-r--r--sw/source/core/fields/authfld.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/fields/authfld.cxx b/sw/source/core/fields/authfld.cxx
index 6ce9a3fa4ac5..e92383cfc5cf 100644
--- a/sw/source/core/fields/authfld.cxx
+++ b/sw/source/core/fields/authfld.cxx
@@ -260,16 +260,16 @@ sal_uInt16 SwAuthorityFieldType::GetSequencePos(sal_IntPtr nHandle)
const SwTextNode& rFieldTextNode = pTextField->GetTextNode();
SwPosition aFieldPos(rFieldTextNode);
SwDoc& rDoc = *const_cast<SwDoc*>(rFieldTextNode.GetDoc());
- SwContentFrm *pFrm = rFieldTextNode.getLayoutFrm( rDoc.getIDocumentLayoutAccess().GetCurrentLayout() );
+ SwContentFrame *pFrame = rFieldTextNode.getLayoutFrame( rDoc.getIDocumentLayoutAccess().GetCurrentLayout() );
const SwTextNode* pTextNode = nullptr;
- if(pFrm && !pFrm->IsInDocBody())
- pTextNode = GetBodyTextNode( rDoc, aFieldPos, *pFrm );
+ if(pFrame && !pFrame->IsInDocBody())
+ pTextNode = GetBodyTextNode( rDoc, aFieldPos, *pFrame );
//if no text node could be found or the field is in the document
//body the directly available text node will be used
if(!pTextNode)
pTextNode = &rFieldTextNode;
if (!pTextNode->GetText().isEmpty() &&
- pTextNode->getLayoutFrm( rDoc.getIDocumentLayoutAccess().GetCurrentLayout() ) &&
+ pTextNode->getLayoutFrame( rDoc.getIDocumentLayoutAccess().GetCurrentLayout() ) &&
pTextNode->GetNodes().IsDocNodes() )
{
SwTOXAuthority* pNew = new SwTOXAuthority( *pTextNode,