summaryrefslogtreecommitdiff
path: root/vcl/inc/saldatabasic.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-10-26 12:54:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-26 12:58:29 +0200
commit273a15e4903e6ea21de77c238ab769361f2fc84f (patch)
treefbb4342bac0d0db0323a10d35ab3751b0bb14011 /vcl/inc/saldatabasic.hxx
parentec059f87f4b214a9e7590eb913abda6ad491c2e1 (diff)
Clean up ImplSVData::mpSalData.
soffice currently fails upon start up at least in GTK case due to vcl/unx/generic/app/saldisp.cxx SalDisplay ctor calling GetX11SalData() when the data is actually of type SalGenericData instead.
Diffstat (limited to 'vcl/inc/saldatabasic.hxx')
-rw-r--r--vcl/inc/saldatabasic.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/saldatabasic.hxx b/vcl/inc/saldatabasic.hxx
index dc040eb704f1..06b785f39209 100644
--- a/vcl/inc/saldatabasic.hxx
+++ b/vcl/inc/saldatabasic.hxx
@@ -53,10 +53,10 @@ public:
// -=-= inlines =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
inline void SetSalData( SalData* pData )
-{ ImplGetSVData()->mpSalData = (void*)pData; }
+{ ImplGetSVData()->mpSalData = pData; }
inline SalData* GetSalData()
-{ return (SalData*)ImplGetSVData()->mpSalData; }
+{ return ImplGetSVData()->mpSalData; }
#endif