idlehomescreen/xmluirendering/renderingplugins/xntextfactory/src/xntextadapter.cpp
branchRCL_3
changeset 35 3321d3e205b6
parent 34 5456b4e8b3a8
equal deleted inserted replaced
34:5456b4e8b3a8 35:3321d3e205b6
  1042     if( lineSpaceProp )
  1042     if( lineSpaceProp )
  1043         {        
  1043         {        
  1044         lineSpace = iNode.UiEngineL()->VerticalPixelValueL( lineSpaceProp, aReference );
  1044         lineSpace = iNode.UiEngineL()->VerticalPixelValueL( lineSpaceProp, aReference );
  1045         }
  1045         }
  1046         
  1046         
  1047     if( lineSpace < 1 )
  1047     if( lineSpace < 0 )
  1048         {
  1048         {
  1049         // Must be at least 1
  1049         // Default
  1050         lineSpace = 1;
  1050         lineSpace = 1;
  1051         }
  1051         }
  1052 
  1052 
  1053     const CAknLayoutFont* layoutFont( CAknLayoutFont::AsCAknLayoutFontOrNull( iFont ) );         
  1053     const CAknLayoutFont* layoutFont( CAknLayoutFont::AsCAknLayoutFontOrNull( iFont ) );         
  1054         
  1054