summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/laycache.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-04 11:08:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-04 13:10:58 +0100
commit042054d0507bac8ede0c045a58a91c0830312fc5 (patch)
tree92e277a04a9ffc5923f809bf1163c221d32127d1 /sw/source/core/layout/laycache.cxx
parent4d307299bc7aada87d13810f12b9868045d15743 (diff)
rename GetOfst -> GetOffset
Change-Id: I9c0968bd93f41f983468ee7ba8a20e27c4866b32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87954 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/laycache.cxx')
-rw-r--r--sw/source/core/layout/laycache.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index 3fff3bc54cc7..eb824827e4ac 100644
--- a/sw/source/core/layout/laycache.cxx
+++ b/sw/source/core/layout/laycache.cxx
@@ -203,7 +203,7 @@ void SwLayoutCache::Write( SvStream &rStream, const SwDoc& rDoc )
nNdIdx -= nStartOfContent;
aIo.GetStream().WriteUInt32( nNdIdx );
if( bFollow )
- aIo.GetStream().WriteUInt32( sal_Int32(static_cast<SwTextFrame*>(pTmp)->GetOfst()) );
+ aIo.GetStream().WriteUInt32( sal_Int32(static_cast<SwTextFrame*>(pTmp)->GetOffset()) );
aIo.CloseFlagRec();
/* Close Paragraph Record */
aIo.CloseRec();
@@ -360,7 +360,7 @@ bool SwLayoutCache::CompareLayout( const SwDoc& rDoc ) const
SW_LAYCACHE_IO_REC_PARA !=
pImpl->GetBreakType( nIndex ) ||
(bFollow
- ? sal_Int32(static_cast<const SwTextFrame*>(pTmp)->GetOfst())
+ ? sal_Int32(static_cast<const SwTextFrame*>(pTmp)->GetOffset())
: COMPLETE_STRING) != pImpl->GetBreakOfst(nIndex))
{
return false;