-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,
eEndAction,
eMoveAction,
eMarkAction,
eForceToAnotherPage,
eBreakAction
};
@@ -958,12 +956,10 @@ namespace
private:
SectionViewAction m_eAction;
sal_Bool m_bCopy;
Point m_aPoint;
public:
ApplySectionViewAction( sal_Bool _bCopy ) : m_eAction( eEndDragObj ), m_bCopy( _bCopy ) { }
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 )
{
@@ -977,12 +973,6 @@ namespace
if ( rView.IsAction() )
rView.EndAction ( );
break;
case eMoveAction:
rView.MovAction ( m_aPoint );
break;
case eMarkAction:
rView.BegMarkObj ( m_aPoint );
break;
case eForceToAnotherPage:
rView.ForceMarkedToAnotherPage();
break;