sc/source/ui/view/viewfunc.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit cac094a77f83face15ca40e51033119589756b8e Author: Julien Nabet <serval2...@yahoo.fr> Date: Tue Mar 26 19:16:24 2013 +0100
coverity#982306 Logically dead code Change-Id: If02e50e1b57e2cae5834ecb17aa0f955572a2c6f diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index b3a26f4..80e9c2f 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -629,7 +629,6 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Bool bSimple = false; sal_Bool bCommon = false; ScPatternAttr* pCellAttrs = NULL; - EditTextObject* pNewData = NULL; String aString; const ScPatternAttr* pOldPattern = pDoc->GetPattern( nCol, nRow, nTab ); @@ -743,7 +742,6 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, lcl_PostRepaintCondFormat( pDoc->GetCondFormat( nCol, nRow, nTab ), pDocSh ); delete pCellAttrs; - delete pNewData; } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits