diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-04 11:08:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-04 13:10:58 +0100 |
commit | 042054d0507bac8ede0c045a58a91c0830312fc5 (patch) | |
tree | 92e277a04a9ffc5923f809bf1163c221d32127d1 /sw/source/core/layout/softpagebreak.cxx | |
parent | 4d307299bc7aada87d13810f12b9868045d15743 (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/softpagebreak.cxx')
-rw-r--r-- | sw/source/core/layout/softpagebreak.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/softpagebreak.cxx b/sw/source/core/layout/softpagebreak.cxx index daed905a1826..87ba7c24e653 100644 --- a/sw/source/core/layout/softpagebreak.cxx +++ b/sw/source/core/layout/softpagebreak.cxx @@ -80,7 +80,7 @@ void SwTextNode::fillSoftPageBreakList( SwSoftPageBreakList& rBreak ) const if( pFirst2 == pFrame ) { // Here we are: a first content inside a cell // inside the split row => soft page break - auto const pos(pFrame->MapViewToModel(pFrame->GetOfst())); + auto const pos(pFrame->MapViewToModel(pFrame->GetOffset())); if (pos.first == this) { rBreak.insert(pos.second); @@ -94,7 +94,7 @@ void SwTextNode::fillSoftPageBreakList( SwSoftPageBreakList& rBreak ) const else // No soft page break if there's a "hard" page break attribute if( pFirst2 == pFrame && !pFrame->IsPageBreak( true ) ) { - auto const pos(pFrame->MapViewToModel(pFrame->GetOfst())); + auto const pos(pFrame->MapViewToModel(pFrame->GetOffset())); if (pos.first == this) { // in the !Show case, we have to iterate over the merged // SwTextFrame for every node |