summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-15 15:34:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 08:17:34 +0200
commit23ea9fb1ddea133bcfed2851f5d520127c7c7c2c (patch)
treec18e6cb07f65bb6b364b58c9905ecdd600f2e3f1 /vcl
parente52b83ec3f820333e052d0d756268e878086611d (diff)
remove unused enumerators from SymbolType enum
Change-Id: I63af4ab93dfd021f88f03fad2c065f5a0e9eeed9
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/decoview.cxx59
1 files changed, 0 insertions, 59 deletions
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index 46b8d78adbb6..70589e9f05dc 100644
--- a/vcl/source/window/decoview.cxx
+++ b/vcl/source/window/decoview.cxx
@@ -145,7 +145,6 @@ void ImplDrawSymbol( OutputDevice* pDev, Rectangle nRect, const SymbolType eType
case SymbolType::SPIN_LEFT:
case SymbolType::FIRST:
case SymbolType::PREV:
- case SymbolType::REVERSEPLAY:
nRect.Left() += n4;
if ( eType==SymbolType::FIRST )
{
@@ -209,7 +208,6 @@ void ImplDrawSymbol( OutputDevice* pDev, Rectangle nRect, const SymbolType eType
break;
case SymbolType::RADIOCHECKMARK:
- case SymbolType::RECORD:
{
// Midpoint circle algorithm
long x = 0;
@@ -245,49 +243,6 @@ void ImplDrawSymbol( OutputDevice* pDev, Rectangle nRect, const SymbolType eType
pDev->DrawRect( nRect );
break;
- case SymbolType::PAUSE:
- pDev->DrawRect( Rectangle ( nRect.Left(), nRect.Top(),
- aCenter.X()-n8, nRect.Bottom() ) );
- pDev->DrawRect( Rectangle ( aCenter.X()+n8, nRect.Top(),
- nRect.Right(), nRect.Bottom() ) );
- break;
-
- case SymbolType::WINDSTART:
- pDev->DrawLine( Point( nRect.Left(), aCenter.Y()-n2+1 ),
- Point( nRect.Left(), aCenter.Y()+n2-1 ) );
- ++nRect.Left();
- SAL_FALLTHROUGH;
- case SymbolType::WINDBACKWARD:
- pDev->DrawPixel( Point( nRect.Left(), aCenter.Y() ) );
- pDev->DrawPixel( Point( nRect.Left()+n2, aCenter.Y() ) );
- for ( long i=1; i < n2; ++i )
- {
- ++nRect.Left();
- pDev->DrawLine( Point( nRect.Left(), aCenter.Y()-i ),
- Point( nRect.Left(), aCenter.Y()+i ) );
- pDev->DrawLine( Point( nRect.Left()+n2, aCenter.Y()-i ),
- Point( nRect.Left()+n2, aCenter.Y()+i ) );
- }
- break;
-
- case SymbolType::WINDEND:
- pDev->DrawLine( Point( nRect.Right(), aCenter.Y()-n2+1 ),
- Point( nRect.Right(), aCenter.Y()+n2-1 ) );
- --nRect.Right();
- SAL_FALLTHROUGH;
- case SymbolType::WINDFORWARD:
- pDev->DrawPixel( Point( nRect.Right(), aCenter.Y() ) );
- pDev->DrawPixel( Point( nRect.Right()-n2, aCenter.Y() ) );
- for ( long i=1; i < n2; ++i )
- {
- --nRect.Right();
- pDev->DrawLine( Point( nRect.Right(), aCenter.Y()-i ),
- Point( nRect.Right(), aCenter.Y()+i ) );
- pDev->DrawLine( Point( nRect.Right()-n2, aCenter.Y()-i ),
- Point( nRect.Right()-n2, aCenter.Y()+i ) );
- }
- break;
-
case SymbolType::CLOSE:
pDev->DrawLine( Point( nRect.Left(), nRect.Top() ),
Point( nRect.Right(), nRect.Bottom() ) );
@@ -356,20 +311,6 @@ void ImplDrawSymbol( OutputDevice* pDev, Rectangle nRect, const SymbolType eType
}
break;
- case SymbolType::SPIN_UPDOWN:
- pDev->DrawPixel( Point( aCenter.X(), nRect.Top() ) );
- pDev->DrawPixel( Point( aCenter.X(), nRect.Bottom() ) );
- for ( long i=1; i < n2; ++i )
- {
- ++nRect.Top();
- --nRect.Bottom();
- pDev->DrawLine( Point( aCenter.X()-i, nRect.Top() ),
- Point( aCenter.X()+i, nRect.Top() ) );
- pDev->DrawLine( Point( aCenter.X()-i, nRect.Bottom() ),
- Point( aCenter.X()+i, nRect.Bottom() ) );
- }
- break;
-
case SymbolType::FLOAT:
nRect.Right() -= n4;
nRect.Top() += n4+1;