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
0dec8ad8
Kaydet (Commit)
0dec8ad8
authored
Şub 11, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
OSL_ENSURE->assert when followed by unconditional dereference
Change-Id: Id3072473c1a4f52f606dbcfc87aa4a69ab2c012d
üst
0a6a151c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docfly.cxx
sw/source/core/doc/docfly.cxx
+2
-2
No files found.
sw/source/core/doc/docfly.cxx
Dosyayı görüntüle @
0dec8ad8
...
@@ -910,10 +910,10 @@ bool SwDoc::ChgAnchor( const SdrMarkList& _rMrkList,
...
@@ -910,10 +910,10 @@ bool SwDoc::ChgAnchor( const SdrMarkList& _rMrkList,
// the attribute.
// the attribute.
const
sal_Int32
nIndx
(
xOldAsCharAnchorPos
->
nContent
.
GetIndex
()
);
const
sal_Int32
nIndx
(
xOldAsCharAnchorPos
->
nContent
.
GetIndex
()
);
SwTxtNode
*
pTxtNode
(
xOldAsCharAnchorPos
->
nNode
.
GetNode
().
GetTxtNode
()
);
SwTxtNode
*
pTxtNode
(
xOldAsCharAnchorPos
->
nNode
.
GetNode
().
GetTxtNode
()
);
OSL_ENSURE
(
pTxtNode
,
"<SwDoc::ChgAnchor(..)> - missing previous anchor text node for as-character anchored object"
);
assert
(
pTxtNode
&&
"<SwDoc::ChgAnchor(..)> - missing previous anchor text node for as-character anchored object"
);
OSL_ENSURE
(
pTxtNode
->
HasHints
(),
"Missing FlyInCnt-Hint."
);
SwTxtAttr
*
const
pHnt
=
SwTxtAttr
*
const
pHnt
=
pTxtNode
->
GetTxtAttrForCharAt
(
nIndx
,
RES_TXTATR_FLYCNT
);
pTxtNode
->
GetTxtAttrForCharAt
(
nIndx
,
RES_TXTATR_FLYCNT
);
assert
(
pHnt
&&
"Missing FlyInCnt-Hint."
);
const_cast
<
SwFmtFlyCnt
&>
(
pHnt
->
GetFlyCnt
()).
SetFlyFmt
();
const_cast
<
SwFmtFlyCnt
&>
(
pHnt
->
GetFlyCnt
()).
SetFlyFmt
();
// They are disconnected. We now have to destroy the attribute.
// They are disconnected. We now have to destroy the attribute.
...
...
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