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
3631518b
Kaydet (Commit)
3631518b
authored
Ock 07, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to size_t, remove unneeded downcast
Change-Id: I48689ad3a974d5bc2386766b55045e4456a0d72c
üst
2ad35f36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
swcache.cxx
sw/source/core/bastyp/swcache.cxx
+2
-2
No files found.
sw/source/core/bastyp/swcache.cxx
Dosyayı görüntüle @
3631518b
...
@@ -95,7 +95,7 @@ SwCache::SwCache( const sal_uInt16 nInitSize
...
@@ -95,7 +95,7 @@ SwCache::SwCache( const sal_uInt16 nInitSize
,
m_nDecreaseMax
(
0
)
,
m_nDecreaseMax
(
0
)
#endif
#endif
{
{
m_aCacheObjects
.
reserve
(
(
sal_uInt8
)
nInitSize
);
m_aCacheObjects
.
reserve
(
nInitSize
);
}
}
SwCache
::~
SwCache
()
SwCache
::~
SwCache
()
...
@@ -304,7 +304,7 @@ void SwCache::DeleteObj( SwCacheObj *pObj )
...
@@ -304,7 +304,7 @@ void SwCache::DeleteObj( SwCacheObj *pObj )
// Shrink if possible.To do so we need enough free positions.
// Shrink if possible.To do so we need enough free positions.
// Unpleasent side effect: positions will be moved and the owner of
// Unpleasent side effect: positions will be moved and the owner of
// these might not find them afterwards
// these might not find them afterwards
for
(
s
al_uInt16
i
=
0
;
i
<
m_aCacheObjects
.
size
();
++
i
)
for
(
s
ize_t
i
=
0
;
i
<
m_aCacheObjects
.
size
();
++
i
)
{
{
SwCacheObj
*
pTmpObj
=
m_aCacheObjects
[
i
];
SwCacheObj
*
pTmpObj
=
m_aCacheObjects
[
i
];
if
(
!
pTmpObj
)
if
(
!
pTmpObj
)
...
...
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