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
655cb682
Kaydet (Commit)
655cb682
authored
May 26, 2014
tarafından
Caolán McNamara
Kaydeden (comit)
Fridrich Štrba
May 28, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704675 Unchecked dynamic_cast
Change-Id: Ib2d86a3cfaff0019bc6969b657b035cb65bbc0c3
üst
d7253e61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
chgtrack.cxx
sc/source/core/tool/chgtrack.cxx
+3
-4
No files found.
sc/source/core/tool/chgtrack.cxx
Dosyayı görüntüle @
655cb682
...
...
@@ -4472,18 +4472,17 @@ ScChangeTrack* ScChangeTrack::Clone( ScDocument* pDocument ) const
case
SC_CAT_DELETE_ROWS
:
case
SC_CAT_DELETE_TABS
:
{
const
ScChangeActionDel
*
pDelete
=
dynamic_cast
<
const
ScChangeActionDel
*
>
(
pAction
);
OSL_ENSURE
(
pDelete
,
"ScChangeTrack::Clone: pDelete is null!"
);
const
ScChangeActionDel
&
rDelete
=
dynamic_cast
<
const
ScChangeActionDel
&>
(
*
pAction
);
SCsCOLROW
nD
=
0
;
ScChangeActionType
eType
=
pAction
->
GetType
();
if
(
eType
==
SC_CAT_DELETE_COLS
)
{
nD
=
static_cast
<
SCsCOLROW
>
(
pDelete
->
GetDx
()
);
nD
=
static_cast
<
SCsCOLROW
>
(
rDelete
.
GetDx
()
);
}
else
if
(
eType
==
SC_CAT_DELETE_ROWS
)
{
nD
=
static_cast
<
SCsCOLROW
>
(
pDelete
->
GetDy
()
);
nD
=
static_cast
<
SCsCOLROW
>
(
rDelete
.
GetDy
()
);
}
pClonedAction
=
new
ScChangeActionDel
(
...
...
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