diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-22 09:48:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-22 13:11:34 +0100 |
commit | 1a2c28cf0dabd1b84d7130186f562de82cb1ca82 (patch) | |
tree | f54172eb3951868da972602acf12c8f91672f87b /include/sfx2 | |
parent | f5fc81616ccf45edd180cfb8c7002eb50284f90d (diff) |
callcatcher: update unused code
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/app.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/templdlg.hxx | 30 |
2 files changed, 5 insertions, 26 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx index 5993561ac0fe..ee63e4043487 100644 --- a/include/sfx2/app.hxx +++ b/include/sfx2/app.hxx @@ -71,7 +71,6 @@ class SfxProgress; class SfxSlotPool; typedef boost::ptr_vector<SfxStbCtrlFactory> SfxStbCtrlFactArr_Impl; typedef boost::ptr_vector<SfxTbxCtrlFactory> SfxTbxCtrlFactArr_Impl; -class SfxTemplateDialog; class SfxViewFrame; typedef ::std::vector<SfxViewFrame*> SfxViewFrameArr_Impl; class SfxViewShell; diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx index 6e6ed778ddb1..91fbb9af50b2 100644 --- a/include/sfx2/templdlg.hxx +++ b/include/sfx2/templdlg.hxx @@ -28,36 +28,17 @@ #include <sfx2/childwin.hxx> #include <sfx2/basedlgs.hxx> -class SfxTemplateDialog_Impl; - -// class SfxTemplateDialog ----------------------------------------------- -class SfxTemplateDialog : public SfxDockingWindow +namespace SfxTemplate { -private: -friend class SfxTemplateDialog_Impl; - - SfxTemplateDialog_Impl* pImpl; - - virtual void DataChanged( const DataChangedEvent& _rDCEvt ) SAL_OVERRIDE; - virtual void Resize() SAL_OVERRIDE; - virtual SfxChildAlignment CheckAlignment( SfxChildAlignment, SfxChildAlignment ) SAL_OVERRIDE; - virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; - -public: - SfxTemplateDialog( SfxBindings*, SfxChildWindow*, vcl::Window* ); - virtual ~SfxTemplateDialog(); - - virtual void Update(); - // converts from SFX_STYLE_FAMILY Ids to 1-5 - static sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily); + sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily); // converts from 1-5 to SFX_STYLE_FAMILY Ids - static SfxStyleFamily SFX2_DLLPUBLIC NIdToSfxFamilyId(sal_uInt16 nId); -}; + SfxStyleFamily SFX2_DLLPUBLIC NIdToSfxFamilyId(sal_uInt16 nId); +} +class SfxTemplateDialog_Impl; // class SfxTemplatePanelControl ----------------------------------------- - class SFX2_DLLPUBLIC SfxTemplatePanelControl : public DockingWindow { public: @@ -76,7 +57,6 @@ private: SfxBindings* mpBindings; }; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |