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

coverity#735513 constant guards dead code

Change-Id: Idba65df85e8fc2131d0cfbdd1b3c25470f0dc0ae
üst 00d39034
......@@ -197,8 +197,7 @@ void SdrTableRtfExporter::WriteCell( sal_Int32 nCol, sal_Int32 nRow )
delete pParaObj;
}
bool bResetPar, bResetAttr;
bResetPar = bResetAttr = false;
bool bResetAttr = false;
SdrTextHorzAdjust eHAdj = xCell->GetTextHorizontalAdjust();
......@@ -240,8 +239,6 @@ void SdrTableRtfExporter::WriteCell( sal_Int32 nCol, sal_Int32 nRow )
RTFOutFuncs::Out_String( mrStrm, aContent );
mrStrm.WriteCharPtr( OOO_STRING_SVTOOLS_RTF_CELL );
if ( bResetPar )
mrStrm.WriteCharPtr( OOO_STRING_SVTOOLS_RTF_PARD ).WriteCharPtr( OOO_STRING_SVTOOLS_RTF_INTBL );
if ( bResetAttr )
mrStrm.WriteCharPtr( OOO_STRING_SVTOOLS_RTF_PLAIN );
}
......
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