diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-01-21 13:49:22 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-01-21 13:49:22 +0100 |
commit | 5fc2b31a91680c7e4548ff9ffcf2638a48639bea (patch) | |
tree | bf370125585f46ff7a297ac1aa12f93e0f06dfe6 /starmath/source/rect.cxx | |
parent | e488bbd9693d9162082dafc5ea8cea6085cdb372 (diff) | |
parent | fdde737ea0caf7450a6676f46651f78ee05321ab (diff) |
resync to DEV300_m70
Diffstat (limited to 'starmath/source/rect.cxx')
-rw-r--r-- | starmath/source/rect.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 0718be8ffd37..94d0761d7fce 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -150,8 +150,7 @@ void SmRect::BuildRect(const OutputDevice &rDev, const SmFormat *pFormat, aSize = Size(rDev.GetTextWidth(rText), rDev.GetTextHeight()); const FontMetric aFM (rDev.GetFontMetric()); - BOOL bIsMath = aFM.GetName().EqualsIgnoreCaseAscii( FONTNAME_MATH ) || - aFM.GetName().EqualsIgnoreCaseAscii( FONTNAME_MATH2 ); + BOOL bIsMath = aFM.GetName().EqualsIgnoreCaseAscii( FONTNAME_MATH ); BOOL bAllowSmaller = bIsMath && !SmIsMathAlpha(rText); const long nFontHeight = rDev.GetFont().GetSize().Height(); |