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
7a54951f
Kaydet (Commit)
7a54951f
authored
Agu 17, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1231667 Unchecked return value
Change-Id: I40d8fc61b1e488955faa61c868877c7b6487c529
üst
d438c470
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
propertycontainerhelper.cxx
comphelper/source/property/propertycontainerhelper.cxx
+7
-7
propertycontainerhelper.hxx
include/comphelper/propertycontainerhelper.hxx
+1
-1
No files found.
comphelper/source/property/propertycontainerhelper.cxx
Dosyayı görüntüle @
7a54951f
...
...
@@ -366,7 +366,7 @@ bool OPropertyContainerHelper::convertFastPropertyValue(
}
void
OPropertyContainerHelper
::
setFastPropertyValue
(
sal_Int32
_nHandle
,
const
Any
&
_rValue
)
bool
OPropertyContainerHelper
::
setFastPropertyValue
(
sal_Int32
_nHandle
,
const
Any
&
_rValue
)
{
// get the property somebody is asking for
PropertiesIterator
aPos
=
searchHandle
(
_nHandle
);
...
...
@@ -375,9 +375,11 @@ void OPropertyContainerHelper::setFastPropertyValue(sal_Int32 _nHandle, const An
OSL_FAIL
(
"OPropertyContainerHelper::setFastPropertyValue: unknown handle!"
);
// should not happen if the derived class has built a correct property set info helper to be used by
// our base class OPropertySetHelper
return
;
return
false
;
}
bool
bSuccess
=
true
;
switch
(
aPos
->
eLocated
)
{
case
PropertyDescription
:
:
ltHoldMyself
:
...
...
@@ -389,11 +391,8 @@ void OPropertyContainerHelper::setFastPropertyValue(sal_Int32 _nHandle, const An
break
;
case
PropertyDescription
:
:
ltDerivedClassRealType
:
#if OSL_DEBUG_LEVEL > 0
bool
bSuccess
=
#endif
// copy the data from the to-be-set value
uno_type_assignData
(
bSuccess
=
uno_type_assignData
(
aPos
->
aLocation
.
pDerivedClassMember
,
aPos
->
aProperty
.
Type
.
getTypeLibType
(),
const_cast
<
void
*
>
(
_rValue
.
getValue
()
),
_rValue
.
getValueType
().
getTypeLibType
(),
reinterpret_cast
<
uno_QueryInterfaceFunc
>
(
cpp_queryInterface
),
...
...
@@ -405,8 +404,9 @@ void OPropertyContainerHelper::setFastPropertyValue(sal_Int32 _nHandle, const An
break
;
}
}
return
bSuccess
;
}
void
OPropertyContainerHelper
::
getFastPropertyValue
(
Any
&
_rValue
,
sal_Int32
_nHandle
)
const
{
...
...
include/comphelper/propertycontainerhelper.hxx
Dosyayı görüntüle @
7a54951f
...
...
@@ -153,7 +153,7 @@ protected:
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
void
setFastPropertyValue
(
bool
setFastPropertyValue
(
sal_Int32
nHandle
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
...
...
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