diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-23 10:29:21 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-09-06 12:08:54 +0200 |
commit | 80343757c6e1c732c2abbba4528f23e6c1e6ec58 (patch) | |
tree | 8674673e5679d6be971941cbee1b3b5244f8ad9f | |
parent | 68624d94538cc43991df5dc8311bbc332cdc9a56 (diff) |
Make GetDefaultFontHeight() local
Change-Id: I91dad2b1f806a1b7fab823e590ff97121ad5db31
-rw-r--r-- | sw/source/core/txtnode/fntcache.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index ebcf923303fc..5b5d07113e5a 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -69,6 +69,9 @@ long SwFntObj::nPixWidth; MapMode* SwFntObj::pPixMap = NULL; OutputDevice* SwFntObj::pPixOut = NULL; +namespace +{ + sal_uInt16 GetDefaultFontHeight( SwDrawTextInfo &rInf ) { SwDocShell* pDocShell = rInf.GetShell()->GetDoc()->GetDocShell(); @@ -82,6 +85,8 @@ sal_uInt16 GetDefaultFontHeight( SwDrawTextInfo &rInf ) return (sal_uInt16)aDefaultFontItem.GetHeight(); } +} + void SwFntCache::Flush( ) { if ( pLastFont ) |