Re: [Libreoffice] Duplicate code: replace mbBreak with hasLineBreak?

2011-05-16 Thread Kohei Yoshida
On Mon, 2011-05-16 at 09:37 +0200, Chr. Rossmanith wrote: > Hi, > > I had a closer look at output2.cxx. > > (1) ScOutputData::DrawEditTopBottom tests "if (rParam.hasLineBreak())" > (2) ScOutputData::DrawEditBottomTop tests "if (rParam.mbBreak)" > > with > > bool ScOutputData::DrawEditParam::has

[Libreoffice] Duplicate code: replace mbBreak with hasLineBreak?

2011-05-16 Thread Chr. Rossmanith
Hi, I had a closer look at output2.cxx. (1) ScOutputData::DrawEditTopBottom tests "if (rParam.hasLineBreak())" (2) ScOutputData::DrawEditBottomTop tests "if (rParam.mbBreak)" with bool ScOutputData::DrawEditParam::hasLineBreak() const { return (mbBreak || (meOrient == SVX_ORIENTATION_STACK