diff options
Diffstat (limited to 'svx/source/gallery2/GalleryControl.cxx')
-rw-r--r-- | svx/source/gallery2/GalleryControl.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/svx/source/gallery2/GalleryControl.cxx b/svx/source/gallery2/GalleryControl.cxx index d7b2a969357f..9a073954f1d4 100644 --- a/svx/source/gallery2/GalleryControl.cxx +++ b/svx/source/gallery2/GalleryControl.cxx @@ -20,8 +20,7 @@ #include <GalleryControl.hxx> #include <svx/gallery1.hxx> -#include "galbrws1.hxx" -#include <galbrws2.hxx> +#include <galbrws1.hxx> namespace svx::sidebar { @@ -30,10 +29,7 @@ GalleryControl::GalleryControl(weld::Widget* pParent) , mpGallery(Gallery::GetGalleryInstance()) , mxBrowser1(new GalleryBrowser1( *m_xBuilder, - mpGallery, - [this] () - { return mxBrowser2->SelectTheme(mxBrowser1->GetSelectedTheme()); })) - , mxBrowser2(new GalleryBrowser2(*m_xBuilder, mpGallery)) + mpGallery)) { mxBrowser1->SelectTheme(0); } |