svx/source/dialog/charmap.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 1940d8b85b6cb7321ded254e092cd55bee7007aa
Author: Michael Meeks <[email protected]>
Date: Fri May 22 13:35:39 2015 +0100
tdf#91395 - avoid post-dispose charmap crasher.
Change-Id: Ia3536e0297ecd24f6368b9563002a9888904007a
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx
index c57a4e3..104161d 100644
--- a/svx/source/dialog/charmap.cxx
+++ b/svx/source/dialog/charmap.cxx
@@ -569,6 +569,9 @@ void SvxShowCharSet::RecalculateFont(vcl::RenderContext&
rRenderContext)
void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus )
{
+ if( !aVscrollSB )
+ return;
+
if( nNewIndex < 0 )
{
// need to scroll see closest unicode
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits