From 21ad413aad2c95947cd723073ba59ee3bf332c89 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Mar 2014 09:31:43 +0000 Subject: fix inability to interact with gallery theme list box i.e. can't scroll it or select any entries regression from 602c87b4259d118e5db6d8a990c4695103f916dd Change-Id: I9c108cde6185332bc32284b0cafb63e36b048220 --- svx/source/gallery2/galbrws1.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index 81632b074947..080ba5565251 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -90,7 +90,7 @@ void GalleryThemeListBox::DataChanged( const DataChangedEvent& rDCEvt ) bool GalleryThemeListBox::PreNotify( NotifyEvent& rNEvt ) { - bool nDone = true; + bool bDone = false; if( rNEvt.GetType() == EVENT_COMMAND ) { @@ -104,10 +104,10 @@ bool GalleryThemeListBox::PreNotify( NotifyEvent& rNEvt ) const KeyEvent* pKEvt = rNEvt.GetKeyEvent(); if( pKEvt ) - nDone = static_cast< GalleryBrowser1* >( GetParent() )->KeyInput( *pKEvt, this ); + bDone = static_cast< GalleryBrowser1* >( GetParent() )->KeyInput( *pKEvt, this ); } - return( nDone || ListBox::PreNotify( rNEvt ) ); + return( bDone || ListBox::PreNotify( rNEvt ) ); } // - GalleryBrowser1 - -- cgit