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
1a946327
Kaydet (Commit)
1a946327
authored
Nis 18, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704274 Logically dead code
Change-Id: I211f24d34a0fc9b3efb6f575eb6884c334733969
üst
211b04ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
dapiuno.cxx
sc/source/ui/unoobj/dapiuno.cxx
+6
-2
No files found.
sc/source/ui/unoobj/dapiuno.cxx
Dosyayı görüntüle @
1a946327
...
@@ -3230,6 +3230,7 @@ Any SAL_CALL ScDataPilotItemsObj::getByName( const OUString& aName )
...
@@ -3230,6 +3230,7 @@ Any SAL_CALL ScDataPilotItemsObj::getByName( const OUString& aName )
{
{
SolarMutexGuard
aGuard
;
SolarMutexGuard
aGuard
;
Reference
<
XNameAccess
>
xMembers
=
GetMembers
();
Reference
<
XNameAccess
>
xMembers
=
GetMembers
();
Any
aRet
;
if
(
xMembers
.
is
())
if
(
xMembers
.
is
())
{
{
Reference
<
XIndexAccess
>
xMembersIndex
(
new
ScNameToIndexAccess
(
xMembers
));
Reference
<
XIndexAccess
>
xMembersIndex
(
new
ScNameToIndexAccess
(
xMembers
));
...
@@ -3240,13 +3241,16 @@ Any SAL_CALL ScDataPilotItemsObj::getByName( const OUString& aName )
...
@@ -3240,13 +3241,16 @@ Any SAL_CALL ScDataPilotItemsObj::getByName( const OUString& aName )
{
{
Reference
<
XNamed
>
xMember
(
xMembersIndex
->
getByIndex
(
nItem
),
UNO_QUERY
);
Reference
<
XNamed
>
xMember
(
xMembersIndex
->
getByIndex
(
nItem
),
UNO_QUERY
);
if
(
xMember
.
is
()
&&
(
aName
==
xMember
->
getName
()))
if
(
xMember
.
is
()
&&
(
aName
==
xMember
->
getName
()))
return
Any
(
Reference
<
XPropertySet
>
(
GetObjectByIndex_Impl
(
nItem
)
)
);
{
aRet
=
Any
(
Reference
<
XPropertySet
>
(
GetObjectByIndex_Impl
(
nItem
)
)
);
break
;
}
++
nItem
;
++
nItem
;
}
}
if
(
!
bFound
)
if
(
!
bFound
)
throw
NoSuchElementException
();
throw
NoSuchElementException
();
}
}
return
Any
()
;
return
aRet
;
}
}
Sequence
<
OUString
>
SAL_CALL
ScDataPilotItemsObj
::
getElementNames
()
Sequence
<
OUString
>
SAL_CALL
ScDataPilotItemsObj
::
getElementNames
()
...
...
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