summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-21 17:05:42 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-21 17:07:34 +0300
commit66c315bcf2b78c4928d1e436d1a853f58f4cccdb (patch)
treee8c716a2274d235cf95c3596c1b4dc869f387277 /sc/source/ui/sidebar
parentce575889b9c46e98544c9f6f30372ac7e05e20c5 (diff)
WaE: unused variables
Change-Id: I52d43a35e621636175e6c56bc068837d3a84bec4
Diffstat (limited to 'sc/source/ui/sidebar')
-rw-r--r--sc/source/ui/sidebar/CellBorderStyleControl.cxx3
-rw-r--r--sc/source/ui/sidebar/CellLineStyleValueSet.cxx2
2 files changed, 0 insertions, 5 deletions
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;