diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-01-28 21:27:54 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-01-28 21:40:24 +0100 |
commit | 10e3da7bf2125091ab69efa2b8f72dc1232052f0 (patch) | |
tree | 0e7ff610c8c640888845354a8da21bf08fcf42e2 | |
parent | 047696ea1072ff5fd31e3950da59a9c1804694ea (diff) |
sal_TrueCOLOR is never defined
-rw-r--r-- | vcl/unx/generic/app/saldisp.cxx | 24 |
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 ) { |