summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/dialog/charmap.cxx3
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