[Libreoffice-commits] core.git: sw/source
Mark Hung
marklh9 at gmail.com
Wed Mar 7 10:46:49 UTC 2018
sw/source/core/layout/paintfrm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5b910af084924e11b9a74002fd53843e88005db4
Author: Mark Hung <marklh9 at 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 <ci at libreoffice.org>
Reviewed-by: Mark Hung <marklh9 at 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 );
More information about the Libreoffice-commits
mailing list