-Werror,-Wunused-member-function

Change-Id: I535617f838f8b0ed7b767c449f40cb54a872be27
This commit is contained in:
Stephan Bergmann
2013-11-14 09:45:20 +01:00
parent 2a6976dfa9
commit 388734a14f

View File

@@ -948,8 +948,6 @@ namespace
{ {
eEndDragObj, eEndDragObj,
eEndAction, eEndAction,
eMoveAction,
eMarkAction,
eForceToAnotherPage, eForceToAnotherPage,
eBreakAction eBreakAction
}; };
@@ -958,12 +956,10 @@ namespace
private: private:
SectionViewAction m_eAction; SectionViewAction m_eAction;
sal_Bool m_bCopy; sal_Bool m_bCopy;
Point m_aPoint;
public: public:
ApplySectionViewAction( sal_Bool _bCopy ) : m_eAction( eEndDragObj ), m_bCopy( _bCopy ) { } ApplySectionViewAction( sal_Bool _bCopy ) : m_eAction( eEndDragObj ), m_bCopy( _bCopy ) { }
ApplySectionViewAction(SectionViewAction _eAction = eEndAction ) : m_eAction( _eAction ) { } ApplySectionViewAction(SectionViewAction _eAction = eEndAction ) : m_eAction( _eAction ) { }
ApplySectionViewAction( const Point& _rPoint, SectionViewAction _eAction = eMoveAction ) : m_eAction( _eAction ), m_bCopy( sal_False ), m_aPoint( _rPoint ) { }
void operator() ( const OViewsWindow::TSectionsMap::value_type& _rhs ) void operator() ( const OViewsWindow::TSectionsMap::value_type& _rhs )
{ {
@@ -977,12 +973,6 @@ namespace
if ( rView.IsAction() ) if ( rView.IsAction() )
rView.EndAction ( ); rView.EndAction ( );
break; break;
case eMoveAction:
rView.MovAction ( m_aPoint );
break;
case eMarkAction:
rView.BegMarkObj ( m_aPoint );
break;
case eForceToAnotherPage: case eForceToAnotherPage:
rView.ForceMarkedToAnotherPage(); rView.ForceMarkedToAnotherPage();
break; break;