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
94e4f13d
Kaydet (Commit)
94e4f13d
authored
Nis 28, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SfxItemSet::PutDirect return value is unused
Change-Id: Icf3e09318677655897f4a5308f066829982b9520
üst
ae08fcea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
itemset.hxx
include/svl/itemset.hxx
+1
-1
itemset.cxx
svl/source/items/itemset.cxx
+3
-4
No files found.
include/svl/itemset.hxx
Dosyayı görüntüle @
94e4f13d
...
...
@@ -66,7 +66,7 @@ protected:
// Notification-Callback
virtual
void
Changed
(
const
SfxPoolItem
&
rOld
,
const
SfxPoolItem
&
rNew
);
int
PutDirect
(
const
SfxPoolItem
&
rItem
);
void
PutDirect
(
const
SfxPoolItem
&
rItem
);
public
:
SfxItemSet
(
const
SfxItemSet
&
);
...
...
svl/source/items/itemset.cxx
Dosyayı görüntüle @
94e4f13d
...
...
@@ -1563,7 +1563,7 @@ SfxItemSet *SfxItemSet::Clone(bool bItems, SfxItemPool *pToPool ) const
:
new
SfxItemSet
(
*
m_pPool
,
m_pWhichRanges
);
}
int
SfxItemSet
::
PutDirect
(
const
SfxPoolItem
&
rItem
)
void
SfxItemSet
::
PutDirect
(
const
SfxPoolItem
&
rItem
)
{
SfxItemArray
ppFnd
=
m_pItems
;
const
sal_uInt16
*
pPtr
=
m_pWhichRanges
;
...
...
@@ -1582,7 +1582,7 @@ int SfxItemSet::PutDirect(const SfxPoolItem &rItem)
if
(
pOld
)
// One already present
{
if
(
rItem
==
**
ppFnd
)
return
sal_False
;
// Already present!
return
;
// Already present!
m_pPool
->
Remove
(
*
pOld
);
}
else
...
...
@@ -1598,12 +1598,11 @@ int SfxItemSet::PutDirect(const SfxPoolItem &rItem)
rItem
.
AddRef
();
}
return
sal_True
;
return
;
}
ppFnd
+=
*
(
pPtr
+
1
)
-
*
pPtr
+
1
;
pPtr
+=
2
;
}
return
sal_False
;
}
sal_Int32
SfxItemSet
::
getHash
()
const
...
...
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