[Libreoffice-commits] core.git: svx/source
Michael Meeks
michael.meeks at collabora.com
Fri May 22 05:30:15 PDT 2015
svx/source/dialog/charmap.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 1940d8b85b6cb7321ded254e092cd55bee7007aa
Author: Michael Meeks <michael.meeks at collabora.com>
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
More information about the Libreoffice-commits
mailing list