summaryrefslogtreecommitdiff
path: root/vcl/unx/kde/kdedata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/kde/kdedata.cxx')
-rw-r--r--vcl/unx/kde/kdedata.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/unx/kde/kdedata.cxx b/vcl/unx/kde/kdedata.cxx
index 177fa4ed5e3a..0eb4e4f6eafc 100644
--- a/vcl/unx/kde/kdedata.cxx
+++ b/vcl/unx/kde/kdedata.cxx
@@ -254,10 +254,9 @@ extern "C" {
#endif
// initialize SalData
- KDEData *pSalData = new KDEData();
- SetSalData( pSalData );
- pSalData->m_pInstance = pInstance;
+ KDEData *pSalData = new KDEData( pInstance );
pSalData->Init();
+ pInstance->SetLib( pSalData->GetLib() );
pSalData->initNWF();
return pInstance;