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
962e4113
Kaydet (Commit)
962e4113
authored
Ock 18, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
some android build fixes
Change-Id: I2d60a6d70ca9d63f49b12b5d4c3855cc4ef53478
üst
c671aac4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
androidinst.cxx
vcl/android/androidinst.cxx
+0
-1
svpgdi.cxx
vcl/headless/svpgdi.cxx
+11
-8
No files found.
vcl/android/androidinst.cxx
Dosyayı görüntüle @
962e4113
...
@@ -123,7 +123,6 @@ public:
...
@@ -123,7 +123,6 @@ public:
:
SvpSalFrame
(
pInstance
,
pParent
,
nSalFrameStyle
,
:
SvpSalFrame
(
pInstance
,
pParent
,
nSalFrameStyle
,
pSysParent
)
pSysParent
)
{
{
enableDamageTracker
();
if
(
pParent
==
NULL
&&
viewWidth
>
1
&&
viewHeight
>
1
)
if
(
pParent
==
NULL
&&
viewWidth
>
1
&&
viewHeight
>
1
)
SetPosSize
(
0
,
0
,
viewWidth
,
viewHeight
,
SAL_FRAME_POSSIZE_WIDTH
|
SAL_FRAME_POSSIZE_HEIGHT
);
SetPosSize
(
0
,
0
,
viewWidth
,
viewHeight
,
SAL_FRAME_POSSIZE_WIDTH
|
SAL_FRAME_POSSIZE_HEIGHT
);
}
}
...
...
vcl/headless/svpgdi.cxx
Dosyayı görüntüle @
962e4113
...
@@ -79,10 +79,6 @@ rDevice
...
@@ -79,10 +79,6 @@ rDevice
#endif
#endif
#if CAIRO_VERSION < CAIRO_VERSION_ENCODE(1, 12, 0)
# define cairo_surface_create_similar_image cairo_surface_create_similar
#endif
namespace
namespace
{
{
cairo_rectangle_int_t
getFillDamage
(
cairo_t
*
cr
)
cairo_rectangle_int_t
getFillDamage
(
cairo_t
*
cr
)
...
@@ -998,10 +994,17 @@ void SvpSalGraphics::copyBits( const SalTwoRect& rTR,
...
@@ -998,10 +994,17 @@ void SvpSalGraphics::copyBits( const SalTwoRect& rTR,
if
(
pSrc
==
this
)
if
(
pSrc
==
this
)
{
{
//self copy is a problem, so dup source in that case
//self copy is a problem, so dup source in that case
#if CAIRO_VERSION < CAIRO_VERSION_ENCODE(1, 12, 0)
pCopy
=
cairo_surface_create_similar
(
source
,
cairo_surface_get_content
(
m_pSurface
),
aTR
.
mnSrcWidth
,
aTR
.
mnSrcHeight
);
#else
pCopy
=
cairo_surface_create_similar_image
(
source
,
pCopy
=
cairo_surface_create_similar_image
(
source
,
cairo_image_surface_get_format
(
m_pSurface
),
cairo_image_surface_get_format
(
m_pSurface
),
aTR
.
mnSrcWidth
,
aTR
.
mnSrcWidth
,
aTR
.
mnSrcHeight
);
aTR
.
mnSrcHeight
);
#endif
cairo_t
*
cr
=
cairo_create
(
pCopy
);
cairo_t
*
cr
=
cairo_create
(
pCopy
);
cairo_set_source_surface
(
cr
,
source
,
-
aTR
.
mnSrcX
,
-
aTR
.
mnSrcY
);
cairo_set_source_surface
(
cr
,
source
,
-
aTR
.
mnSrcX
,
-
aTR
.
mnSrcY
);
...
@@ -1322,10 +1325,10 @@ void SvpSalGraphics::releaseCairoContext(cairo_t* cr, bool bXorModeAllowed, cons
...
@@ -1322,10 +1325,10 @@ void SvpSalGraphics::releaseCairoContext(cairo_t* cr, bool bXorModeAllowed, cons
sal_Int32
nExtentsRight
(
extents
.
x
+
extents
.
width
),
nExtentsBottom
(
extents
.
y
+
extents
.
height
);
sal_Int32
nExtentsRight
(
extents
.
x
+
extents
.
width
),
nExtentsBottom
(
extents
.
y
+
extents
.
height
);
sal_Int32
nWidth
=
cairo_image_surface_get_width
(
m_pSurface
);
sal_Int32
nWidth
=
cairo_image_surface_get_width
(
m_pSurface
);
sal_Int32
nHeight
=
cairo_image_surface_get_height
(
m_pSurface
);
sal_Int32
nHeight
=
cairo_image_surface_get_height
(
m_pSurface
);
nExtentsLeft
=
std
::
max
(
nExtentsLeft
,
0
);
nExtentsLeft
=
std
::
max
<
sal_Int32
>
(
nExtentsLeft
,
0
);
nExtentsTop
=
std
::
max
(
nExtentsTop
,
0
);
nExtentsTop
=
std
::
max
<
sal_Int32
>
(
nExtentsTop
,
0
);
nExtentsRight
=
std
::
min
(
nExtentsRight
,
nWidth
);
nExtentsRight
=
std
::
min
<
sal_Int32
>
(
nExtentsRight
,
nWidth
);
nExtentsBottom
=
std
::
min
(
nExtentsBottom
,
nHeight
);
nExtentsBottom
=
std
::
min
<
sal_Int32
>
(
nExtentsBottom
,
nHeight
);
cairo_surface_t
*
surface
=
cairo_get_target
(
cr
);
cairo_surface_t
*
surface
=
cairo_get_target
(
cr
);
cairo_surface_flush
(
surface
);
cairo_surface_flush
(
surface
);
...
...
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