summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2000-11-22 09:01:12 +0000
committerOliver Bolte <obo@openoffice.org>2000-11-22 09:01:12 +0000
commit086367df03875790ab2c5da310cdd00c09a97e37 (patch)
tree69d3b0e9a7da18cf7a24910c198be30209e49848
parent294c10929e53439bedfad42d1022eaa735baab74 (diff)
#65293# saldisp is always a disp since psprint
-rw-r--r--vcl/unx/source/app/keysymnames.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/unx/source/app/keysymnames.cxx b/vcl/unx/source/app/keysymnames.cxx
index e08804ff371e..538864acd310 100644
--- a/vcl/unx/source/app/keysymnames.cxx
+++ b/vcl/unx/source/app/keysymnames.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: keysymnames.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:05:42 $
+ * last change: $Author: obo $ $Date: 2000-11-22 10:01:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -507,7 +507,9 @@ const char* SalDisplay::GetKeyboardName( BOOL bRefresh )
int opcode, event, error;
int major = XkbMajorVersion, minor = XkbMinorVersion;
if( ! m_aKeyboardName.Len() &&
+ #ifndef USE_PSPRINT
XSalIsDisplay( GetDisplay() ) &&
+ #endif
XkbQueryExtension( GetDisplay(), &opcode, &event,&error, &major, &minor ) )
{
XkbDescPtr pXkbDesc = NULL;