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
7238177b
Kaydet (Commit)
7238177b
authored
Kas 19, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Drop ILLEGAL_POINTER sillyness
Change-Id: I19316f0fd04f75d980719676c928c3455e0f07b7
üst
f36b2f43
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
solar.h
tools/inc/tools/solar.h
+0
-6
saldisp.cxx
vcl/unx/generic/app/saldisp.cxx
+4
-4
salvd.cxx
vcl/unx/generic/gdi/salvd.cxx
+1
-1
No files found.
tools/inc/tools/solar.h
Dosyayı görüntüle @
7238177b
...
@@ -50,12 +50,6 @@ typedef sal_uIntPtr sal_uLong; /* Replaces type ULONG */
...
@@ -50,12 +50,6 @@ typedef sal_uIntPtr sal_uLong; /* Replaces type ULONG */
#define __LOADONCALLAPI
#define __LOADONCALLAPI
#endif
#endif
#if defined UNX
#define ILLEGAL_POINTER ((void*)1)
#else
#define ILLEGAL_POINTER NULL
#endif
// solar binary types
// solar binary types
/* Solar (portable) Binary (exchange) Type; OSI 6 subset
/* Solar (portable) Binary (exchange) Type; OSI 6 subset
...
...
vcl/unx/generic/app/saldisp.cxx
Dosyayı görüntüle @
7238177b
...
@@ -343,8 +343,8 @@ void SalDisplay::doDestruct()
...
@@ -343,8 +343,8 @@ void SalDisplay::doDestruct()
if
(
IsDisplay
()
)
if
(
IsDisplay
()
)
{
{
delete
mpInputMethod
,
mpInputMethod
=
(
SalI18N_InputMethod
*
)
ILLEGAL_POINTER
;
delete
mpInputMethod
,
mpInputMethod
=
NULL
;
delete
mpKbdExtension
,
mpKbdExtension
=
(
SalI18N_KeyboardExtension
*
)
ILLEGAL_POINTER
;
delete
mpKbdExtension
,
mpKbdExtension
=
NULL
;
for
(
unsigned
int
i
=
0
;
i
<
m_aScreens
.
size
();
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
m_aScreens
.
size
();
i
++
)
{
{
...
@@ -2687,8 +2687,8 @@ SalColormap::SalColormap( sal_uInt16 nDepth )
...
@@ -2687,8 +2687,8 @@ SalColormap::SalColormap( sal_uInt16 nDepth )
SalColormap
::~
SalColormap
()
SalColormap
::~
SalColormap
()
{
{
#ifdef DBG_UTIL
#ifdef DBG_UTIL
m_hColormap
=
(
Colormap
)
ILLEGAL_POINTER
;
m_hColormap
=
NULL
;
m_pDisplay
=
(
SalDisplay
*
)
ILLEGAL_POINTER
;
m_pDisplay
=
NULL
;
#endif
#endif
}
}
...
...
vcl/unx/generic/gdi/salvd.cxx
Dosyayı görüntüle @
7238177b
...
@@ -177,7 +177,7 @@ sal_Bool X11SalVirtualDevice::Init( SalDisplay *pDisplay,
...
@@ -177,7 +177,7 @@ sal_Bool X11SalVirtualDevice::Init( SalDisplay *pDisplay,
X11SalVirtualDevice
::
X11SalVirtualDevice
()
:
X11SalVirtualDevice
::
X11SalVirtualDevice
()
:
m_nXScreen
(
0
)
m_nXScreen
(
0
)
{
{
pDisplay_
=
(
SalDisplay
*
)
ILLEGAL_POINTER
;
pDisplay_
=
NULL
;
pGraphics_
=
NULL
;
pGraphics_
=
NULL
;
hDrawable_
=
None
;
hDrawable_
=
None
;
nDX_
=
0
;
nDX_
=
0
;
...
...
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