summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porrst.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-31 15:02:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-03 09:56:51 +0200
commit2e8cc2f51284163a35e0efe22497efb9bdf64317 (patch)
treeb4f9f6d1cd07035460e3cf2a63cf7c0f32e1a118 /sw/source/core/text/porrst.cxx
parentaeff83240c88435d11590f5e9c6fe9927a508c6a (diff)
use less magic in sw/
rename the "magic" members and fields that are actually a font-cache-id, to more useful names Change-Id: Ie787b0939115c576e979c7e27a21a68c138c32f6 Reviewed-on: https://gerrit.libreoffice.org/59868 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/porrst.cxx')
-rw-r--r--sw/source/core/text/porrst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porrst.cxx b/sw/source/core/text/porrst.cxx
index 24778b6ec9d6..867c2b9927c2 100644
--- a/sw/source/core/text/porrst.cxx
+++ b/sw/source/core/text/porrst.cxx
@@ -236,7 +236,7 @@ SwTwips SwTextFrame::EmptyHeight() const
{
SwFontAccess aFontAccess( &rTextNode.GetAnyFormatColl(), pSh);
pFnt = new SwFont( aFontAccess.Get()->GetFont() );
- pFnt->ChkMagic( pSh, pFnt->GetActual() );
+ pFnt->CheckFontCacheId( pSh, pFnt->GetActual() );
}
if ( IsVertical() )