svx/source/dialog/charmap.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 3d6b9197d2b8aa690c5afaa920a28b1d9f0407c0 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Aug 12 13:43:27 2015 +0100 Resolves: tdf#93113 crash on revisiting insert special character this effectively reverts commit c43ee00e5d2edfebfa148b310813335aab27db34 Author: Herbert Duerr <h...@openoffice.org> Date: Wed Aug 15 13:20:51 2001 +0000 #91025# reduce flicker in charmap dialog in favour of the new double buffering Paint is calling RecalculateFont which calls SelectIndex which calls Update which calls Paint, boom Change-Id: I69e9f53b7db09837ff08a2ce9fc6f81a52b5c794 (cherry picked from commit 79395c934771818686e488a7c2e382a00456c8a1) Reviewed-on: https://gerrit.libreoffice.org/17675 Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> Reviewed-by: Jan Holesovsky <ke...@collabora.com> Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Miklos Vajna <vmik...@collabora.co.uk> diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index df7d68e..6a52644 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -602,7 +602,6 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus ) aVscrollSB->SetThumbPos( nNewPos ); nSelectedIndex = bFocus ? nMapIndex+1 : -1; Invalidate(); - Update(); } else if( nNewIndex < FirstInView() ) { @@ -612,8 +611,6 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus ) aVscrollSB->SetThumbPos( nOldPos - nDelta ); nSelectedIndex = nNewIndex; Invalidate(); - if( nDelta ) - Update(); } else if( nNewIndex > LastInView() ) { @@ -626,10 +623,9 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus ) nSelectedIndex = nNewIndex; Invalidate(); } - if( nOldPos != aVscrollSB->GetThumbPos() ) + else if (nOldPos != aVscrollSB->GetThumbPos()) { Invalidate(); - Update(); } } else
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits