Kaydet (Commit) e2a235f1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1187654 Logically dead code

Change-Id: I48f35e89112c869131106cd30d0e2456b3ede021
üst 38f6bd69
...@@ -1420,11 +1420,8 @@ bool ScDocFunc::ApplyStyle( const ScMarkData& rMark, const OUString& rStyleName, ...@@ -1420,11 +1420,8 @@ bool ScDocFunc::ApplyStyle( const ScMarkData& rMark, const OUString& rStyleName,
pDoc->ApplySelectionStyle( (ScStyleSheet&)*pStyleSheet, rMark ); pDoc->ApplySelectionStyle( (ScStyleSheet&)*pStyleSheet, rMark );
sal_uInt16 nExtFlags = 0;
if (!AdjustRowHeight( aMultiRange )) if (!AdjustRowHeight( aMultiRange ))
rDocShell.PostPaint( aMultiRange, PAINT_GRID, nExtFlags ); rDocShell.PostPaint( aMultiRange, PAINT_GRID, 0 );
else if (nExtFlags & SC_PF_LINES)
lcl_PaintAbove( rDocShell, aMultiRange ); // fuer Linien ueber dem Bereich
aModificator.SetDocumentModified(); aModificator.SetDocumentModified();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment