Lines 129-139
Link Here
|
129 |
rString.Erase(); |
129 |
rString.Erase(); |
130 |
else if ( pFCell->IsValue() ) |
130 |
else if ( pFCell->IsValue() ) |
131 |
{ |
131 |
{ |
132 |
double fValue = pFCell->GetValue(); |
132 |
if(pFCell->GetFormatType() == NUMBERFORMAT_LOGICAL) |
133 |
if ( !bNullVals && fValue == 0.0 ) |
133 |
{ |
134 |
rString.Erase(); |
134 |
String aCellString; |
|
|
135 |
double fValue = pFCell->GetValue(); |
136 |
if(fValue) |
137 |
aCellString = rFormatter.GetTrueString(); |
138 |
else |
139 |
aCellString = rFormatter.GetFalseString(); |
140 |
rFormatter.GetOutputString( aCellString, nFormat, rString, ppColor ); |
141 |
|
142 |
} |
135 |
else |
143 |
else |
136 |
rFormatter.GetOutputString( fValue, nFormat, rString, ppColor ); |
144 |
{ |
|
|
145 |
double fValue = pFCell->GetValue(); |
146 |
if ( !bNullVals && fValue == 0.0 ) |
147 |
rString.Erase(); |
148 |
else |
149 |
rFormatter.GetOutputString( fValue, nFormat, rString, ppColor ); |
150 |
} |
137 |
} |
151 |
} |
138 |
else |
152 |
else |
139 |
{ |
153 |
{ |