From kde-bugs-dist Thu Aug 14 17:01:41 2003 From: Meni Livne Date: Thu, 14 Aug 2003 17:01:41 +0000 To: kde-bugs-dist Subject: [Bug 46833] cell contents which starts with a bidi char should be X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=106088054225894 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=46833 livne@kde.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From livne@kde.org 2003-08-14 19:01 ------- Subject: koffice/kspread CVS commit by livne: Align RTL text in cells to the right. CCMAIL: 46833-done@bugs.kde.org M +1 -1 kspread_cell.cc 1.520 --- koffice/kspread/kspread_cell.cc #1.519:1.520 @@ -3300,5 +3300,5 @@ int KSpreadCell::defineAlignX() if ( a == KSpreadCell::Undefined ) { - if ( m_value.isBoolean() || m_value.isNumber() || m_pTable->isRightToLeft() ) + if ( m_value.isBoolean() || m_value.isNumber() || (m_value.isString() && m_value.asString()[0].direction() == QChar::DirR )) a = KSpreadCell::Right; else .