[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread
From:       Fredrik Edemar <f_edemar () linux ! se>
Date:       2006-06-15 18:15:02
Message-ID: 1150395302.928928.17317.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 551840 by fedemar:

fix crash


 M  +1 -1      kspread_cell.cc  


--- trunk/koffice/kspread/kspread_cell.cc #551839:551840
@@ -5587,7 +5587,7 @@
         oasisFormula = Oasis::decodeFormula( oasisFormula, locale() );
         setCellText( oasisFormula );
     }
-    else if ( d->strText.at(0) == '=' ) //prepend ' to the text to avoid = to be \
painted +    else if ( !d->strText.isEmpty() && d->strText.at(0) == '=' ) //prepend ' \
to the text to avoid = to be painted  d->strText.prepend('\'');
 
     //


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic