[Libreoffice-commits] .: 3 commits - binfilter/bf_sd binfilter/bf_svx binfilter/bf_sw

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jan 25 13:26:30 PST 2011


 binfilter/bf_sd/source/ui/unoidl/sd_unoobj.cxx   |    4 ----
 binfilter/bf_svx/source/svdraw/svx_svdotxln.cxx  |    2 --
 binfilter/bf_sw/source/filter/w4w/sw_w4wpar3.cxx |    2 --
 3 files changed, 8 deletions(-)

New commits:
commit c70379447f7f6caa18c0e94d460eee482ba80e34
Author: Andy Holder <andy.m.holder at gmail.com>
Date:   Mon Jan 24 00:04:44 2011 +0000

    ccpcheck: unused variable

diff --git a/binfilter/bf_sd/source/ui/unoidl/sd_unoobj.cxx b/binfilter/bf_sd/source/ui/unoidl/sd_unoobj.cxx
index 4d62438..d3fa913 100644
--- a/binfilter/bf_sd/source/ui/unoidl/sd_unoobj.cxx
+++ b/binfilter/bf_sd/source/ui/unoidl/sd_unoobj.cxx
@@ -1063,10 +1063,6 @@ void SdXShape::SetStyleSheet( const uno::Any& rAny ) throw( lang::IllegalArgumen
         throw lang::IllegalArgumentException();
 
     pObj->SetStyleSheet( (SfxStyleSheet*)pStyleSheet->getStyleSheet(), sal_False );
-
-    SdDrawDocument* pDoc = NULL;
-    if (mpModel)
-        pDoc = mpModel->GetDoc();
 }
 
 uno::Any SdXShape::GetStyleSheet() const throw( beans::UnknownPropertyException  )
commit 3142105f01d1af3fa5fac5986182d9729cacbe8a
Author: Andy Holder <andy.m.holder at gmail.com>
Date:   Sun Jan 23 23:53:21 2011 +0000

    cppcheck: unused variable

diff --git a/binfilter/bf_svx/source/svdraw/svx_svdotxln.cxx b/binfilter/bf_svx/source/svdraw/svx_svdotxln.cxx
index 9697b42..a8a569c 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdotxln.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdotxln.cxx
@@ -98,7 +98,6 @@ namespace binfilter {
 /*?*/ void ImpSdrObjTextLink::DataChanged( const String& /*rMimeType*/,
 /*?*/ 								const ::com::sun::star::uno::Any & /*rValue*/ )
 /*?*/ {
-/*?*/ 	bool bForceReload=FALSE;
 /*?*/ 	SdrModel* pModel = pSdrObj ? pSdrObj->GetModel() : 0;
 /*?*/ 	SvxLinkManager* pLinkManager= pModel ? pModel->GetLinkManager() : 0;
 /*?*/ 	if( pLinkManager )
@@ -116,7 +115,6 @@ namespace binfilter {
 /*?*/ 				pData->aFileName = aFile;
 /*?*/ 				pData->aFilterName = aFilter;
 /*?*/ 				pSdrObj->SetChanged();
-/*?*/ 				bForceReload = TRUE;
 /*?*/ 			}
 /*?*/ 		}
 /*?*/ 	}
commit 4f37695c89f185ce093ec2a4efe37a5d157bc7f3
Author: Andy Holder <andy.m.holder at gmail.com>
Date:   Sun Jan 23 23:44:23 2011 +0000

    cppcheck: Variables not used

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();


More information about the Libreoffice-commits mailing list