summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-01-28 21:27:54 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-01-28 21:40:24 +0100
commit10e3da7bf2125091ab69efa2b8f72dc1232052f0 (patch)
tree0e7ff610c8c640888845354a8da21bf08fcf42e2 /vcl
parentSAL_XT is never used (diff)
downloadcore-10e3da7bf2125091ab69efa2b8f72dc1232052f0.tar.gz
core-10e3da7bf2125091ab69efa2b8f72dc1232052f0.zip
sal_TrueCOLOR is never defined
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/app/saldisp.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 119f08c232a4..b3431955a3c9 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -291,30 +291,6 @@ sal_Bool SalDisplay::BestVisual( Display *pDisplay,
nTrueColor = 2048;
if( pVInfos[i].depth == 24 )
bUsable = sal_True;
-#ifdef sal_TrueCOLOR8
- else if( pVInfos[i].depth == 8 )
- {
- nTrueColor = -1; // strongly discourage 8 bit true color
- bUsable = sal_True;
- }
-#endif
-#ifdef sal_TrueCOLOR15
- else if( pVInfos[i].depth == 15 )
- bUsable = sal_True;
-#endif
-#ifdef sal_TrueCOLOR16
- else if( pVInfos[i].depth == 16 )
- bUsable = sal_True;
-#endif
-#ifdef sal_TrueCOLOR32
- else if( pVInfos[i].depth == 32 )
- {
- nTrueColor = 256;
- // we do not have use for an alpha channel
- // better use a 24 or 16 bit truecolor visual if possible
- bUsable = sal_True;
- }
-#endif
}
else if( pVInfos[i].c_class == PseudoColor )
{