diff -r 9674c1a575e9 -r b8fae6b8a148 idlehomescreen/xmluirendering/renderingplugins/xnclockfactory/src/xnclockface.cpp --- a/idlehomescreen/xmluirendering/renderingplugins/xnclockfactory/src/xnclockface.cpp Mon Mar 15 12:39:47 2010 +0200 +++ b/idlehomescreen/xmluirendering/renderingplugins/xnclockfactory/src/xnclockface.cpp Wed Mar 31 21:17:19 2010 +0300 @@ -113,16 +113,6 @@ CXnNodePluginIf* date( aAdapter.Date() ); - TInt ampmWidth( 0 ); - - if( TLocale().TimeFormat() == ETime12 ) - { - // Measure the full width of the ampm string - ampmWidth = AknBidiTextUtils::MeasureTextBoundsWidth( *ampmFont, ampm, - CFont::TMeasureTextInput::EFVisualOrder ); - } - - const TInt deltaHeight( aRect.Height() - clockFont->TextPaneHeight() ); TInt offset( clockFont->TextPaneTopToBaseline() + deltaHeight / 2 );