[PATCH 4/5] ccpcheck: unused variable

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


---
 binfilter/bf_sd/source/ui/unoidl/sd_unoobj.cxx |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

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  )
-- 
1.7.3.5


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



More information about the LibreOffice mailing list