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
b8fc5aee
Kaydet (Commit)
b8fc5aee
authored
May 06, 2017
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#43157: convert most of canvas codebase away from OSL_ASSERT to assert
Change-Id: Ie6a5942dcac62a0bc3b589ff0b82922b313f88a8
üst
4aca4ce1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
cairo_canvashelper.cxx
canvas/source/cairo/cairo_canvashelper.cxx
+1
-1
ogl_canvashelper.cxx
canvas/source/opengl/ogl_canvashelper.cxx
+1
-1
spritecanvasbase.hxx
include/canvas/base/spritecanvasbase.hxx
+4
-4
No files found.
canvas/source/cairo/cairo_canvashelper.cxx
Dosyayı görüntüle @
b8fc5aee
...
...
@@ -663,7 +663,7 @@ namespace cairocanvas
{
int
i
;
OSL_ASSERT
(
rColors
.
getLength
()
==
rStops
.
getLength
()
);
assert
(
rColors
.
getLength
()
==
rStops
.
getLength
()
);
for
(
i
=
0
;
i
<
rColors
.
getLength
();
i
++
)
{
...
...
canvas/source/opengl/ogl_canvashelper.cxx
Dosyayı görüntüle @
b8fc5aee
...
...
@@ -193,7 +193,7 @@ namespace oglcanvas
for
(
sal_Int32
i
=
0
;
i
<
nNumCols
;
++
i
)
*
pCurrCol
++
=
rHelper
.
getDevice
()
->
getDeviceColorSpace
()
->
convertToARGB
(
rValues
.
maColors
[
i
])[
0
];
OSL_ASSERT
(
nNumCols
==
rValues
.
maStops
.
getLength
());
assert
(
nNumCols
==
rValues
.
maStops
.
getLength
());
switch
(
rValues
.
meType
)
{
...
...
include/canvas/base/spritecanvasbase.hxx
Dosyayı görüntüle @
b8fc5aee
...
...
@@ -139,7 +139,7 @@ namespace canvas
// SpriteSurface
virtual
void
showSprite
(
const
Sprite
::
Reference
&
rSprite
)
override
{
OSL_ASSERT
(
rSprite
.
is
()
);
assert
(
rSprite
.
is
()
);
typename
BaseType
::
MutexType
aGuard
(
BaseType
::
m_aMutex
);
...
...
@@ -148,7 +148,7 @@ namespace canvas
virtual
void
hideSprite
(
const
Sprite
::
Reference
&
rSprite
)
override
{
OSL_ASSERT
(
rSprite
.
is
()
);
assert
(
rSprite
.
is
()
);
typename
BaseType
::
MutexType
aGuard
(
BaseType
::
m_aMutex
);
...
...
@@ -160,7 +160,7 @@ namespace canvas
const
::
basegfx
::
B2DPoint
&
rNewPos
,
const
::
basegfx
::
B2DVector
&
rSpriteSize
)
override
{
OSL_ASSERT
(
rSprite
.
is
()
);
assert
(
rSprite
.
is
()
);
typename
BaseType
::
MutexType
aGuard
(
BaseType
::
m_aMutex
);
...
...
@@ -171,7 +171,7 @@ namespace canvas
const
::
basegfx
::
B2DPoint
&
rPos
,
const
::
basegfx
::
B2DRange
&
rUpdateArea
)
override
{
OSL_ASSERT
(
rSprite
.
is
()
);
assert
(
rSprite
.
is
()
);
typename
BaseType
::
MutexType
aGuard
(
BaseType
::
m_aMutex
);
...
...
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