From 66c315bcf2b78c4928d1e436d1a853f58f4cccdb Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 21 May 2013 17:05:42 +0300 Subject: WaE: unused variables Change-Id: I52d43a35e621636175e6c56bc068837d3a84bec4 --- sc/source/ui/sidebar/CellBorderStyleControl.cxx | 3 --- sc/source/ui/sidebar/CellLineStyleValueSet.cxx | 2 -- 2 files changed, 5 deletions(-) (limited to 'sc/source/ui/sidebar') diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.cxx b/sc/source/ui/sidebar/CellBorderStyleControl.cxx index 867d1c0308cf..85ffd6f23eaa 100644 --- a/sc/source/ui/sidebar/CellBorderStyleControl.cxx +++ b/sc/source/ui/sidebar/CellBorderStyleControl.cxx @@ -137,7 +137,6 @@ void CellBorderStyleControl::Initialize() IMPL_LINK(CellBorderStyleControl, TB1SelectHdl, ToolBox*, pToolBox) { sal_uInt16 nId = pToolBox->GetCurItemId(); - ::Color aColBlack( COL_BLACK ); SvxBoxItem aBorderOuter( SID_ATTR_BORDER_OUTER ); SvxBoxInfoItem aBorderInner( SID_ATTR_BORDER_INNER ); editeng::SvxBorderLine theDefLine(NULL, 1); @@ -198,7 +197,6 @@ IMPL_LINK(CellBorderStyleControl, TB2SelectHdl, ToolBox *, pToolBox) if( nId != TBI_BORDER2_BLTR && nId != TBI_BORDER2_TLBR ) { - ::Color aColBlack( COL_BLACK ); SvxBoxItem aBorderOuter( SID_ATTR_BORDER_OUTER ); SvxBoxInfoItem aBorderInner( SID_ATTR_BORDER_INNER ); editeng::SvxBorderLine theDefLine(NULL, 1); @@ -282,7 +280,6 @@ IMPL_LINK(CellBorderStyleControl, TB3SelectHdl, ToolBox *, pToolBox) { sal_uInt16 nId = pToolBox->GetCurItemId(); - ::Color aColBlack( COL_BLACK ); SvxBoxItem aBorderOuter( SID_ATTR_BORDER_OUTER ); SvxBoxInfoItem aBorderInner( SID_ATTR_BORDER_INNER ); editeng::SvxBorderLine *pTop = 0 , diff --git a/sc/source/ui/sidebar/CellLineStyleValueSet.cxx b/sc/source/ui/sidebar/CellLineStyleValueSet.cxx index 4f823f029841..fc8e5e58bbae 100644 --- a/sc/source/ui/sidebar/CellLineStyleValueSet.cxx +++ b/sc/source/ui/sidebar/CellLineStyleValueSet.cxx @@ -95,8 +95,6 @@ void CellLineStyleValueSet::UserDraw( const UserDrawEvent& rUDEvt ) aSize.Height() = nRectHeight*3/5; aFont.SetSize( aSize ); - Point aLineStart(aBLPos.X() + 5, aBLPos.Y() + ( nRectHeight - nItemId )/2); - Point aLineEnd(aBLPos.X() + nRectWidth * 7 / 9 - 15, aBLPos.Y() + ( nRectHeight - nItemId )/2); long nTLX = aBLPos.X() + 5, nTLY = aBLPos.Y() + ( nRectHeight - nItemId )/2; long nTRX = aBLPos.X() + nRectWidth * 7 / 9 - 15, nTRY = aBLPos.Y() + ( nRectHeight - nItemId )/2; -- cgit v1.2.3