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
5e46374d
Kaydet (Commit)
5e46374d
authored
Haz 13, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#706286 uncaught exception
Change-Id: Ic951a16c3d44b36ce82f05381c98e13e74b8bc35
üst
0466c0dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
propertysethelper.cxx
comphelper/source/property/propertysethelper.cxx
+5
-4
No files found.
comphelper/source/property/propertysethelper.cxx
Dosyayı görüntüle @
5e46374d
...
...
@@ -158,16 +158,17 @@ void SAL_CALL PropertySetHelper::setPropertyValues( const Sequence< OUString >&
}
}
Sequence
<
Any
>
SAL_CALL
PropertySetHelper
::
getPropertyValues
(
const
Sequence
<
OUString
>&
aPropertyNames
)
throw
(
RuntimeException
,
std
::
exception
)
Sequence
<
Any
>
SAL_CALL
PropertySetHelper
::
getPropertyValues
(
const
Sequence
<
OUString
>&
rPropertyNames
)
throw
(
RuntimeException
,
std
::
exception
)
{
const
sal_Int32
nCount
=
a
PropertyNames
.
getLength
();
const
sal_Int32
nCount
=
r
PropertyNames
.
getLength
();
Sequence
<
Any
>
aValues
;
if
(
nCount
)
{
boost
::
scoped_array
<
PropertyMapEntry
const
*>
pEntries
(
new
PropertyMapEntry
const
*
[
nCount
+
1
]);
pEntries
[
nCount
]
=
NULL
;
const
OUString
*
pNames
=
a
PropertyNames
.
getConstArray
();
const
OUString
*
pNames
=
r
PropertyNames
.
getConstArray
();
bool
bUnknown
=
false
;
sal_Int32
n
;
...
...
@@ -184,7 +185,7 @@ Sequence< Any > SAL_CALL PropertySetHelper::getPropertyValues( const Sequence< O
}
if
(
bUnknown
)
throw
UnknownProperty
Exception
(
*
pNames
,
static_cast
<
XPropertySet
*
>
(
this
)
);
throw
Runtime
Exception
(
*
pNames
,
static_cast
<
XPropertySet
*
>
(
this
)
);
}
return
aValues
;
...
...
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