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
5b286a71
Kaydet (Commit)
5b286a71
authored
Mar 21, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1291170 unchecked dynamic_cast
Change-Id: I6d141fcaff4877cfee6400f104d3c41fd967d6f3
üst
6c76ba24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
import-tests.cxx
sd/qa/unit/import-tests.cxx
+1
-0
No files found.
sd/qa/unit/import-tests.cxx
Dosyayı görüntüle @
5b286a71
...
@@ -1133,6 +1133,7 @@ void SdImportTest::testBulletSuffix()
...
@@ -1133,6 +1133,7 @@ void SdImportTest::testBulletSuffix()
CPPUNIT_ASSERT_MESSAGE
(
"no text object"
,
pTxtObj
!=
NULL
);
CPPUNIT_ASSERT_MESSAGE
(
"no text object"
,
pTxtObj
!=
NULL
);
const
EditTextObject
&
aEdit
=
pTxtObj
->
GetOutlinerParaObject
()
->
GetTextObject
();
const
EditTextObject
&
aEdit
=
pTxtObj
->
GetOutlinerParaObject
()
->
GetTextObject
();
const
SvxNumBulletItem
*
pNumFmt
=
dynamic_cast
<
const
SvxNumBulletItem
*>
(
aEdit
.
GetParaAttribs
(
1
).
GetItem
(
EE_PARA_NUMBULLET
));
const
SvxNumBulletItem
*
pNumFmt
=
dynamic_cast
<
const
SvxNumBulletItem
*>
(
aEdit
.
GetParaAttribs
(
1
).
GetItem
(
EE_PARA_NUMBULLET
));
CPPUNIT_ASSERT
(
pNumFmt
);
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"Bullet's suffix is wrong!"
,
OUString
(
pNumFmt
->
GetNumRule
()
->
GetLevel
(
0
).
GetSuffix
()),
OUString
(
""
)
);
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"Bullet's suffix is wrong!"
,
OUString
(
pNumFmt
->
GetNumRule
()
->
GetLevel
(
0
).
GetSuffix
()),
OUString
(
""
)
);
xDocShRef
->
DoClose
();
xDocShRef
->
DoClose
();
}
}
...
...
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