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
a6b6bb2a
Kaydet (Commit)
a6b6bb2a
authored
Haz 04, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1302656 Unchecked dynamic_cast
Change-Id: If84fc54892bbe65799b3bc344c700bb43bedc0cd
üst
56763e94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
unochart.cxx
sw/source/core/unocore/unochart.cxx
+2
-2
No files found.
sw/source/core/unocore/unochart.cxx
Dosyayı görüntüle @
a6b6bb2a
...
@@ -1947,7 +1947,7 @@ SwChartDataSequence::SwChartDataSequence( const SwChartDataSequence &rObj ) :
...
@@ -1947,7 +1947,7 @@ SwChartDataSequence::SwChartDataSequence( const SwChartDataSequence &rObj ) :
aColLabelText
(
SW_RES
(
STR_CHART2_COL_LABEL_TEXT
)
),
aColLabelText
(
SW_RES
(
STR_CHART2_COL_LABEL_TEXT
)
),
xDataProvider
(
rObj
.
pDataProvider
),
xDataProvider
(
rObj
.
pDataProvider
),
pDataProvider
(
rObj
.
pDataProvider
),
pDataProvider
(
rObj
.
pDataProvider
),
pTableCrsr
(
dynamic_cast
<
SwUnoTableCrsr
*>
(
rObj
.
pTableCrsr
.
get
())
->
Clone
()
),
pTableCrsr
(
dynamic_cast
<
SwUnoTableCrsr
&>
(
*
rObj
.
pTableCrsr
.
get
()).
Clone
()
),
aCursorDepend
(
this
,
pTableCrsr
.
get
()
),
aCursorDepend
(
this
,
pTableCrsr
.
get
()
),
_pPropSet
(
rObj
.
_pPropSet
)
_pPropSet
(
rObj
.
_pPropSet
)
{
{
...
@@ -2032,7 +2032,7 @@ uno::Sequence< uno::Any > SAL_CALL SwChartDataSequence::getData()
...
@@ -2032,7 +2032,7 @@ uno::Sequence< uno::Any > SAL_CALL SwChartDataSequence::getData()
// keep original cursor and make copy of it that gets handed
// keep original cursor and make copy of it that gets handed
// over to the SwXCellRange object which takes ownership and
// over to the SwXCellRange object which takes ownership and
// thus will destroy the copy later.
// thus will destroy the copy later.
SwXCellRange
aRange
(
dynamic_cast
<
SwUnoTableCrsr
*>
(
pTableCrsr
.
get
())
->
Clone
(),
*
pTableFormat
,
aDesc
);
SwXCellRange
aRange
(
dynamic_cast
<
SwUnoTableCrsr
&>
(
*
pTableCrsr
.
get
()).
Clone
(),
*
pTableFormat
,
aDesc
);
aRange
.
GetDataSequence
(
&
aRes
,
0
,
0
);
aRange
.
GetDataSequence
(
&
aRes
,
0
,
0
);
}
}
}
}
...
...
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