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
b66a96d7
Kaydet (Commit)
b66a96d7
authored
Eki 08, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1224993 Uncaught exception
Change-Id: If5dcb4bbd728f7396e19382f85bdf2a3d77a6db6
üst
4c4e2868
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
sequenceashashmap.cxx
comphelper/source/misc/sequenceashashmap.cxx
+4
-9
No files found.
comphelper/source/misc/sequenceashashmap.cxx
Dosyayı görüntüle @
b66a96d7
...
...
@@ -75,11 +75,9 @@ void SequenceAsHashMap::operator<<(const css::uno::Any& aSource)
return
;
}
throw
css
::
beans
::
IllegalTypeException
(
"Any contains wrong type."
);
throw
std
::
invalid_argument
(
"Any contains wrong type."
);
}
void
SequenceAsHashMap
::
operator
<<
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
lSource
)
{
sal_Int32
c
=
lSource
.
getLength
();
...
...
@@ -94,8 +92,7 @@ void SequenceAsHashMap::operator<<(const css::uno::Sequence< css::uno::Any >& lS
(
lP
.
Name
.
isEmpty
())
||
(
!
lP
.
Value
.
hasValue
())
)
throw
css
::
beans
::
IllegalTypeException
(
"PropertyValue struct contains no useful information."
);
throw
std
::
invalid_argument
(
"PropertyValue struct contains no useful information."
);
(
*
this
)[
lP
.
Name
]
=
lP
.
Value
;
continue
;
}
...
...
@@ -107,16 +104,14 @@ void SequenceAsHashMap::operator<<(const css::uno::Sequence< css::uno::Any >& lS
(
lN
.
Name
.
isEmpty
())
||
(
!
lN
.
Value
.
hasValue
())
)
throw
css
::
beans
::
IllegalTypeException
(
"NamedValue struct contains no useful information."
);
throw
std
::
invalid_argument
(
"NamedValue struct contains no useful information."
);
(
*
this
)[
lN
.
Name
]
=
lN
.
Value
;
continue
;
}
// ignore VOID Any ... but reject wrong filled ones!
if
(
lSource
[
i
].
hasValue
())
throw
css
::
beans
::
IllegalTypeException
(
"Any contains wrong type."
);
throw
std
::
invalid_argument
(
"Any contains wrong type."
);
}
}
...
...
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