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
8be957ad
Kaydet (Commit)
8be957ad
authored
Ock 04, 2016
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Get rid of silly stderr0 macro
Change-Id: Ibc51fb4cc72163fb643a85ad3f0b6061b7d77ccc
üst
9236a99a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
13 deletions
+7
-13
salgdi.h
vcl/inc/unx/salgdi.h
+0
-6
gdiimpl.cxx
vcl/unx/generic/gdi/gdiimpl.cxx
+4
-4
salframe.cxx
vcl/unx/generic/window/salframe.cxx
+3
-3
No files found.
vcl/inc/unx/salgdi.h
Dosyayı görüntüle @
8be957ad
...
@@ -351,12 +351,6 @@ inline Display *X11SalGraphics::GetXDisplay() const
...
@@ -351,12 +351,6 @@ inline Display *X11SalGraphics::GetXDisplay() const
inline
Pixel
X11SalGraphics
::
GetPixel
(
SalColor
nSalColor
)
const
inline
Pixel
X11SalGraphics
::
GetPixel
(
SalColor
nSalColor
)
const
{
return
GetColormap
().
GetPixel
(
nSalColor
);
}
{
return
GetColormap
().
GetPixel
(
nSalColor
);
}
#ifdef DBG_UTIL
#define stderr0( s ) fprintf( stderr, s )
#else
#define stderr0( s ) ;
#endif
#endif // INCLUDED_VCL_INC_UNX_SALGDI_H
#endif // INCLUDED_VCL_INC_UNX_SALGDI_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
vcl/unx/generic/gdi/gdiimpl.cxx
Dosyayı görüntüle @
8be957ad
...
@@ -603,7 +603,7 @@ void X11SalGraphicsImpl::copyBits( const SalTwoRect& rPosAry,
...
@@ -603,7 +603,7 @@ void X11SalGraphicsImpl::copyBits( const SalTwoRect& rPosAry,
if
(
!
xDDB
)
if
(
!
xDDB
)
{
{
stderr0
(
"SalGraphics::CopyBits !pSrcGraphics->GetBitmap()
\n
"
);
SAL_WARN
(
"vcl"
,
"SalGraphics::CopyBits !pSrcGraphics->GetBitmap()
"
);
return
;
return
;
}
}
...
@@ -613,7 +613,7 @@ void X11SalGraphicsImpl::copyBits( const SalTwoRect& rPosAry,
...
@@ -613,7 +613,7 @@ void X11SalGraphicsImpl::copyBits( const SalTwoRect& rPosAry,
drawBitmap
(
aPosAry
,
*
xDDB
);
drawBitmap
(
aPosAry
,
*
xDDB
);
}
}
else
{
else
{
stderr0
(
"X11SalGraphicsImpl::CopyBits from Printer not yet implemented
\n
"
);
SAL_WARN
(
"vcl"
,
"X11SalGraphicsImpl::CopyBits from Printer not yet implemented
"
);
}
}
}
}
...
@@ -1667,7 +1667,7 @@ SalColor X11SalGraphicsImpl::getPixel( long nX, long nY )
...
@@ -1667,7 +1667,7 @@ SalColor X11SalGraphicsImpl::getPixel( long nX, long nY )
XGetWindowAttributes
(
mrParent
.
GetXDisplay
(),
mrParent
.
GetDrawable
(),
&
aAttrib
);
XGetWindowAttributes
(
mrParent
.
GetXDisplay
(),
mrParent
.
GetDrawable
(),
&
aAttrib
);
if
(
aAttrib
.
map_state
!=
IsViewable
)
if
(
aAttrib
.
map_state
!=
IsViewable
)
{
{
stderr0
(
"X11SalGraphics::GetPixel drawable not viewable
\n
"
);
SAL_WARN
(
"vcl"
,
"X11SalGraphics::GetPixel drawable not viewable
"
);
return
0
;
return
0
;
}
}
}
}
...
@@ -1680,7 +1680,7 @@ SalColor X11SalGraphicsImpl::getPixel( long nX, long nY )
...
@@ -1680,7 +1680,7 @@ SalColor X11SalGraphicsImpl::getPixel( long nX, long nY )
ZPixmap
);
ZPixmap
);
if
(
!
pXImage
)
if
(
!
pXImage
)
{
{
stderr0
(
"X11SalGraphics::GetPixel !XGetImage()
\n
"
);
SAL_WARN
(
"vcl"
,
"X11SalGraphics::GetPixel !XGetImage()
"
);
return
0
;
return
0
;
}
}
...
...
vcl/unx/generic/window/salframe.cxx
Dosyayı görüntüle @
8be957ad
...
@@ -1996,7 +1996,7 @@ void X11SalFrame::Minimize()
...
@@ -1996,7 +1996,7 @@ void X11SalFrame::Minimize()
if
(
SHOWSTATE_UNKNOWN
==
nShowState_
||
SHOWSTATE_HIDDEN
==
nShowState_
)
if
(
SHOWSTATE_UNKNOWN
==
nShowState_
||
SHOWSTATE_HIDDEN
==
nShowState_
)
{
{
stderr0
(
"X11SalFrame::Minimize on withdrawn window
\n
"
);
SAL_WARN
(
"vcl"
,
"X11SalFrame::Minimize on withdrawn window
"
);
return
;
return
;
}
}
...
@@ -2028,7 +2028,7 @@ void X11SalFrame::Restore()
...
@@ -2028,7 +2028,7 @@ void X11SalFrame::Restore()
if
(
SHOWSTATE_UNKNOWN
==
nShowState_
||
SHOWSTATE_HIDDEN
==
nShowState_
)
if
(
SHOWSTATE_UNKNOWN
==
nShowState_
||
SHOWSTATE_HIDDEN
==
nShowState_
)
{
{
stderr0
(
"X11SalFrame::Restore on withdrawn window
\n
"
);
SAL_WARN
(
"vcl"
,
"X11SalFrame::Restore on withdrawn window
"
);
return
;
return
;
}
}
...
@@ -3802,7 +3802,7 @@ long X11SalFrame::HandleClientMessage( XClientMessageEvent *pEvent )
...
@@ -3802,7 +3802,7 @@ long X11SalFrame::HandleClientMessage( XClientMessageEvent *pEvent )
#endif
#endif
else
if
(
pEvent
->
message_type
==
rWMAdaptor
.
getAtom
(
WMAdaptor
::
SAL_QUITEVENT
)
)
else
if
(
pEvent
->
message_type
==
rWMAdaptor
.
getAtom
(
WMAdaptor
::
SAL_QUITEVENT
)
)
{
{
stderr0
(
"X11SalFrame::Dispatch Quit
\n
"
);
SAL_WARN
(
"vcl"
,
"X11SalFrame::Dispatch Quit
"
);
Close
();
// ???
Close
();
// ???
return
1
;
return
1
;
}
}
...
...
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