sw/source/core/layout/paintfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5b910af084924e11b9a74002fd53843e88005db4 Author: Mark Hung <mark...@gmail.com> Date: Sat Mar 3 19:14:25 2018 +0800 tdf#84522 fix reversed text of column break mark in a RTL page. Set RTL falg for the font when the frame is right-to-left. Change-Id: I834620ed44b01b9577ca6c7c42191f2400dd8219 Reviewed-on: https://gerrit.libreoffice.org/50673 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Mark Hung <mark...@gmail.com> diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 61fcc2cd72f2..d9c727202df4 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -3598,7 +3598,7 @@ void SwColumnFrame::PaintBreak( ) const aFont.SetFontHeight( 8 * 20 ); pOut->SetFont( aFont ); drawinglayer::attribute::FontAttribute aFontAttr = drawinglayer::primitive2d::getFontAttributeFromVclFont( - aFontSize, aFont, false, false ); + aFontSize, aFont, IsRightToLeft(), false ); tools::Rectangle aTextRect; pOut->GetTextBoundRect( aTextRect, aBreakText ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits