summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-04 22:41:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-05 10:03:17 +0100
commitc6da7c43e10924597b6566fa5394684299c0a573 (patch)
tree83449de1af08f9013c89f497d9f8425d12e7d819 /vcl/unx
parentaf3a393700f77b039e88efc2cf2e6eef450677ff (diff)
callcatcher: unused methods
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/saldisp.cxx44
1 files changed, 0 insertions, 44 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 2f6752a71033..9ef360114e44 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -2765,50 +2765,6 @@ SalVisual::~SalVisual()
#define SALCOLOR RGB
#define SALCOLORREVERSE BGR
-sal_Bool SalVisual::Convert( int &n0, int &n1, int &n2 )
-{
- int n;
-
- switch( GetMode() )
- {
- case otherSalRGB:
- return sal_False;
- case SALCOLOR:
- break;
- case RBG:
- n = n0;
- n0 = n1;
- n1 = n;
- break;
- case GRB:
- n = n1;
- n1 = n2;
- n2 = n;
- break;
- case SALCOLORREVERSE:
- n = n0;
- n0 = n2;
- n2 = n;
- break;
- case BRG:
- n = n0;
- n0 = n1;
- n1 = n2;
- n2 = n;
- break;
- case GBR:
- n = n2;
- n2 = n1;
- n1 = n0;
- n0 = n;
- break;
- default:
- fprintf( stderr, "SalVisual::Convert %d\n", GetMode() );
- abort();
- }
- return sal_True;
-}
-
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
SalColor SalVisual::GetTCColor( Pixel nPixel ) const
{