diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-02 13:50:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:00 +0200 |
commit | 5133b27e638140ba574016b33dae70ca92edc323 (patch) | |
tree | 8c113b072c017a2beb6b96fa144c7ccb399373f5 /include/sfx2 | |
parent | 062e40c76bcab664907737feace74f134a25c29c (diff) |
loplugin:constantfunction: sfx2
Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/app.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/childwin.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/ctrlitem.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/dockwin.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/doctempl.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/frame.hxx | 7 | ||||
-rw-r--r-- | include/sfx2/module.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/objsh.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/shell.hxx | 25 | ||||
-rw-r--r-- | include/sfx2/stbitem.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/viewsh.hxx | 26 |
11 files changed, 4 insertions, 67 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx index 56bea9be35ed..3977dea8f0c4 100644 --- a/include/sfx2/app.hxx +++ b/include/sfx2/app.hxx @@ -121,8 +121,6 @@ class SFX2_DLLPUBLIC SfxApplication: public SfxShell DECL_DLLPRIVATE_LINK( GlobalBasicErrorHdl_Impl, StarBASIC* ); static SfxApplication* Create(); - void Init(); - void Exit(); void SettingsChange( sal_uInt16, const AppSettings & ); void Quit(); void Deinitialize(); diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index 8137027a9055..a74b236a3f63 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -143,7 +143,6 @@ public: FloatingWindow* GetFloatingWindow() const; virtual void Resizing( Size& rSize ); - bool Close(); static void RegisterChildWindowContext(SfxModule*, sal_uInt16, SfxChildWinContextFactory*); }; diff --git a/include/sfx2/ctrlitem.hxx b/include/sfx2/ctrlitem.hxx index 63648c7fea1a..aa38dc0e54b9 100644 --- a/include/sfx2/ctrlitem.hxx +++ b/include/sfx2/ctrlitem.hxx @@ -72,7 +72,6 @@ public: virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ); - void DeleteFloatingWindow(); SfxMapUnit GetCoreMetric() const; diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx index 9f2354cf0cdd..57f256707658 100644 --- a/include/sfx2/dockwin.hxx +++ b/include/sfx2/dockwin.hxx @@ -103,7 +103,6 @@ public: void SetMinOutputSizePixel( const Size& rSize ); Size GetMinOutputSizePixel() const; virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; - void FadeIn( bool ); DECL_LINK(TimerHdl, void *); SAL_DLLPRIVATE void Initialize_Impl(); diff --git a/include/sfx2/doctempl.hxx b/include/sfx2/doctempl.hxx index 0d01210c8e9c..0bbec0875479 100644 --- a/include/sfx2/doctempl.hxx +++ b/include/sfx2/doctempl.hxx @@ -56,7 +56,6 @@ public: ~SfxDocumentTemplates(); bool IsConstructed() { return pImp != NULL; } - void Construct(); const SfxDocumentTemplates &operator=(const SfxDocumentTemplates &); diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx index 44ad2db0c78b..fcd6c46c748b 100644 --- a/include/sfx2/frame.hxx +++ b/include/sfx2/frame.hxx @@ -150,16 +150,15 @@ public: SAL_DLLPRIVATE SfxFrame* GetContainingDocFrame_Impl( SfxFrame* pSelf ); void UpdateDescriptor( SfxObjectShell *pDoc ); void Resize(); - bool HasComponent() const; ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > - GetComponent() const; + GetComponent() const; void ReleaseComponent(); ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > - GetFrameInterface() const; + GetFrameInterface() const; void Appear(); void AppearWithUpdate(); ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > - GetController() const; + GetController() const; bool IsInPlace() const; diff --git a/include/sfx2/module.hxx b/include/sfx2/module.hxx index b3646bcdbb94..4c30e4f2cac4 100644 --- a/include/sfx2/module.hxx +++ b/include/sfx2/module.hxx @@ -67,7 +67,7 @@ public: private: /// SfxInterface initializer. - static void InitInterface_Impl(); + static void InitInterface_Impl() {} public: diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 1eda88cbf7ad..c1361ce9241a 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -403,12 +403,10 @@ public: static sal_uInt32 HandleFilter( SfxMedium* pMedium, SfxObjectShell* pDoc ); - void ViewAssigned(); virtual bool PrepareClose(bool bUI = true); virtual bool IsInformationLost(); virtual sal_uInt16 GetHiddenInformationState( sal_uInt16 nStates ); sal_Int16 QueryHiddenInformation( HiddenWarningFact eFact, vcl::Window* pParent ); - bool HasSecurityOptOpenReadOnly() const; bool IsSecurityOptOpenReadOnly() const; void SetSecurityOptOpenReadOnly( bool bOpenReadOnly = true ); diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx index a691b6a44e3d..7679eec6e527 100644 --- a/include/sfx2/shell.hxx +++ b/include/sfx2/shell.hxx @@ -378,31 +378,6 @@ public: virtual void Deactivate(bool bMDI); /** - A parent of the <SfxDispatcher> on which the SfxShell is located, has - become active, or the SfxShell instance was pushed on a <SfxDispatcher>, - which parent is active. - - The base implementation is empty and does not need to be called. - - [Cross-reference] - - SfxShell::Activate() - */ - void ParentActivate(); - - /** - The active parent of the <SfxDispatcher> on which the SfxShell is located, - has been disabled. - - The base implementation is empty and does not need to be called. - - [Cross-reference] - - SfxShell::Deactivate() - */ - void ParentDeactivate(); - - /** This method returns a pointer to the <SfxDispatcher>, when the SfxShell is currently <UI-active> or a NULL-pointer if it is not UI-active. diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx index f5e146c64dc8..835fcff98b46 100644 --- a/include/sfx2/stbitem.hxx +++ b/include/sfx2/stbitem.hxx @@ -98,7 +98,6 @@ protected: virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ); virtual void Click(); - void DoubleClick(); virtual void Command( const CommandEvent& rCEvt ); virtual bool MouseButtonDown( const MouseEvent & ); virtual bool MouseMove( const MouseEvent & ); @@ -114,8 +113,6 @@ public: sal_uInt16 GetSlotId() const { return nSlotId; } sal_uInt16 GetId() const { return nId; } StatusBar& GetStatusBar() const { return *pBar; } - void CaptureMouse(); - void ReleaseMouse(); static SfxStatusBarControl* CreateControl( sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar *pBar, SfxModule* ); static void RegisterStatusBarControl(SfxModule*, SfxStbCtrlFactory*); diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index 42cea7201da8..d751e6307862 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -175,8 +175,6 @@ public: virtual ErrCode DoVerb(long nVerb); void OutplaceActivated( bool bActive, SfxInPlaceClient* pClient ); - void InplaceActivating( SfxInPlaceClient* pClient ); - void InplaceDeactivated( SfxInPlaceClient* pClient ); virtual void UIActivating( SfxInPlaceClient* pClient ); virtual void UIDeactivated( SfxInPlaceClient* pClient ); @@ -190,7 +188,6 @@ public: * has been set. By the time this is called the document has been fully * imported. */ - void Initialize(); virtual bool PrepareClose( bool bUI = true ); virtual OUString GetSelectionText( bool bCompleteWords = false ); virtual bool HasSelection( bool bText = true ) const; @@ -205,8 +202,6 @@ public: virtual const SfxShell* GetFormShell() const { return 0; }; // Focus, KeyInput, Cursor - void GotFocus() const; - inline void LostFocus() const; virtual void ShowCursor( bool bOn = true ); virtual bool KeyInput( const KeyEvent &rKeyEvent ); bool Escape(); @@ -310,27 +305,6 @@ public: -inline void SfxViewShell::LostFocus() const - -/* [Description] - - This method has to be called by the application developer, if the edit - window has lost the focus. The SFx has for example the ability to turn off - the accelerator, so that the cursor keys, the Delete button, etc. work in - certain Floating-Windows, even though they are redefined by the - Accelerator. - - [Note] - - <StarView> unfortunately does not provide the possibility to define - such events 'from the side'. -*/ - -{ -} - - - inline SfxViewFrame* SfxViewShell::GetViewFrame() const /* [Description] |