[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kspread
From: Meni Livne <livne () kde ! org>
Date: 2005-04-13 10:41:32
Message-ID: 20050413104132.E727B496 () office ! kde ! org
[Download RAW message or body]
CVS commit by livne:
A sheet's direction can be explicitely set through the Sheet Properties dialog.
No need for this 'sheet name begins with "rtl"-hack'.
M +2 -7 kspread_sheet.cc 1.657
--- koffice/kspread/kspread_sheet.cc #1.656:1.657
@@ -6644,11 +6644,6 @@ bool KSpreadSheet::isLoading()
void KSpreadSheet::checkContentDirection( QString const & name )
{
- /*
- * note:
- * the rtl code in kspread is till buggy. for this release the trigger will be
- * an RTL sheet name. in between releases the trigger will be that the name
- * of the sheet will start with "rtl". just to make developers life easier.
- */
- if ( (name.isRightToLeft()) || (name.left(3) == "rtl") )
+ /* set sheet's direction to RTL if sheet name is an RTL string */
+ if ( (name.isRightToLeft()) )
setLayoutDirection( RightToLeft );
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic