From 26cc8b59b68f30a466b8d0cd9d6a71065858db9e Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 22 Jul 2011 13:54:15 -0400 Subject: nLastAction value assigned but never used. Remove it. --- editeng/source/editeng/eehtml.cxx | 2 -- editeng/source/editeng/eehtml.hxx | 2 -- 2 files changed, 4 deletions(-) diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx index 41a07a9774..8d7ba8e6e8 100644 --- a/editeng/source/editeng/eehtml.cxx +++ b/editeng/source/editeng/eehtml.cxx @@ -523,7 +523,6 @@ void EditHTMLParser::ImpInsertParaBreak() pImpEditEngine->aImportHdl.Call( &aImportInfo ); } aCurSel = pImpEditEngine->ImpInsertParaBreak( aCurSel ); - nLastAction = ACTION_INSERTPARABRK; } void EditHTMLParser::ImpSetAttribs( const SfxItemSet& rItems, EditSelection* pSel ) @@ -682,7 +681,6 @@ void EditHTMLParser::ImpInsertText( const String& rText ) } aCurSel = pImpEditEngine->ImpInsertText( aCurSel, aText ); - nLastAction = ACTION_INSERTTEXT; } void EditHTMLParser::SkipGroup( int nEndToken ) diff --git a/editeng/source/editeng/eehtml.hxx b/editeng/source/editeng/eehtml.hxx index a0d3a2e1a6..ba704e6494 100644 --- a/editeng/source/editeng/eehtml.hxx +++ b/editeng/source/editeng/eehtml.hxx @@ -64,8 +64,6 @@ private: sal_uInt8 nBulletLevel; sal_uInt8 nNumberingLevel; - sal_uInt8 nLastAction; - void StartPara( sal_Bool bReal ); void EndPara( sal_Bool bReal ); void AnchorStart(); -- cgit v1.2.3