From 032c0ec6b18718dc2bde580ced9781048a2fdbb9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 6 Jul 2015 09:11:44 +0200 Subject: loplugin:unusedmethods svl Change-Id: Ic136cce6abef44291b7236a6d709f0eee391f311 Reviewed-on: https://gerrit.libreoffice.org/16784 Tested-by: Jenkins Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- framework/source/fwe/helper/undomanagerhelper.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'framework') diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index 8b0c9c58593d..c9b68c7f6761 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -246,7 +246,6 @@ namespace framework virtual void resetAll() SAL_OVERRIDE; virtual void listActionEntered( const OUString& i_comment ) SAL_OVERRIDE; virtual void listActionLeft( const OUString& i_comment ) SAL_OVERRIDE; - virtual void listActionLeftAndMerged() SAL_OVERRIDE; virtual void listActionCancelled() SAL_OVERRIDE; virtual void undoManagerDying() SAL_OVERRIDE; @@ -840,20 +839,6 @@ namespace framework notify( i_comment, &XUndoManagerListener::leftContext ); } - void UndoManagerHelper_Impl::listActionLeftAndMerged() - { -#if OSL_DEBUG_LEVEL > 0 - const bool bCurrentContextIsAPIContext = m_aContextAPIFlags.top(); - m_aContextAPIFlags.pop(); - OSL_ENSURE( bCurrentContextIsAPIContext == m_bAPIActionRunning, "UndoManagerHelper_Impl::listActionLeftAndMerged: API and non-API contexts interwoven!" ); -#endif - - if ( m_bAPIActionRunning ) - return; - - notify( &XUndoManagerListener::leftHiddenContext ); - } - void UndoManagerHelper_Impl::listActionCancelled() { #if OSL_DEBUG_LEVEL > 0 -- cgit