diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-10-26 12:54:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-26 12:58:29 +0200 |
commit | 273a15e4903e6ea21de77c238ab769361f2fc84f (patch) | |
tree | fbb4342bac0d0db0323a10d35ab3751b0bb14011 /vcl/inc/ios | |
parent | ec059f87f4b214a9e7590eb913abda6ad491c2e1 (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/ios')
-rw-r--r-- | vcl/inc/ios/saldata.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/ios/saldata.hxx b/vcl/inc/ios/saldata.hxx index 764264e42462..73a7081f2f8a 100644 --- a/vcl/inc/ios/saldata.hxx +++ b/vcl/inc/ios/saldata.hxx @@ -111,9 +111,9 @@ struct SalData static void drainThreadAutoreleasePool(); }; -inline void SetSalData( SalData* pData ) { ImplGetSVData()->mpSalData = (void*)pData; } -inline SalData *GetSalData() { return (SalData*)ImplGetSVData()->mpSalData; } -inline SalData *GetAppSalData() { return (SalData*)ImplGetAppSVData()->mpSalData; } +inline void SetSalData( SalData* pData ) { ImplGetSVData()->mpSalData = pData; } +inline SalData *GetSalData() { return ImplGetSVData()->mpSalData; } +inline SalData *GetAppSalData() { return ImplGetAppSVData()->mpSalData; } // --- Prototypes --- |