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

Noel Grandin noel.grandin at collabora.co.uk
Sat Nov 18 06:41:31 UTC 2017


 svx/source/gallery2/gallery1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d097883541b9d244e50ced7fe49a4d7a0f65cfd
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Nov 17 16:02:17 2017 +0200

    tdf#113855 Assertion while customizing Bullets and Numbering
    
    can't find an easy way of removing the duplication, even though
    that BeginLocking() stuff looks ripe for simplification.
    
    Change-Id: I97b580b3668381c12b62136ea09772d91ab11eac
    Reviewed-on: https://gerrit.libreoffice.org/44884
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx
index c089ba034e44..c3d32d6f1971 100644
--- a/svx/source/gallery2/gallery1.cxx
+++ b/svx/source/gallery2/gallery1.cxx
@@ -763,7 +763,7 @@ GalleryTheme* Gallery::AcquireTheme( const OUString& rThemeName, SfxListener& rL
     GalleryThemeEntry*      pThemeEntry = ImplGetThemeEntry( rThemeName );
 
     if( pThemeEntry && ( ( pTheme = ImplGetCachedTheme( pThemeEntry ) ) != nullptr ) )
-        rListener.StartListening( *pTheme );
+        rListener.StartListening( *pTheme, true );
 
     return pTheme;
 }


More information about the Libreoffice-commits mailing list