diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-09-03 22:33:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-09-04 11:27:34 +0200 |
commit | e561a04792f0ae6fb618132655b7d6d5dd291ee1 (patch) | |
tree | 3b9e56413f86e45c9c556c82754fccd3fe1c6dc5 /vcl/unx | |
parent | bcbb20b0efc608653bd680565542f5d804755c8f (diff) |
Remove unnecessary SystemChildData -> SystemEnvData define
Change-Id: Ifd6763617b9aef45c7301085033b6bbaf9d52e02
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/window/salobj.cxx | 6 | ||||
-rw-r--r-- | vcl/unx/gtk/window/gtkobject.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/window/gtksalframe.cxx | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 65bd389cede9..6fe079ccff43 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -857,10 +857,10 @@ void X11SalFrame::SetExtendedFrameStyle( SalExtStyle nStyle ) } } -const SystemChildData* X11SalFrame::GetSystemData() const +const SystemEnvData* X11SalFrame::GetSystemData() const { X11SalFrame *pFrame = const_cast<X11SalFrame*>(this); - pFrame->maSystemChildData.nSize = sizeof( SystemChildData ); + pFrame->maSystemChildData.nSize = sizeof( SystemEnvData ); pFrame->maSystemChildData.pDisplay = GetXDisplay(); pFrame->maSystemChildData.aWindow = pFrame->GetWindow(); pFrame->maSystemChildData.pSalFrame = pFrame; diff --git a/vcl/unx/generic/window/salobj.cxx b/vcl/unx/generic/window/salobj.cxx index 3026c5c8aae9..bc7dfbcc8cc3 100644 --- a/vcl/unx/generic/window/salobj.cxx +++ b/vcl/unx/generic/window/salobj.cxx @@ -51,7 +51,7 @@ X11SalObject* X11SalObject::CreateObject( SalFrame* pParent, SystemWindowData* p { int error_base, event_base; X11SalObject* pObject = new X11SalObject(); - SystemChildData* pObjData = const_cast<SystemChildData*>(pObject->GetSystemData()); + SystemEnvData* pObjData = const_cast<SystemEnvData*>(pObject->GetSystemData()); if ( ! XShapeQueryExtension( (Display*)pObjData->pDisplay, &event_base, &error_base ) ) @@ -236,7 +236,7 @@ SalClipRegion::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) X11SalObject::X11SalObject() { - maSystemChildData.nSize = sizeof( SystemChildData ); + maSystemChildData.nSize = sizeof( SystemEnvData ); maSystemChildData.pDisplay = GetGenericData()->GetSalDisplay()->GetDisplay(); maSystemChildData.aWindow = None; maSystemChildData.pSalFrame = 0; @@ -412,7 +412,7 @@ void X11SalObject::GrabFocus() // ----------------------------------------------------------------------- -const SystemChildData* X11SalObject::GetSystemData() const +const SystemEnvData* X11SalObject::GetSystemData() const { return &maSystemChildData; } diff --git a/vcl/unx/gtk/window/gtkobject.cxx b/vcl/unx/gtk/window/gtkobject.cxx index b0fa39a5f551..3ba5b0631a87 100644 --- a/vcl/unx/gtk/window/gtkobject.cxx +++ b/vcl/unx/gtk/window/gtkobject.cxx @@ -52,7 +52,7 @@ GtkSalObject::GtkSalObject( GtkSalFrame* pParent, sal_Bool bShow ) // system data SalDisplay* pDisp = GetGenericData()->GetSalDisplay(); - m_aSystemData.nSize = sizeof( SystemChildData ); + m_aSystemData.nSize = sizeof( SystemEnvData ); m_aSystemData.pDisplay = pDisp->GetDisplay(); m_aSystemData.aWindow = GDK_WINDOW_XWINDOW(widget_get_window(m_pSocket)); m_aSystemData.pSalFrame = NULL; diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index 44d894da50b1..8eda04ae6df9 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -997,7 +997,7 @@ void GtkSalFrame::InitCommon() gtk_widget_realize( m_pWindow ); //system data - m_aSystemData.nSize = sizeof( SystemChildData ); + m_aSystemData.nSize = sizeof( SystemEnvData ); #if !GTK_CHECK_VERSION(3,0,0) GtkSalDisplay* pDisp = GetGtkSalData()->GetGtkDisplay(); m_aSystemData.pDisplay = pDisp->GetDisplay(); |