summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/fntcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/fntcache.cxx')
-rw-r--r--sw/source/core/txtnode/fntcache.cxx2
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 )