diff options
Diffstat (limited to 'vcl/unx/generic/app/saldisp.cxx')
-rw-r--r-- | vcl/unx/generic/app/saldisp.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx index 52690656beeb..d6060d5f339c 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -277,10 +277,7 @@ sal_Bool SalDisplay::BestVisual( Display *pDisplay, } else if( pVInfos[i].c_class == PseudoColor ) { - if( pVInfos[i].depth <= 8 ) - bUsable = sal_True; - else if( pVInfos[i].depth == 12 ) - bUsable = sal_True; + bUsable = sal_True; } pWeight[ i ] = bUsable ? nTrueColor*pVInfos[i].depth : -1024; pWeight[ i ] -= pVInfos[ i ].visualid; |