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
c8b78a1c
Kaydet (Commit)
c8b78a1c
authored
Haz 13, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#706287 uncaught exception
Change-Id: Ie2ec61c75d036dbad68bd43d5a2eb9834dadd735
üst
5e46374d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
propertysethelper.cxx
comphelper/source/property/propertysethelper.cxx
+7
-6
No files found.
comphelper/source/property/propertysethelper.cxx
Dosyayı görüntüle @
c8b78a1c
...
...
@@ -129,18 +129,19 @@ void SAL_CALL PropertySetHelper::removeVetoableChangeListener( const OUString&,
}
// XMultiPropertySet
void
SAL_CALL
PropertySetHelper
::
setPropertyValues
(
const
Sequence
<
OUString
>&
aPropertyNames
,
const
Sequence
<
Any
>&
aValues
)
throw
(
PropertyVetoException
,
IllegalArgumentException
,
WrappedTargetException
,
RuntimeException
,
std
::
exception
)
void
SAL_CALL
PropertySetHelper
::
setPropertyValues
(
const
Sequence
<
OUString
>&
rPropertyNames
,
const
Sequence
<
Any
>&
rValues
)
throw
(
PropertyVetoException
,
IllegalArgumentException
,
WrappedTargetException
,
RuntimeException
,
std
::
exception
)
{
const
sal_Int32
nCount
=
a
PropertyNames
.
getLength
();
const
sal_Int32
nCount
=
r
PropertyNames
.
getLength
();
if
(
nCount
!=
a
Values
.
getLength
()
)
if
(
nCount
!=
r
Values
.
getLength
()
)
throw
IllegalArgumentException
();
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
;
...
...
@@ -151,10 +152,10 @@ void SAL_CALL PropertySetHelper::setPropertyValues( const Sequence< OUString >&
}
if
(
!
bUnknown
)
_setPropertyValues
(
(
const
PropertyMapEntry
**
)
pEntries
.
get
(),
a
Values
.
getConstArray
()
);
_setPropertyValues
(
(
const
PropertyMapEntry
**
)
pEntries
.
get
(),
r
Values
.
getConstArray
()
);
if
(
bUnknown
)
throw
UnknownProperty
Exception
(
*
pNames
,
static_cast
<
XPropertySet
*
>
(
this
)
);
throw
Runtime
Exception
(
*
pNames
,
static_cast
<
XPropertySet
*
>
(
this
)
);
}
}
...
...
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