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
0e6ea7b9
Kaydet (Commit)
0e6ea7b9
authored
Ara 14, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ensure IsPage layout truly is a LwpPageLayout
Change-Id: I3ca21608d633145c8a5238b947e22671460e9195
üst
8d582298
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lwpstory.cxx
lotuswordpro/source/filter/lwpstory.cxx
+6
-3
No files found.
lotuswordpro/source/filter/lwpstory.cxx
Dosyayı görüntüle @
0e6ea7b9
...
...
@@ -201,14 +201,17 @@ void LwpStory::SortPageLayout()
rtl
::
Reference
<
LwpVirtualLayout
>
xLayout
(
GetLayout
(
nullptr
));
while
(
xLayout
.
get
())
{
if
(
xLayout
->
IsPage
())
LwpPageLayout
*
pLayout
=
xLayout
->
IsPage
()
?
dynamic_cast
<
LwpPageLayout
*>
(
xLayout
.
get
())
:
nullptr
;
if
(
pLayout
)
{
LwpLayout
::
UseWhenType
eSectionType
=
static_cast
<
LwpPageLayout
*>
(
xLayout
.
get
())
->
GetUseWhenType
();
LwpLayout
::
UseWhenType
eSectionType
=
pLayout
->
GetUseWhenType
();
//for mirror page, the child is pagelayout
rtl
::
Reference
<
LwpVirtualLayout
>
xParent
=
xLayout
->
GetParentLayout
();
if
(
eSectionType
!=
LwpLayout
::
StartWithinColume
&&
xParent
.
is
()
&&
!
xParent
->
IsPage
())
{
aLayoutList
.
push_back
(
static_cast
<
LwpPageLayout
*>
(
xLayout
.
get
())
);
aLayoutList
.
push_back
(
pLayout
);
}
}
xLayout
=
GetLayout
(
xLayout
.
get
());
...
...
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