diff -r 5a1685599b76 -r 8152b1f1763a textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbubblectrl.cpp --- a/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbubblectrl.cpp Wed Sep 15 12:34:44 2010 +0300 +++ b/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbubblectrl.cpp Wed Oct 13 14:55:58 2010 +0300 @@ -66,8 +66,6 @@ EXPORT_C CBubbleCtrl::~CBubbleCtrl() { - Close(); - if ( iText ) delete iText; @@ -102,9 +100,7 @@ iForgroundBmp = aBmpId; iForgroundBmpMask = aMaskBmpId; - iBgSkinId = aBgSkinId; - - iNeedRedraw = ETrue; + iBgSkinId = aBgSkinId; } EXPORT_C void CBubbleCtrl::Popup(const TRect& aRect) @@ -232,14 +228,12 @@ { struct SData { - TUint32 ctrl; TBool flag; TRect pos; CFbsBitmap* bmp; CFbsBitmap* mask; } data; - data.ctrl = (TUint32)this; data.flag = ETrue; data.pos = Rect(); data.bmp = iBitmap; @@ -278,9 +272,7 @@ iForgroundBmpMask = aMaskBmpId; iFirstBmpId = aFirstBmpId; iMiddleBmpId = aMiddleBmpId; - iLastBmpId = aLastBmpId; - - iNeedRedraw = ETrue; + iLastBmpId = aLastBmpId; } EXPORT_C void CBubbleCtrl::Close() @@ -321,13 +313,11 @@ { struct SData { - TUint32 ctrl; TBool flag; TRect pos; CFbsBitmap* bmp; } data; - data.ctrl = (TUint32)this; data.flag = EFalse; data.pos = Rect(); data.bmp = iBitmap;