[PATCH 1/5] cppcheck: Variables not used

Andy Holder andy.m.holder at gmail.com
Sun Jan 23 15:44:23 PST 2011


---
 binfilter/bf_sw/source/filter/w4w/sw_w4wpar3.cxx |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/binfilter/bf_sw/source/filter/w4w/sw_w4wpar3.cxx b/binfilter/bf_sw/source/filter/w4w/sw_w4wpar3.cxx
index 569420a..8ddcbad 100644
--- a/binfilter/bf_sw/source/filter/w4w/sw_w4wpar3.cxx
+++ b/binfilter/bf_sw/source/filter/w4w/sw_w4wpar3.cxx
@@ -1022,7 +1022,6 @@ BOOL SwW4WParser::Read_Analyze_FLO_PDT()// analysieren aller PDTs und ggfs.
                         // Header und Footer definieren
                         SwFrmFmt* pHdFmt = 0;
                         SwFrmFmt* pFtFmt = 0;
-                        W4WRectInfo& rRectInfo = *pRDTInfos->Get( rPDTInfo.nHdRectId );
                         if( pHdInfo )
                         {
                             rFrmFmt.SetAttr( SwFmtHeader( TRUE ));
@@ -1327,7 +1326,6 @@ void SwW4WParser::Read_TextRectangelId()				// TRI
 
                         SwFrmFmt* pHdFmt = 0;
                         SwFrmFmt* pFtFmt = 0;
-                        W4WRectInfo& rRectInfo = *pRDTInfos->Get( pPDTInfo->nHdRectId );
                         if( pHdInfo )
                         {
                             pHdFmt = (SwFrmFmt*)pPageDesc->GetMaster().GetHeader().GetHeaderFmt();
-- 
1.7.3.5


--MP_/S_1zzibHa+Aiw7=XvorsHin
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename=0001-cppcheck-unused-variables-writer.patch



More information about the LibreOffice mailing list