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
d9234556
Kaydet (Commit)
d9234556
authored
Eki 02, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
don't blow up on .odt export with !hasValue footers/headers
Change-Id: I2507c23b7b17b9172f720548d32cdfe299d4fa20
üst
a9097843
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
XMLTextMasterPageExport.cxx
xmloff/source/text/XMLTextMasterPageExport.cxx
+8
-6
No files found.
xmloff/source/text/XMLTextMasterPageExport.cxx
Dosyayı görüntüle @
d9234556
...
...
@@ -127,20 +127,21 @@ void XMLTextMasterPageExport::exportMasterPageContent(
else
{
aAny
=
rPropSet
->
getPropertyValue
(
sHeaderOn
);
sal_Bool
bHeader
=
*
(
sal_Bool
*
)
aAny
.
getValue
();
sal_Bool
bHeader
=
sal_False
;
aAny
>>=
bHeader
;
sal_Bool
bHeaderFirst
=
sal_False
;
if
(
bHeader
)
{
aAny
=
rPropSet
->
getPropertyValue
(
sFirstShareContent
);
bHeaderFirst
=
!*
(
sal_Bool
*
)
aAny
.
getValue
()
;
aAny
>>=
bHeaderFirst
;
}
sal_Bool
bHeaderLeft
=
sal_False
;
if
(
bHeader
)
{
aAny
=
rPropSet
->
getPropertyValue
(
sHeaderShareContent
);
bHeaderLeft
=
!*
(
sal_Bool
*
)
aAny
.
getValue
()
;
aAny
>>=
bHeaderLeft
;
}
if
(
xHeaderText
.
is
()
)
...
...
@@ -174,20 +175,21 @@ void XMLTextMasterPageExport::exportMasterPageContent(
}
aAny
=
rPropSet
->
getPropertyValue
(
sFooterOn
);
sal_Bool
bFooter
=
*
(
sal_Bool
*
)
aAny
.
getValue
();
sal_Bool
bFooter
=
sal_False
;
aAny
>>=
bFooter
;
sal_Bool
bFooterFirst
=
sal_False
;
if
(
bFooter
)
{
aAny
=
rPropSet
->
getPropertyValue
(
sFirstShareContent
);
bFooterFirst
=
!*
(
sal_Bool
*
)
aAny
.
getValue
()
;
aAny
>>=
bFooterFirst
;
}
sal_Bool
bFooterLeft
=
sal_False
;
if
(
bFooter
)
{
aAny
=
rPropSet
->
getPropertyValue
(
sFooterShareContent
);
bFooterLeft
=
!*
(
sal_Bool
*
)
aAny
.
getValue
()
;
aAny
>>=
bFooterLeft
;
}
if
(
xFooterText
.
is
()
)
...
...
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