diff options
Diffstat (limited to 'svx/source/gallery2/galbrws.cxx')
-rw-r--r-- | svx/source/gallery2/galbrws.cxx | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/svx/source/gallery2/galbrws.cxx b/svx/source/gallery2/galbrws.cxx index 85647f4f16bc..3b717d776a7e 100644 --- a/svx/source/gallery2/galbrws.cxx +++ b/svx/source/gallery2/galbrws.cxx @@ -32,9 +32,6 @@ #include <boost/bind.hpp> -// ------------------------- -// - SvxGalleryChildWindow - -// ------------------------- DBG_NAME(GalleryChildWindow) GalleryChildWindow::GalleryChildWindow( Window* _pParent, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo ) : @@ -47,20 +44,15 @@ GalleryChildWindow::GalleryChildWindow( Window* _pParent, sal_uInt16 nId, SfxBin ( (GalleryBrowser*) pWindow )->Initialize( pInfo ); }; -// ----------------------------------------------------------------------------- - GalleryChildWindow::~GalleryChildWindow() { DBG_DTOR(GalleryChildWindow,NULL); } -// ----------------------------------------------------------------------------- - SFX_IMPL_DOCKINGWINDOW_WITHID( GalleryChildWindow, SID_GALLERY ) -// ------------------ // - GalleryBrowser - -// ------------------ + DBG_NAME(GalleryBrowser) GalleryBrowser::GalleryBrowser( @@ -103,8 +95,6 @@ GalleryBrowser::GalleryBrowser( InitSettings(); } -// ----------------------------------------------------------------------------- - GalleryBrowser::~GalleryBrowser() { delete mpBrowser2; @@ -114,8 +104,6 @@ GalleryBrowser::~GalleryBrowser() DBG_DTOR(GalleryBrowser,NULL); } -// ----------------------------------------------------------------------------- - void GalleryBrowser::InitSettings() { SetBackground( Wallpaper( GALLERY_DLG_COLOR ) ); @@ -135,8 +123,6 @@ void GalleryBrowser::InitSettings() mpBrowser2->SetControlForeground( GALLERY_DLG_COLOR ); } -// ----------------------------------------------------------------------------- - void GalleryBrowser::Resize() { // call parent @@ -199,8 +185,6 @@ void GalleryBrowser::Resize() maLastSize = aNewSize; } -// ----------------------------------------------------------------------------- - sal_Bool GalleryBrowser::KeyInput( const KeyEvent& rKEvt, Window* ) { const sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode(); @@ -236,30 +220,22 @@ sal_Bool GalleryBrowser::KeyInput( const KeyEvent& rKEvt, Window* ) return bRet; } -// ----------------------------------------------------------------------------- - sal_Bool GalleryBrowser::Close() { return SfxDockingWindow::Close(); } -// ----------------------------------------------------------------------------- - void GalleryBrowser::GetFocus() { SfxDockingWindow::GetFocus(); mpBrowser1->GrabFocus(); } -// ----------------------------------------------------------------------------- - void GalleryBrowser::ThemeSelectionHasChanged() { mpBrowser2->SelectTheme( mpBrowser1->GetSelectedTheme() ); } -// ----------------------------------------------------------------------------- - IMPL_LINK_NOARG(GalleryBrowser, SplitHdl) { if(mpSplitter->IsHorizontal()) |