diff options
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r-- | starmath/source/node.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index a30dc3e38da0..7cf4b7384839 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -531,7 +531,7 @@ void SmTableNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat) SmTmpDevice aTmpDev (rDev, true); aTmpDev.SetFont(GetFont()); - SmRect aRect = (SmRect(aTmpDev, &rFormat, OUString("a"), + SmRect aRect = (SmRect(aTmpDev, &rFormat, "a", GetFont().GetBorderWidth())); mnFormulaBaseline = GetAlignM(); // move from middle position by constant - distance @@ -590,7 +590,7 @@ void SmLineNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat) //! be sure to use a character that has explicitly defined HiAttribut //! line in rect.cxx such as 'a' in order to make 'vec a' look same to //! 'vec {a}'. - SmRect::operator = (SmRect(aTmpDev, &rFormat, OUString("a"), + SmRect::operator = (SmRect(aTmpDev, &rFormat, "a", GetFont().GetBorderWidth())); // make sure that the rectangle occupies (almost) no space SetWidth(1); |