diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-24 13:12:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-24 15:40:22 +0100 |
commit | 6240967cfc6fe17534db9a64c24113ced3f720be (patch) | |
tree | faf865e66dd50a6cd25f07cd0e79db37567e9512 /sc | |
parent | 9be6c22ebc225db4d1be7bb0100a2407e9a8eb0c (diff) |
callcatcher: update unused code
Change-Id: I1f2a94cdcd4329af68d946ff0a74ddec4ac1c590
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/anyrefdg.hxx | 13 | ||||
-rw-r--r-- | sc/source/ui/inc/gridwin.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tabview.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/anyrefdg.cxx | 19 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 11 | ||||
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 12 |
6 files changed, 0 insertions, 59 deletions
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx index 5f717ffd6a67..cb7a087f0ce4 100644 --- a/sc/source/ui/inc/anyrefdg.hxx +++ b/sc/source/ui/inc/anyrefdg.hxx @@ -171,19 +171,6 @@ public: inline bool CanInputDone( bool bForced ); }; -class ScRefHdlModalImpl : public ModalDialog, public ScRefHandler -{ -public: - - virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; - virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; -protected: - ScRefHdlModalImpl(vcl::Window* pParent, const OUString& rID, - const OUString& rUIXMLDescription); - -private: -}; - template< class TWindow, bool bBindRef = true > class ScRefHdlrImplBase: public TWindow, public ScRefHandler { diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index b4d2ef76d1e2..bfc9a9d82f1e 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -405,8 +405,6 @@ public: void UpdateDPFromFieldPopupMenu(); bool UpdateVisibleRange(); - void SetInRefMode( bool bRefMode ); - // #114409# void CursorChanged(); void DrawLayerCreated(); diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index d7e2a2dbf12e..40a4c430b6fa 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.hxx @@ -514,8 +514,6 @@ public: void SetDrawBrushSet( SfxItemSet* pNew, bool bLock ); void ResetBrushDocument(); - void SetInRefMode( bool bRefMode ); - bool ContinueOnlineSpelling(); void EnableAutoSpell( bool bEnable ); void ResetAutoSpell(); diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index aab5194546b7..078d8c08a625 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -1004,23 +1004,4 @@ void ScRefHandler::RefInputDone( bool bForced ) m_aHelper.RefInputDone( bForced ); } -ScRefHdlModalImpl::ScRefHdlModalImpl(vcl::Window* pParent, const OUString& rID, - const OUString& rUIXMLDescription) - : ModalDialog( pParent, rID, rUIXMLDescription) - , ScRefHandler(dynamic_cast<Window&>(*this), NULL, true) -{ -} - -bool ScRefHdlModalImpl::PreNotify( NotifyEvent& rNEvt ) -{ - ScRefHandler::preNotify( rNEvt, true ); - return ModalDialog::PreNotify( rNEvt ); -} - -void ScRefHdlModalImpl::StateChanged( StateChangedType nStateChange ) -{ - ModalDialog::StateChanged( nStateChange ); - ScRefHandler::stateChanged( nStateChange, true ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index f4c7010027a6..89d9b1157e8d 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -6543,15 +6543,4 @@ void ScGridWindow::flushOverlayManager() xOverlayManager->flush(); } -void ScGridWindow::SetInRefMode( bool bInRefMode ) -{ - WinBits nBits = GetStyle(); - if(bInRefMode) - nBits |= WB_REFMODE; - else - nBits &= ~WB_REFMODE; - - SetStyle( nBits ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index ad23cc893ad4..5bdadfef84a6 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -2243,18 +2243,6 @@ void ScTabView::EnableRefInput(bool bFlag) pRowBar[SC_SPLIT_TOP]->EnableInput(bFlag,false); } -void ScTabView::SetInRefMode( bool bRefMode ) -{ - if(pGridWin[SC_SPLIT_BOTTOMLEFT]) - pGridWin[SC_SPLIT_BOTTOMLEFT]->SetInRefMode( bRefMode ); - if(pGridWin[SC_SPLIT_BOTTOMRIGHT]) - pGridWin[SC_SPLIT_BOTTOMRIGHT]->SetInRefMode( bRefMode ); - if(pGridWin[SC_SPLIT_TOPLEFT]) - pGridWin[SC_SPLIT_TOPLEFT]->SetInRefMode( bRefMode ); - if(pGridWin[SC_SPLIT_TOPRIGHT]) - pGridWin[SC_SPLIT_TOPRIGHT]->SetInRefMode( bRefMode ); -} - bool ScTabView::ContinueOnlineSpelling() { bool bChanged = false; |