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
04785775
Kaydet (Commit)
04785775
authored
May 31, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1302688 Resource leak
Change-Id: I78ed5df0d18da9374092c8d2d4fca43cba0f8a88
üst
52052e5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ucalc.cxx
sc/qa/unit/ucalc.cxx
+4
-4
No files found.
sc/qa/unit/ucalc.cxx
Dosyayı görüntüle @
04785775
...
@@ -5931,10 +5931,10 @@ void testDataBarLengthImpl(ScDocument* pDoc, ScDataBarLengthData* pData, const S
...
@@ -5931,10 +5931,10 @@ void testDataBarLengthImpl(ScDocument* pDoc, ScDataBarLengthData* pData, const S
for
(
size_t
i
=
0
;
pData
[
i
].
nLength
!=
-
200
;
++
i
)
for
(
size_t
i
=
0
;
pData
[
i
].
nLength
!=
-
200
;
++
i
)
{
{
ScDataBarInfo
*
pInfo
=
pDatabar
->
GetDataBarInfo
(
ScAddress
(
nCol
,
i
,
0
));
std
::
unique_ptr
<
ScDataBarInfo
>
xInfo
(
pDatabar
->
GetDataBarInfo
(
ScAddress
(
nCol
,
i
,
0
)
));
CPPUNIT_ASSERT
(
pInfo
);
CPPUNIT_ASSERT
(
xInfo
.
get
()
);
ASSERT_DOUBLES_EQUAL
(
pData
[
i
].
nLength
,
p
Info
->
mnLength
);
ASSERT_DOUBLES_EQUAL
(
pData
[
i
].
nLength
,
x
Info
->
mnLength
);
ASSERT_DOUBLES_EQUAL
(
nZeroPos
,
p
Info
->
mnZero
);
ASSERT_DOUBLES_EQUAL
(
nZeroPos
,
x
Info
->
mnZero
);
}
}
delete
pFormat
;
delete
pFormat
;
}
}
...
...
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