Kaydet (Commit) 388734a1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-member-function

Change-Id: I535617f838f8b0ed7b767c449f40cb54a872be27
üst 2a6976df
...@@ -948,8 +948,6 @@ namespace ...@@ -948,8 +948,6 @@ namespace
{ {
eEndDragObj, eEndDragObj,
eEndAction, eEndAction,
eMoveAction,
eMarkAction,
eForceToAnotherPage, eForceToAnotherPage,
eBreakAction eBreakAction
}; };
...@@ -958,12 +956,10 @@ namespace ...@@ -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 ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment