From 65f77f5a74f5b96131aaac414fbff4a9ef757578 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 27 Jan 2012 20:23:32 +0100 Subject: vcl: Remove unused server vendors GetServerVendor() is only used to check for vendor_sun. Maybe remove this method later... --- vcl/inc/unx/saldisp.hxx | 10 ---------- vcl/unx/generic/app/saldisp.cxx | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx index 547f1f85b8d0..3f080888730d 100644 --- a/vcl/inc/unx/saldisp.hxx +++ b/vcl/inc/unx/saldisp.hxx @@ -80,17 +80,7 @@ namespace vcl_sal { class WMAdaptor; } typedef enum { vendor_none = 0, - vendor_attachmate, - vendor_excursion, - vendor_hp, - vendor_hummingbird, - vendor_ibm, - vendor_sco, - vendor_sgi, vendor_sun, - vendor_xfree, - vendor_xinside, - vendor_xprinter, vendor_unknown } srv_vendor_t; diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx index 21812ce263b9..a28b3b24ffa1 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -237,17 +237,7 @@ sal_GetServerVendor( Display *p_display ) } vendor_t; const vendor_t p_vendorlist[] = { - { vendor_xfree, "The XFree86 Project, Inc", 13 }, { vendor_sun, "Sun Microsystems, Inc.", 10 }, - { vendor_attachmate, "Attachmate Corporation", 10 }, - { vendor_excursion, - "DECWINDOWS DigitalEquipmentCorporation, eXcursion", 42 }, - { vendor_hp, "Hewlett-Packard Company", 17 }, - { vendor_hummingbird, "Hummingbird Communications Ltd.", 11 }, - { vendor_ibm, "International Business Machines", 24 }, - { vendor_sgi, "Silicon Graphics", 9 }, - { vendor_sco, "The Santa Cruz Operation", 16 }, - { vendor_xinside, "X Inside Inc.", 10 }, // allways the last entry: vendor_none to indicate eol { vendor_none, NULL, 0 }, }; -- cgit