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.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 953d47106094..8cdcf5478392 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -628,8 +628,10 @@ void SwFntObj::GuessLeading( const SwViewShell&
pWin->SetMapMode( aOldMap );
}
else
-#endif
m_nGuessedLeading = 0;
+#else
+ m_nGuessedLeading = 0;
+#endif
}
// Set the font at the given output device; for screens it may be