diff options
author | Noel Power <noel.power@suse.com> | 2012-08-17 13:10:45 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-08-17 13:10:45 +0100 |
commit | e03553ab7515b60851dfca2c16a2fcae7a49f441 (patch) | |
tree | d5f132d2bbb5c75bce038e514f99ca60076128ae /basctl/source/basicide/layout.hxx | |
parent | 44861f2435a0c487d4fb5b196f7e4fe7f9569396 (diff) |
followup changes to 44861f2435a0c487d4fb5b196f7e4fe7f9569396
a) got rid of defaulted params in virtual base class methods
b) made some no-op virtual methods in the base class pure thus making the base
class abstract
c) made LayoutManager no longer inherit utl::ConfigurationListener as it wasn't
actually listening or acting on any configuration changes
Change-Id: Iab1783f6b5a35b130287a2aedbd1dc8413793182
Diffstat (limited to 'basctl/source/basicide/layout.hxx')
-rw-r--r-- | basctl/source/basicide/layout.hxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/basctl/source/basicide/layout.hxx b/basctl/source/basicide/layout.hxx index eca1b985c547..2f733f852348 100644 --- a/basctl/source/basicide/layout.hxx +++ b/basctl/source/basicide/layout.hxx @@ -40,7 +40,7 @@ namespace basctl // Layout -- the common base of ModulLayout and DialogLayout. // Handles the splitting lines and the dockable windows. // -class Layout: public Window, public utl::ConfigurationListener +class Layout: public Window { public: void DockaWindow (DockingWindow*); @@ -48,9 +48,8 @@ public: virtual void Activating (IDEBaseWindow&); virtual void Deactivating (); - virtual void ExecuteGlobal (SfxRequest&); - virtual void GetState (SfxItemSet&, unsigned nWhich); - virtual void UpdateDebug (bool bBasicStopped = false); + virtual void GetState (SfxItemSet&, unsigned nWhich) = 0; + virtual void UpdateDebug (bool bBasicStopped ) = 0; protected: Layout (Window* pParent); @@ -63,10 +62,8 @@ protected: // Window: virtual void Resize (); virtual void DataChanged (DataChangedEvent const& rDCEvt); - // ConfigurationListener: - virtual void ConfigurationChanged (utl::ConfigurationBroadcaster*, sal_uInt32); // new: - virtual void OnFirstSize (int nWidth, int nHeight); + virtual void OnFirstSize (int nWidth, int nHeight) = 0; private: // the main child window (either ModulWindow or DialogWindow) |