summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2009-04-24 08:49:29 +0000
committerPhilipp Lohmann <pl@openoffice.org>2009-04-24 08:49:29 +0000
commitd643d9b186f51c7e95279cb7c3c85a9d0ef571d5 (patch)
tree9c257e516c614d87b6d81c6c61ecd03282ede3f7 /starmath
parentef4d7e6fd3942e85929685af46243ba679ee74ec (diff)
#i101241# do not use fonts of undefined size
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/view.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 4ff1904ffb0d..bd541a7a185b 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1072,8 +1072,8 @@ void SmViewShell::Impl_Print(
// output text on bottom
if (pp->GetConfig()->IsPrintFormulaText())
{
-// Font aFont(FAMILY_DONTKNOW, Size(0, 600));
- Font aFont;
+ Font aFont(FAMILY_DONTKNOW, Size(0, 600));
+ // Font aFont;
aFont.SetAlign(ALIGN_TOP);
aFont.SetColor( Color(COL_BLACK) );