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
e1695087
Kaydet (Commit)
e1695087
authored
Nis 11, 2013
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i#29679: Return early not to crash on ooo29679-57.odt in dbgutil build.
Change-Id: I467f6383ec469f5719fd49914d81605b2a5679a1
üst
30704655
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
laycache.cxx
sw/source/core/layout/laycache.cxx
+5
-11
No files found.
sw/source/core/layout/laycache.cxx
Dosyayı görüntüle @
e1695087
...
...
@@ -338,7 +338,6 @@ sal_Bool SwLayoutCache::CompareLayout( const SwDoc& rDoc ) const
if
(
!
pImpl
)
return
sal_True
;
const
SwRootFrm
*
pRootFrm
=
rDoc
.
GetCurrentLayout
();
sal_Bool
bRet
=
sal_True
;
if
(
pRootFrm
)
{
sal_uInt16
nIndex
=
0
;
...
...
@@ -350,11 +349,8 @@ sal_Bool SwLayoutCache::CompareLayout( const SwDoc& rDoc ) const
while
(
pPage
)
{
if
(
nIndex
>=
pImpl
->
size
()
)
{
if
(
bRet
)
bRet
=
sal_False
;
break
;
}
return
sal_False
;
SwLayoutFrm
*
pLay
=
pPage
->
FindBodyCont
();
SwFrm
*
pTmp
=
pLay
?
pLay
->
ContainsAny
()
:
NULL
;
if
(
pTmp
&&
pTmp
->
IsSctFrm
()
)
...
...
@@ -374,8 +370,7 @@ sal_Bool SwLayoutCache::CompareLayout( const SwDoc& rDoc ) const
(
bFollow
?
((
SwTxtFrm
*
)
pTmp
)
->
GetOfst
()
:
STRING_LEN
)
!=
pImpl
->
GetBreakOfst
(
nIndex
)
)
{
if
(
bRet
)
bRet
=
sal_False
;
return
sal_False
;
}
++
nIndex
;
}
...
...
@@ -412,8 +407,7 @@ sal_Bool SwLayoutCache::CompareLayout( const SwDoc& rDoc ) const
pImpl
->
GetBreakType
(
nIndex
)
||
nOfst
!=
pImpl
->
GetBreakOfst
(
nIndex
)
)
{
if
(
bRet
)
bRet
=
sal_False
;
return
sal_False
;
}
++
nIndex
;
}
...
...
@@ -446,7 +440,7 @@ sal_Bool SwLayoutCache::CompareLayout( const SwDoc& rDoc ) const
pPage
=
(
SwPageFrm
*
)
pPage
->
GetNext
();
}
}
return
bRet
;
return
sal_True
;
}
#endif
...
...
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