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
8a9bc476
Kaydet (Commit)
8a9bc476
authored
Tem 01, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#735883 Unchecked dynamic_cast
Change-Id: I4dec526d78dfaa1d894ab1be205e58e1224fbf72
üst
a7e1ffc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
tablemodel.cxx
svx/source/table/tablemodel.cxx
+6
-13
No files found.
svx/source/table/tablemodel.cxx
Dosyayı görüntüle @
8a9bc476
...
...
@@ -1124,12 +1124,12 @@ void TableModel::merge( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_
// merge first cell
CellRef
xOriginCell
(
dynamic_cast
<
Cell
*
>
(
getCellByPosition
(
nCol
,
nRow
).
get
()
)
);
if
(
xOriginCell
.
is
()
)
{
if
(
bUndo
)
xOriginCell
->
AddUndo
();
xOriginCell
->
merge
(
nColSpan
,
nRowSpan
);
}
if
(
!
xOriginCell
.
is
()
)
return
;
if
(
bUndo
)
xOriginCell
->
AddUndo
(
);
xOriginCell
->
merge
(
nColSpan
,
nRowSpan
);
sal_Int32
nTempCol
=
nCol
+
1
;
...
...
@@ -1151,9 +1151,6 @@ void TableModel::merge( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_
}
}
void
TableModel
::
updateRows
()
{
sal_Int32
nRow
=
0
;
...
...
@@ -1164,8 +1161,6 @@ void TableModel::updateRows()
}
}
void
TableModel
::
updateColumns
()
{
sal_Int32
nColumn
=
0
;
...
...
@@ -1176,8 +1171,6 @@ void TableModel::updateColumns()
}
}
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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