Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e561a047
Kaydet (Commit)
e561a047
authored
Eyl 03, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unnecessary SystemChildData -> SystemEnvData define
Change-Id: Ifd6763617b9aef45c7301085033b6bbaf9d52e02
üst
bcbb20b0
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
18 deletions
+16
-18
sysdata.hxx
include/vcl/sysdata.hxx
+0
-2
svpdummies.cxx
vcl/headless/svpdummies.cxx
+2
-2
svpframe.cxx
vcl/headless/svpframe.cxx
+2
-2
svpdummies.hxx
vcl/inc/headless/svpdummies.hxx
+1
-1
gtkobject.hxx
vcl/inc/unx/gtk/gtkobject.hxx
+1
-1
salframe.h
vcl/inc/unx/salframe.h
+1
-1
salobj.h
vcl/inc/unx/salobj.h
+1
-1
salobj.h
vcl/inc/win/salobj.h
+1
-1
salframe.cxx
vcl/unx/generic/window/salframe.cxx
+2
-2
salobj.cxx
vcl/unx/generic/window/salobj.cxx
+3
-3
gtkobject.cxx
vcl/unx/gtk/window/gtkobject.cxx
+1
-1
gtksalframe.cxx
vcl/unx/gtk/window/gtksalframe.cxx
+1
-1
No files found.
include/vcl/sysdata.hxx
Dosyayı görüntüle @
e561a047
...
...
@@ -83,8 +83,6 @@ struct SystemEnvData
#endif
};
#define SystemChildData SystemEnvData
// --------------------
// - SystemParentData -
// --------------------
...
...
vcl/headless/svpdummies.cxx
Dosyayı görüntüle @
e561a047
...
...
@@ -26,8 +26,8 @@
SvpSalObject
::
SvpSalObject
()
{
// fast and easy cross-platform wiping of the data
memset
(
(
void
*
)
&
m_aSystemChildData
,
0
,
sizeof
(
System
Child
Data
)
);
m_aSystemChildData
.
nSize
=
sizeof
(
System
Child
Data
);
memset
(
(
void
*
)
&
m_aSystemChildData
,
0
,
sizeof
(
System
Env
Data
)
);
m_aSystemChildData
.
nSize
=
sizeof
(
System
Env
Data
);
}
SvpSalObject
::~
SvpSalObject
()
...
...
vcl/headless/svpframe.cxx
Dosyayı görüntüle @
e561a047
...
...
@@ -80,8 +80,8 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance,
m_nMaxHeight
(
0
)
{
// fast and easy cross-platform wiping of the data
memset
(
(
void
*
)
&
m_aSystemChildData
,
0
,
sizeof
(
System
Child
Data
)
);
m_aSystemChildData
.
nSize
=
sizeof
(
System
Child
Data
);
memset
(
(
void
*
)
&
m_aSystemChildData
,
0
,
sizeof
(
System
Env
Data
)
);
m_aSystemChildData
.
nSize
=
sizeof
(
System
Env
Data
);
#ifdef IOS
// Nothing
#elif defined ANDROID
...
...
vcl/inc/headless/svpdummies.hxx
Dosyayı görüntüle @
e561a047
...
...
@@ -30,7 +30,7 @@ class SalGraphics;
class
SvpSalObject
:
public
SalObject
{
public
:
System
Child
Data
m_aSystemChildData
;
System
Env
Data
m_aSystemChildData
;
SvpSalObject
();
virtual
~
SvpSalObject
();
...
...
vcl/inc/unx/gtk/gtkobject.hxx
Dosyayı görüntüle @
e561a047
...
...
@@ -27,7 +27,7 @@
class
GtkSalObject
:
public
SalObject
{
System
Child
Data
m_aSystemData
;
System
Env
Data
m_aSystemData
;
GtkWidget
*
m_pSocket
;
#if GTK_CHECK_VERSION(3,0,0)
cairo_region_t
*
m_pRegion
;
...
...
vcl/inc/unx/salframe.h
Dosyayı görüntüle @
e561a047
...
...
@@ -120,7 +120,7 @@ class VCLPLUG_GEN_PUBLIC X11SalFrame : public SalFrame
OUString
m_sWMClass
;
System
Child
Data
maSystemChildData
;
System
Env
Data
maSystemChildData
;
SalI18N_InputContext
*
mpInputContext
;
Bool
mbInputFocus
;
...
...
vcl/inc/unx/salobj.h
Dosyayı görüntüle @
e561a047
...
...
@@ -60,7 +60,7 @@ private:
class
VCLPLUG_GEN_PUBLIC
X11SalObject
:
public
SalObject
{
public
:
System
Child
Data
maSystemChildData
;
System
Env
Data
maSystemChildData
;
SalFrame
*
mpParent
;
XLIB_Window
maPrimary
;
XLIB_Window
maSecondary
;
...
...
vcl/inc/win/salobj.h
Dosyayı görüntüle @
e561a047
...
...
@@ -32,7 +32,7 @@ public:
HWND
mhWnd
;
// Window handle
HWND
mhWndChild
;
// Child Window handle
HWND
mhLastFocusWnd
;
// Child-Window, welches als letztes den Focus hatte
System
Child
Data
maSysData
;
// SystemEnvData
System
Env
Data
maSysData
;
// SystemEnvData
RGNDATA
*
mpClipRgnData
;
// ClipRegion-Data
RGNDATA
*
mpStdClipRgnData
;
// Cache Standard-ClipRegion-Data
RECT
*
mpNextClipRect
;
// Naechstes ClipRegion-Rect
...
...
vcl/unx/generic/window/salframe.cxx
Dosyayı görüntüle @
e561a047
...
...
@@ -857,10 +857,10 @@ void X11SalFrame::SetExtendedFrameStyle( SalExtStyle nStyle )
}
}
const
System
Child
Data
*
X11SalFrame
::
GetSystemData
()
const
const
System
Env
Data
*
X11SalFrame
::
GetSystemData
()
const
{
X11SalFrame
*
pFrame
=
const_cast
<
X11SalFrame
*>
(
this
);
pFrame
->
maSystemChildData
.
nSize
=
sizeof
(
System
Child
Data
);
pFrame
->
maSystemChildData
.
nSize
=
sizeof
(
System
Env
Data
);
pFrame
->
maSystemChildData
.
pDisplay
=
GetXDisplay
();
pFrame
->
maSystemChildData
.
aWindow
=
pFrame
->
GetWindow
();
pFrame
->
maSystemChildData
.
pSalFrame
=
pFrame
;
...
...
vcl/unx/generic/window/salobj.cxx
Dosyayı görüntüle @
e561a047
...
...
@@ -51,7 +51,7 @@ X11SalObject* X11SalObject::CreateObject( SalFrame* pParent, SystemWindowData* p
{
int
error_base
,
event_base
;
X11SalObject
*
pObject
=
new
X11SalObject
();
System
ChildData
*
pObjData
=
const_cast
<
SystemChild
Data
*>
(
pObject
->
GetSystemData
());
System
EnvData
*
pObjData
=
const_cast
<
SystemEnv
Data
*>
(
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
(
System
Child
Data
);
maSystemChildData
.
nSize
=
sizeof
(
System
Env
Data
);
maSystemChildData
.
pDisplay
=
GetGenericData
()
->
GetSalDisplay
()
->
GetDisplay
();
maSystemChildData
.
aWindow
=
None
;
maSystemChildData
.
pSalFrame
=
0
;
...
...
@@ -412,7 +412,7 @@ void X11SalObject::GrabFocus()
// -----------------------------------------------------------------------
const
System
Child
Data
*
X11SalObject
::
GetSystemData
()
const
const
System
Env
Data
*
X11SalObject
::
GetSystemData
()
const
{
return
&
maSystemChildData
;
}
...
...
vcl/unx/gtk/window/gtkobject.cxx
Dosyayı görüntüle @
e561a047
...
...
@@ -52,7 +52,7 @@ GtkSalObject::GtkSalObject( GtkSalFrame* pParent, sal_Bool bShow )
// system data
SalDisplay
*
pDisp
=
GetGenericData
()
->
GetSalDisplay
();
m_aSystemData
.
nSize
=
sizeof
(
System
Child
Data
);
m_aSystemData
.
nSize
=
sizeof
(
System
Env
Data
);
m_aSystemData
.
pDisplay
=
pDisp
->
GetDisplay
();
m_aSystemData
.
aWindow
=
GDK_WINDOW_XWINDOW
(
widget_get_window
(
m_pSocket
));
m_aSystemData
.
pSalFrame
=
NULL
;
...
...
vcl/unx/gtk/window/gtksalframe.cxx
Dosyayı görüntüle @
e561a047
...
...
@@ -997,7 +997,7 @@ void GtkSalFrame::InitCommon()
gtk_widget_realize
(
m_pWindow
);
//system data
m_aSystemData
.
nSize
=
sizeof
(
System
Child
Data
);
m_aSystemData
.
nSize
=
sizeof
(
System
Env
Data
);
#if !GTK_CHECK_VERSION(3,0,0)
GtkSalDisplay
*
pDisp
=
GetGtkSalData
()
->
GetGtkDisplay
();
m_aSystemData
.
pDisplay
=
pDisp
->
GetDisplay
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment