equal
deleted
inserted
replaced
206 Populates the TInt array provided as a parameter with the font pixel sizes. |
206 Populates the TInt array provided as a parameter with the font pixel sizes. |
207 |
207 |
208 @param aLogicalToPixelSizes TInt array to be poulated with font sizes */ |
208 @param aLogicalToPixelSizes TInt array to be poulated with font sizes */ |
209 EXPORT_C void CCoeControlStaticSettings::GetLogicalToPixelFontSizesL(RArray<TInt>& aLogicalToPixelSizes) |
209 EXPORT_C void CCoeControlStaticSettings::GetLogicalToPixelFontSizesL(RArray<TInt>& aLogicalToPixelSizes) |
210 { |
210 { |
|
211 CleanupClosePushL(aLogicalToPixelSizes); |
211 CCoeControlStaticSettings* self = Self(); |
212 CCoeControlStaticSettings* self = Self(); |
212 aLogicalToPixelSizes.Reset(); |
213 aLogicalToPixelSizes.Reset(); |
213 |
214 |
214 if (self) |
215 if (self) |
215 { |
216 { |
222 User::LeaveIfError(aLogicalToPixelSizes.Append(14)); |
223 User::LeaveIfError(aLogicalToPixelSizes.Append(14)); |
223 User::LeaveIfError(aLogicalToPixelSizes.Append(18)); |
224 User::LeaveIfError(aLogicalToPixelSizes.Append(18)); |
224 User::LeaveIfError(aLogicalToPixelSizes.Append(22)); |
225 User::LeaveIfError(aLogicalToPixelSizes.Append(22)); |
225 User::LeaveIfError(aLogicalToPixelSizes.Append(26)); |
226 User::LeaveIfError(aLogicalToPixelSizes.Append(26)); |
226 } |
227 } |
|
228 CleanupStack::Pop(&aLogicalToPixelSizes); |
227 } |
229 } |
228 |
230 |
229 /** |
231 /** |
230 Sets the default array of font pixel sizes. |
232 Sets the default array of font pixel sizes. |
231 |
233 |