[Libreoffice-commits] core.git: svx/source

Caolán McNamara caolanm at redhat.com
Wed Mar 12 02:34:31 PDT 2014


 svx/source/gallery2/galbrws1.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 21ad413aad2c95947cd723073ba59ee3bf332c89
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Mar 12 09:31:43 2014 +0000

    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

diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx
index 81632b0..080ba55 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 -


More information about the Libreoffice-commits mailing list