[Libreoffice-commits] .: binfilter/bf_sc binfilter/bf_sd binfilter/bf_sfx2 binfilter/bf_svtools binfilter/bf_svx binfilter/bf_sw
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Wed Jul 18 00:34:26 PDT 2012
binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx | 1 -
binfilter/bf_sd/source/core/sd_sdpage.cxx | 2 --
binfilter/bf_sfx2/source/doc/sfx2_interno.cxx | 1 -
binfilter/bf_svtools/source/filter.vcl/wmf/svt_winwmf.cxx | 10 +++-------
binfilter/bf_svx/source/editeng/svx_impedit3.cxx | 3 ---
binfilter/bf_svx/source/svdraw/svx_impgrfll.cxx | 3 ---
binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx | 3 ---
binfilter/bf_svx/source/xoutdev/svx__ximp.cxx | 1 -
binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx | 1 -
binfilter/bf_sw/source/core/swg/sw_rdmisc.cxx | 1 -
binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx | 1 -
11 files changed, 3 insertions(+), 24 deletions(-)
New commits:
commit 24f44a91db4db8b67045c5cd98a6537ae7c7c5f5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jul 18 09:33:56 2012 +0200
Various Clang 3.1 -Wunsued-variable
Change-Id: I20158a6e4c80d6315e78d5fb8aff211bb4d02606
diff --git a/binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx b/binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx
index 71d8d18..a1dba26 100644
--- a/binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx
+++ b/binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx
@@ -1935,7 +1935,6 @@ namespace binfilter {
/*N*/ default :
/*N*/ break;
/*N*/ }
-/*N*/ ScRange aRange( aTmpRange.MakeRange() );
/*N*/ if ( !aBigRange.aStart.IsValid( pTrack->GetDocument() ) )
/*N*/ { //! HACK!
/*N*/ //! UpdateReference kann nicht mit Positionen ausserhalb des
diff --git a/binfilter/bf_sd/source/core/sd_sdpage.cxx b/binfilter/bf_sd/source/core/sd_sdpage.cxx
index ee9a673..fab5824 100644
--- a/binfilter/bf_sd/source/core/sd_sdpage.cxx
+++ b/binfilter/bf_sd/source/core/sd_sdpage.cxx
@@ -776,8 +776,6 @@ void SdPage::SetAutoLayout(AutoLayout eLayout, BOOL bInit, BOOL bAPICall )
Rectangle aRect2( aLayoutRect );
Rectangle aRect3( aLayoutRect );
Rectangle aRect4( aLayoutRect );
- Size aTitleSize( aTitleRect.GetSize() );
- Point aTitlePos( aTitleRect.TopLeft() );
Size aLayoutSize( aLayoutRect.GetSize() );
Point aLayoutPos( aLayoutRect.TopLeft() );
Size aTempSize;
diff --git a/binfilter/bf_sfx2/source/doc/sfx2_interno.cxx b/binfilter/bf_sfx2/source/doc/sfx2_interno.cxx
index 0b242ae..27b7c9d 100644
--- a/binfilter/bf_sfx2/source/doc/sfx2_interno.cxx
+++ b/binfilter/bf_sfx2/source/doc/sfx2_interno.cxx
@@ -154,7 +154,6 @@ namespace binfilter {
/*N*/ {
/*N*/ if( GetVisArea() != rRect )
/*N*/ {
-/*N*/ Size aSize (GetVisArea().GetSize());
/*N*/ // Groesse des Objects setzen
/*N*/ SvInPlaceObject::SetVisArea( rRect );
/*N*/
diff --git a/binfilter/bf_svtools/source/filter.vcl/wmf/svt_winwmf.cxx b/binfilter/bf_svtools/source/filter.vcl/wmf/svt_winwmf.cxx
index 01367fa..d617a99 100644
--- a/binfilter/bf_svtools/source/filter.vcl/wmf/svt_winwmf.cxx
+++ b/binfilter/bf_svtools/source/filter.vcl/wmf/svt_winwmf.cxx
@@ -1148,20 +1148,16 @@ sal_Bool WMFReader::GetPlaceableBound( Rectangle& rPlaceableBound, SvStream* pSt
break;
case W_META_ROUNDRECT:
- {
- Size aSize( ReadYXExt() );
+ ReadYXExt(); // size
GetWinExtMax( ReadRectangle(), rPlaceableBound, nMapMode );
- }
break;
case W_META_ARC:
case W_META_PIE:
case W_META_CHORD:
- {
- Point aEnd( ReadYX() );
- Point aStart( ReadYX() );
+ ReadYX(); // end
+ ReadYX(); // start
GetWinExtMax( ReadRectangle(), rPlaceableBound, nMapMode );
- }
break;
case W_META_POLYGON:
diff --git a/binfilter/bf_svx/source/editeng/svx_impedit3.cxx b/binfilter/bf_svx/source/editeng/svx_impedit3.cxx
index c629a6f..f65e209 100644
--- a/binfilter/bf_svx/source/editeng/svx_impedit3.cxx
+++ b/binfilter/bf_svx/source/editeng/svx_impedit3.cxx
@@ -2173,7 +2173,6 @@ struct TabInfo
/*N*/ // Informationen fehlen, und sowieso das ganze Object ungescrollt
/*N*/ // dargestellt wird.
/*N*/ // Das Rechteck ist unendlich gross.
-/*N*/ Point aOrigin( aStartPos );
/*N*/
/*N*/ // --------------------------------------------------
/*N*/ // Ueber alle Absaetze...
@@ -2204,8 +2203,6 @@ struct TabInfo
/*N*/ else
/*?*/ aStartPos.X() -= pPortion->GetFirstLineOffset();
/*N*/
-/*N*/ Point aParaStart( aStartPos );
-/*N*/
/*N*/ const SvxLineSpacingItem& rLSItem = ((const SvxLineSpacingItem&)pPortion->GetNode()->GetContentAttribs().GetItem( EE_PARA_SBL ));
/*N*/ sal_uInt16 nSBL = ( rLSItem.GetInterLineSpaceRule() == SVX_INTER_LINE_SPACE_FIX )
/*N*/ ? GetYValue( rLSItem.GetInterLineSpace() ) : 0;
diff --git a/binfilter/bf_svx/source/svdraw/svx_impgrfll.cxx b/binfilter/bf_svx/source/svdraw/svx_impgrfll.cxx
index e61a460..30ee8ec 100644
--- a/binfilter/bf_svx/source/svdraw/svx_impgrfll.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_impgrfll.cxx
@@ -49,9 +49,6 @@ namespace binfilter {
/*N*/ mbCommentWritten( false )
/*N*/ {
/*N*/ XFillStyle eFillStyle( ITEMVALUE( rFillItemSet, XATTR_FILLSTYLE, XFillStyleItem ) );
-/*N*/ XGradient aGradient( ITEMVALUE( rFillItemSet, XATTR_FILLGRADIENT, XFillGradientItem ) );
-/*N*/ XHatch aHatch( ITEMVALUE( rFillItemSet, XATTR_FILLHATCH, XFillHatchItem ) );
-/*N*/
/*N*/ if( eFillStyle != XFILL_NONE && mrXOut.GetOutDev()->GetConnectMetaFile() )
/*?*/ {DBG_BF_ASSERT(0, "STRIP");
/*?*/ }
diff --git a/binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx b/binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx
index 1efdd91..fbf5d3c 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx
@@ -209,9 +209,6 @@ namespace binfilter {
/*?*/ }
/*N*/ }
/*N*/ }
-/*N*/ if (bFrmHdl) {
-/*N*/ Rectangle aRect(GetMarkedObjRect());
-/*N*/ }
// Drehpunkt/Spiegelachse
/*N*/ AddDragModeHdl(eDragMode);
diff --git a/binfilter/bf_svx/source/xoutdev/svx__ximp.cxx b/binfilter/bf_svx/source/xoutdev/svx__ximp.cxx
index 0bc691a..14d755b 100644
--- a/binfilter/bf_svx/source/xoutdev/svx__ximp.cxx
+++ b/binfilter/bf_svx/source/xoutdev/svx__ximp.cxx
@@ -154,7 +154,6 @@ namespace binfilter {
/*?*/ }
/*?*/ else
/*?*/ {
-/*?*/ Rectangle aPolyRect( rPolyPoly.GetBoundRect() );
/*?*/ /*GDIMetaFile* pMtf = */ pOut->GetConnectMetaFile();
/*?*/
/*?*/ pOut->Push();
diff --git a/binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx b/binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx
index 8f35aaa..90ae3b1 100644
--- a/binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx
+++ b/binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx
@@ -713,7 +713,6 @@ namespace binfilter {
// calculated lowers, not only if there space left in its upper.
/*N*/ if( (Frm().*fnRect->fnBottomDist)( nDeadLine ) > 0 )
/*N*/ {
-/*N*/ const Size aOldSz( Prt().SSize() );
/*N*/ (Frm().*fnRect->fnSetBottom)( nDeadLine );
/*N*/ long nHeight = (Frm().*fnRect->fnGetHeight)();
/*N*/ long nTop = CalcUpperSpace();
diff --git a/binfilter/bf_sw/source/core/swg/sw_rdmisc.cxx b/binfilter/bf_sw/source/core/swg/sw_rdmisc.cxx
index d677b9c..eb05912 100644
--- a/binfilter/bf_sw/source/core/swg/sw_rdmisc.cxx
+++ b/binfilter/bf_sw/source/core/swg/sw_rdmisc.cxx
@@ -240,7 +240,6 @@ namespace binfilter {
r >> cStyle >> cTransparent;
Color aCol(InColor());
- Color aTmpFillColor(InColor());
return aCol;
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx b/binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx
index fde0201..e657713 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx
@@ -341,7 +341,6 @@ public:
/*N*/ const void *pMagic2 = NULL;
/*N*/ USHORT nIndex2 = 0;
/*N*/ SwSubFont aFont( *this );
-/*N*/ Point aStartPos( rDo.GetInf().GetPos() );
/*N*/
/*N*/ const BOOL bUnderStriked = aFont.GetUnderline() != UNDERLINE_NONE
/*N*/ || aFont.GetStrikeout() != STRIKEOUT_NONE;
More information about the Libreoffice-commits
mailing list