summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 14:57:05 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 14:57:05 +0000
commit18bfa1203c3b42294e70f4391b3463f177cf8005 (patch)
treedb46203ea43be93ff6c2462774d33f4b94f91a62 /vcl
parent74b4abb1bbaa87113e9820899e1b62ea3b94879d (diff)
INTEGRATION: CWS nwf (1.20.2); FILE MERGED
2004/03/10 20:49:43 pl 1.20.2.3: merge from vcl20: yield mutex acquisition 2004/03/01 13:34:05 pl 1.20.2.2: first step in SalDisplay cleanup 2004/02/27 08:31:35 ssa 1.20.2.1: #i25130# initial native widget framework, merged from srx645
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/source/app/salinst.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/vcl/unx/source/app/salinst.cxx b/vcl/unx/source/app/salinst.cxx
index c5f3e639dc14..ad505a203963 100644
--- a/vcl/unx/source/app/salinst.cxx
+++ b/vcl/unx/source/app/salinst.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salinst.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: obo $ $Date: 2004-03-15 14:53:00 $
+ * last change: $Author: hr $ $Date: 2004-05-10 15:57:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -175,6 +175,7 @@ X11SalInstance::~X11SalInstance()
// a little late
SalData *pSalData = GetSalData();
+ pSalData->deInitNWF();
delete pSalData;
SetSalData( NULL );
@@ -234,11 +235,11 @@ Bool ImplPredicateEvent( Display *, XEvent *pEvent, char *pData )
bool X11SalInstance::AnyInput(USHORT nType)
{
SalData *pSalData = GetSalData();
- Display *pDisplay = pSalData->GetDefDisp()->GetDisplay();
+ Display *pDisplay = pSalData->GetDisplay()->GetDisplay();
BOOL bRet = FALSE;
if( (nType & INPUT_TIMER) &&
- pSalData->GetDefDisp()->GetXLib()->CheckTimeout( false ) )
+ pSalData->GetDisplay()->GetXLib()->CheckTimeout( false ) )
{
bRet = TRUE;
}