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
1deae8a2
Kaydet (Commit)
1deae8a2
authored
Ara 13, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
deploy references to keep layout alive long enough
Change-Id: I670f00b0beb77e5014c3dd4a4798e69ece882b87
üst
2487ba80
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
24 deletions
+21
-24
lwplayout.cxx
lotuswordpro/source/filter/lwplayout.cxx
+5
-5
lwppagelayout.cxx
lotuswordpro/source/filter/lwppagelayout.cxx
+15
-15
lwptablelayout.cxx
lotuswordpro/source/filter/lwptablelayout.cxx
+1
-4
No files found.
lotuswordpro/source/filter/lwplayout.cxx
Dosyayı görüntüle @
1deae8a2
...
...
@@ -330,12 +330,12 @@ LwpVirtualLayout* LwpVirtualLayout::GetParentLayout()
void
LwpVirtualLayout
::
RegisterChildStyle
()
{
//Register all children styles
LwpVirtualLayout
*
pLayout
=
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
(
));
while
(
pLayout
)
rtl
::
Reference
<
LwpVirtualLayout
>
xLayout
(
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
()
));
while
(
xLayout
.
is
()
)
{
p
Layout
->
SetFoundry
(
m_pFoundry
);
p
Layout
->
RegisterStyle
();
pLayout
=
dynamic_cast
<
LwpVirtualLayout
*>
(
pLayout
->
GetNext
().
obj
().
get
(
));
x
Layout
->
SetFoundry
(
m_pFoundry
);
x
Layout
->
RegisterStyle
();
xLayout
.
set
(
dynamic_cast
<
LwpVirtualLayout
*>
(
xLayout
->
GetNext
().
obj
().
get
()
));
}
}
...
...
lotuswordpro/source/filter/lwppagelayout.cxx
Dosyayı görüntüle @
1deae8a2
...
...
@@ -503,24 +503,24 @@ void LwpPageLayout::ResetXFColumns()
LwpHeaderLayout
*
LwpPageLayout
::
GetHeaderLayout
()
{
LwpVirtualLayout
*
pLay
=
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
(
));
while
(
pLay
)
rtl
::
Reference
<
LwpVirtualLayout
>
xLay
(
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
()
));
while
(
xLay
.
is
()
)
{
if
(
pLay
->
GetLayoutType
()
==
LWP_HEADER_LAYOUT
)
return
(
static_cast
<
LwpHeaderLayout
*>
(
pLay
)
);
pLay
=
dynamic_cast
<
LwpVirtualLayout
*>
(
pLay
->
GetNext
().
obj
().
get
(
));
if
(
xLay
->
GetLayoutType
()
==
LWP_HEADER_LAYOUT
)
return
dynamic_cast
<
LwpHeaderLayout
*>
(
xLay
.
get
()
);
xLay
.
set
(
dynamic_cast
<
LwpVirtualLayout
*>
(
xLay
->
GetNext
().
obj
().
get
()
));
}
return
nullptr
;
}
LwpFooterLayout
*
LwpPageLayout
::
GetFooterLayout
()
{
LwpVirtualLayout
*
pLay
=
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
(
));
while
(
pLay
)
rtl
::
Reference
<
LwpVirtualLayout
>
xLay
(
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
()
));
while
(
xLay
.
is
()
)
{
if
(
pLay
->
GetLayoutType
()
==
LWP_FOOTER_LAYOUT
)
return
(
static_cast
<
LwpFooterLayout
*>
(
pLay
)
);
pLay
=
dynamic_cast
<
LwpVirtualLayout
*>
(
pLay
->
GetNext
().
obj
().
get
(
));
if
(
xLay
->
GetLayoutType
()
==
LWP_FOOTER_LAYOUT
)
return
dynamic_cast
<
LwpFooterLayout
*>
(
xLay
.
get
()
);
xLay
.
set
(
dynamic_cast
<
LwpVirtualLayout
*>
(
xLay
->
GetNext
().
obj
().
get
()
));
}
return
nullptr
;
}
...
...
@@ -533,19 +533,19 @@ LwpPageLayout* LwpPageLayout::GetOddChildLayout()
{
if
(
IsComplex
())
{
LwpVirtualLayout
*
pLay
=
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
(
));
while
(
pLay
)
rtl
::
Reference
<
LwpVirtualLayout
>
xLay
(
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
()
));
while
(
xLay
.
is
()
)
{
if
(
pLay
->
GetLayoutType
()
==
LWP_PAGE_LAYOUT
)
if
(
xLay
->
GetLayoutType
()
==
LWP_PAGE_LAYOUT
)
{
LwpPageLayout
*
pPageLayout
=
static_cast
<
LwpPageLayout
*>
(
pLay
);
LwpPageLayout
*
pPageLayout
=
static_cast
<
LwpPageLayout
*>
(
xLay
.
get
()
);
LwpUseWhen
*
pUseWhen
=
pPageLayout
->
GetUseWhen
();
if
(
pUseWhen
&&
pUseWhen
->
IsUseOnAllOddPages
())
{
return
pPageLayout
;
}
}
pLay
=
dynamic_cast
<
LwpVirtualLayout
*>
(
pLay
->
GetNext
().
obj
().
get
(
));
xLay
.
set
(
dynamic_cast
<
LwpVirtualLayout
*>
(
xLay
->
GetNext
().
obj
().
get
()
));
}
}
return
nullptr
;
...
...
lotuswordpro/source/filter/lwptablelayout.cxx
Dosyayı görüntüle @
1deae8a2
...
...
@@ -691,11 +691,8 @@ void LwpTableLayout::RegisterStyle()
{
// get super table layout
LwpSuperTableLayout
*
pSuper
=
GetSuperTableLayout
();
if
(
!
pSuper
)
{
assert
(
false
);
if
(
!
pSuper
)
return
;
}
// get table
LwpTable
*
pTable
=
GetTable
();
...
...
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