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
b1d2bbec
Kaydet (Commit)
b1d2bbec
authored
Agu 17, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add warning about bad input
Change-Id: I7018813740460c79d09318770fbdcb24a24a441e
üst
3604dc4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
canvastools.cxx
canvas/source/tools/canvastools.cxx
+1
-0
No files found.
canvas/source/tools/canvastools.cxx
Dosyayı görüntüle @
b1d2bbec
...
@@ -271,6 +271,7 @@ namespace canvas
...
@@ -271,6 +271,7 @@ namespace canvas
}
}
virtual
uno
::
Sequence
<
rendering
::
ARGBColor
>
SAL_CALL
convertToARGB
(
const
uno
::
Sequence
<
double
>&
deviceColor
)
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
virtual
uno
::
Sequence
<
rendering
::
ARGBColor
>
SAL_CALL
convertToARGB
(
const
uno
::
Sequence
<
double
>&
deviceColor
)
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
{
{
SAL_WARN_IF
(
deviceColor
.
getLength
()
==
0
,
"canvas"
,
"empty deviceColor argument"
);
const
double
*
pIn
(
deviceColor
.
getConstArray
()
);
const
double
*
pIn
(
deviceColor
.
getConstArray
()
);
const
sal_Size
nLen
(
deviceColor
.
getLength
()
);
const
sal_Size
nLen
(
deviceColor
.
getLength
()
);
ENSURE_ARG_OR_THROW2
(
nLen
%
4
==
0
,
ENSURE_ARG_OR_THROW2
(
nLen
%
4
==
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