diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-10-06 21:37:40 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-10-07 07:51:29 +0200 |
commit | 52cda5c5ae426761ccbdb4f20419098eab195303 (patch) | |
tree | c7ef6fc9ea4d168a86798b6d3a4acdcf56e287fd /sw/source/core/txtnode/fntcache.cxx | |
parent | b03c6bc011d05f33522537ed37fe01c30444be0f (diff) |
Fix FIXME in swcache.hxx
by getting rid of useless IsAvail() function
Change-Id: I7c3bbf74a9ef3aaa792936ef2b4887021226dd2a
Reviewed-on: https://gerrit.libreoffice.org/80327
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/core/txtnode/fntcache.cxx')
-rw-r--r-- | sw/source/core/txtnode/fntcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index 085317e4a259..d5999b8f9bbe 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -2275,7 +2275,7 @@ SwFntAccess::SwFntAccess( const void* & rnFontCacheId, m_pShell( pSh ) { // the used ctor of SwCacheAccess searches for rnFontCacheId+rIndex in the cache - if ( IsAvail() ) + if ( m_pObj ) { // fast case: known Font (rnFontCacheId), no need to check printer and zoom if ( !bCheck ) |