sc/source/filter/rtf/rtfexp.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 894bddec06d811d9cecabdca7133a3b02a184b65 Author: Thomas Arnhold <tho...@arnhold.org> Date: Sat May 10 15:00:54 2014 +0200 coverity#735464 Logically dead code Dead since initial import. Change-Id: Ia9193aa2b90e9ea0e6960605d21a3c34468fc0f7 Reviewed-on: https://gerrit.libreoffice.org/9301 Tested-by: Thomas Arnhold <tho...@arnhold.org> Reviewed-by: Thomas Arnhold <tho...@arnhold.org> diff --git a/sc/source/filter/rtf/rtfexp.cxx b/sc/source/filter/rtf/rtfexp.cxx index bbbda81..356004a 100644 --- a/sc/source/filter/rtf/rtfexp.cxx +++ b/sc/source/filter/rtf/rtfexp.cxx @@ -199,8 +199,7 @@ void ScRTFExport::WriteCell( SCTAB nTab, SCROW nRow, SCCOL nCol ) } } - bool bResetPar, bResetAttr; - bResetPar = bResetAttr = false; + bool bResetAttr(false); const SvxHorJustifyItem& rHorJustifyItem = (const SvxHorJustifyItem&)pAttr->GetItem( ATTR_HOR_JUSTIFY ); const SvxWeightItem& rWeightItem = (const SvxWeightItem&) pAttr->GetItem( ATTR_FONT_WEIGHT ); @@ -243,8 +242,6 @@ void ScRTFExport::WriteCell( SCTAB nTab, SCROW nRow, SCCOL nCol ) RTFOutFuncs::Out_String( rStrm, aContent ); rStrm.WriteCharPtr( OOO_STRING_SVTOOLS_RTF_CELL ); - if ( bResetPar ) - rStrm.WriteCharPtr( OOO_STRING_SVTOOLS_RTF_PARD ).WriteCharPtr( OOO_STRING_SVTOOLS_RTF_INTBL ); if ( bResetAttr ) rStrm.WriteCharPtr( OOO_STRING_SVTOOLS_RTF_PLAIN ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits