diff options
Diffstat (limited to 'svx/source/gallery2/galbrws.cxx')
-rw-r--r-- | svx/source/gallery2/galbrws.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/svx/source/gallery2/galbrws.cxx b/svx/source/gallery2/galbrws.cxx index 4260aec4b8..2082198547 100644 --- a/svx/source/gallery2/galbrws.cxx +++ b/svx/source/gallery2/galbrws.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,12 +33,12 @@ #include <vcl/split.hxx> #include <vcl/ctrl.hxx> -#include <svtools/pathoptions.hxx> +#include <unotools/pathoptions.hxx> #include <sfx2/app.hxx> #include <sfx2/sfxsids.hrc> #include "gallery.hrc" -#include "galmisc.hxx" -#include "gallery1.hxx" +#include "svx/galmisc.hxx" +#include "svx/gallery1.hxx" #include "galbrws1.hxx" #include "galbrws2.hxx" #include "galbrws.hxx" @@ -52,7 +52,7 @@ class GallerySplitter : public Splitter protected: virtual void DataChanged( const DataChangedEvent& rDCEvt ); - + public: GallerySplitter( Window* pParent, const ResId& rResId ); @@ -117,7 +117,7 @@ GalleryBrowser::GalleryBrowser( SfxBindings* _pBindings, SfxChildWindow* pCW, FreeResource(); SetMinOutputSizePixel( maLastSize = GetOutputSizePixel() ); - + mpBrowser1->SelectTheme( 0 ); mpBrowser1->Show( TRUE ); mpBrowser2->Show( TRUE ); @@ -129,7 +129,7 @@ GalleryBrowser::GalleryBrowser( SfxBindings* _pBindings, SfxChildWindow* pCW, } // ----------------------------------------------------------------------------- - + GalleryBrowser::~GalleryBrowser() { delete mpBrowser2; @@ -171,12 +171,12 @@ void GalleryBrowser::Resize() Point aSplitPos( mpSplitter->GetPosPixel() ); const Size aSplitSize( mpSplitter->GetOutputSizePixel() ); - mpBrowser1->SetPosSizePixel( Point( nFrameWidth, nFrameWidth ), + mpBrowser1->SetPosSizePixel( Point( nFrameWidth, nFrameWidth ), Size( aSplitPos.X() - nFrameWidth, aNewSize.Height() - nFrameWidth2 ) ); - + mpSplitter->SetPosSizePixel( aSplitPos, Size( aSplitSize.Width(), aNewSize.Height() ) ); mpSplitter->SetDragRectPixel( Rectangle( Point( nFrameWidth2, 0 ), Size( aNewSize.Width() - ( nFrameWidth2 << 1 ) - aSplitSize.Width(), aNewSize.Height() ) ) ); - + mpBrowser2->SetPosSizePixel( Point( aSplitPos.X() + aSplitSize.Width(), nFrameWidth ), Size( aNewSize.Width() - aSplitSize.Width() - aSplitPos.X() - nFrameWidth, aNewSize.Height() - nFrameWidth2 ) ); @@ -204,7 +204,7 @@ BOOL GalleryBrowser::KeyInput( const KeyEvent& rKEvt, Window* ) else mpBrowser1->mpThemes->GrabFocus(); } - else + else { if( mpBrowser1->mpThemes->HasChildPathFocus( TRUE ) ) mpBrowser1->maNewTheme.GrabFocus(); |