diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-22 13:35:39 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-22 15:34:52 +0100 |
commit | 15b6db458f5516377703bab8a2860d43753441ed (patch) | |
tree | 0c667f43306d84f0602e5bbfc41896c43b36aecf | |
parent | 0d682a9d5a9c68b0ba949725bdab3042f2e8aaa1 (diff) |
tdf#91395 - avoid post-dispose charmap crasher.
Change-Id: Ia3536e0297ecd24f6368b9563002a9888904007a
-rw-r--r-- | svx/source/dialog/charmap.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index c57a4e3b8011..104161dfd84d 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 |