--- a/emailuis/uicomponents/src/fstreeplainonelineitemvisualizer.cpp Mon Jan 18 20:08:26 2010 +0200
+++ b/emailuis/uicomponents/src/fstreeplainonelineitemvisualizer.cpp Tue Jan 26 11:45:42 2010 +0200
@@ -629,12 +629,11 @@
FUNC_LOG;
TInt marqueeSize(0), textWidth(0);
- if ( aMarqueeType == EFsTextMarqueeNone )
+ if ( aMarqueeType == EFsTextMarqueeNone || !iTextVisual )
{
return;
}
-
iTextVisual->SetWrapping(CAlfTextVisual::ELineWrapManual);
textWidth = iTextVisual->SubstringExtents(0, iTextVisual->Text().Length()).Width();