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 e05f188792fd..92e8b1bcd107 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -881,7 +881,7 @@ void SmTableNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) SmTmpDevice aTmpDev ((OutputDevice &) rDev, sal_True); aTmpDev.SetFont(GetFont()); - SmRect aRect = (SmRect(aTmpDev, &rFormat, C2S("a"), + SmRect aRect = (SmRect(aTmpDev, &rFormat, rtl::OUString("a"), GetFont().GetBorderWidth())); nFormulaBaseline = GetAlignM(); // move from middle position by constant - distance @@ -941,7 +941,7 @@ void SmLineNode::Arrange(const 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, C2S("a"), + SmRect::operator = (SmRect(aTmpDev, &rFormat, rtl::OUString("a"), GetFont().GetBorderWidth())); // make sure that the rectangle occupies (almost) no space SetWidth(1); |