summaryrefslogtreecommitdiff
path: root/vcl/inc/win
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/win
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/win')
-rw-r--r--vcl/inc/win/saldata.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx
index 1126869f722b..9a097ee9ea7f 100644
--- a/vcl/inc/win/saldata.hxx
+++ b/vcl/inc/win/saldata.hxx
@@ -147,9 +147,9 @@ public:
DwmIsCompositionEnabled_ptr mpDwmIsCompositionEnabled;
};
-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; }
// --------------
// - SalShlData -