diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-26 19:16:24 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-26 19:16:24 +0100 |
commit | cac094a77f83face15ca40e51033119589756b8e (patch) | |
tree | cb61b14cdd60ca3c541dd287ae8fa53e9fad4c8d /sc | |
parent | daac7e3828e97d325e11b165a04b58ff4f96b131 (diff) |
coverity#982306 Logically dead code
Change-Id: If02e50e1b57e2cae5834ecb17aa0f955572a2c6f
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index b3a26f4ba745..80e9c2f7e856 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 { |