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
52e80188
Kaydet (Commit)
52e80188
authored
Mar 15, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704903 Unchecked dynamic_cast
Change-Id: Ifd67414600bb3a91d2b33c82d836ace3a187d6f5
üst
cf4ad5f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
flycnt.cxx
sw/source/core/layout/flycnt.cxx
+4
-6
No files found.
sw/source/core/layout/flycnt.cxx
Dosyayı görüntüle @
52e80188
...
...
@@ -382,22 +382,20 @@ void SwFlyAtCntFrm::MakeAll()
// wrapping style influence is considered on object positioning
if
(
bFormatAnchor
)
{
SwTxtFrm
*
pAnchPosAnchorFrm
=
dynamic_cast
<
SwTxtFrm
*>
(
GetAnchorFrmContainingAnchPos
());
OSL_ENSURE
(
pAnchPosAnchorFrm
,
"<SwFlyAtCntFrm::MakeAll()> - anchor frame of wrong type -> crash"
);
SwTxtFrm
&
rAnchPosAnchorFrm
=
dynamic_cast
<
SwTxtFrm
&>
(
*
GetAnchorFrmContainingAnchPos
());
// #i58182# - For the usage of new method
// <SwObjectFormatterTxtFrm::CheckMovedFwdCondition(..)>
// to check move forward of anchor frame due to the object
// positioning it's needed to know, if the object is anchored
// at the master frame before the anchor frame is formatted.
const
bool
bAnchoredAtMaster
(
!
pAnchPosAnchorFrm
->
IsFollow
()
);
const
bool
bAnchoredAtMaster
(
!
rAnchPosAnchorFrm
.
IsFollow
()
);
// #i56300#
// perform complete format of anchor text frame and its
// previous frames, which have become invalid due to the
// fly frame format.
SwObjectFormatterTxtFrm
::
FormatAnchorFrmAndItsPrevs
(
*
p
AnchPosAnchorFrm
);
SwObjectFormatterTxtFrm
::
FormatAnchorFrmAndItsPrevs
(
r
AnchPosAnchorFrm
);
// #i35911#
// #i40444#
// #i58182# - usage of new method
...
...
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