summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-01-28 21:39:48 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-01-28 21:40:25 +0100
commitda15496978332189d3eb002b1c49e4b7fb6b2848 (patch)
treeb46a92a2d46f1df92f3ba41b4f3bc127864bff7a /vcl
parentc3ac689d50d5fe3c01ddf304506d6b4711062bea (diff)
Remove VisualClassName
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/app/saldisp.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index d253cd6f8427..52690656beeb 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -99,15 +99,6 @@ using ::rtl::OUString;
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// -=-= static variables -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-static const char* const VisualClassName[] = {
- "StaticGray",
- "GrayScale",
- "StaticColor",
- "PseudoColor",
- "TrueColor",
- "DirectColor"
-};
-
static const char* const EventNames[] =
{
NULL,
@@ -2245,10 +2236,6 @@ void SalDisplay::PrintInfo() const
GetVisual(m_nXDefaultScreen).red_mask,
GetVisual(m_nXDefaultScreen).green_mask,
GetVisual(m_nXDefaultScreen).blue_mask );
- fprintf( stderr, "\tVisual \t%d-bit %s ID=0x%x\n",
- GetVisual(m_nXDefaultScreen).GetDepth(),
- VisualClassName[ GetVisual(m_nXDefaultScreen).GetClass() ],
- sal::static_int_cast< unsigned int >(GetVisual(m_nXDefaultScreen).GetVisualId()) );
}
void SalDisplay::addXineramaScreenUnique( int i, long i_nX, long i_nY, long i_nWidth, long i_nHeight )