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
5fd73826
Kaydet (Commit)
5fd73826
authored
Eyl 28, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: fdo#73608 don't crash on missing table styles
Change-Id: I340b43b7afc4c5c4d6dc8e4ed182279240306540
üst
cadc2cbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
fdo73608-1.docx
sw/qa/core/data/ooxml/pass/fdo73608-1.docx
+0
-0
DomainMapperTableHandler.cxx
writerfilter/source/dmapper/DomainMapperTableHandler.cxx
+11
-1
No files found.
sw/qa/core/data/ooxml/pass/fdo73608-1.docx
0 → 100644
Dosyayı görüntüle @
5fd73826
File added
writerfilter/source/dmapper/DomainMapperTableHandler.cxx
Dosyayı görüntüle @
5fd73826
...
@@ -83,6 +83,10 @@ void DomainMapperTableHandler::startTable(unsigned int nRows,
...
@@ -83,6 +83,10 @@ void DomainMapperTableHandler::startTable(unsigned int nRows,
PropertyMapPtr
lcl_SearchParentStyleSheetAndMergeProperties
(
const
StyleSheetEntryPtr
pStyleSheet
,
StyleSheetTablePtr
pStyleSheetTable
)
PropertyMapPtr
lcl_SearchParentStyleSheetAndMergeProperties
(
const
StyleSheetEntryPtr
pStyleSheet
,
StyleSheetTablePtr
pStyleSheetTable
)
{
{
PropertyMapPtr
pRet
;
PropertyMapPtr
pRet
;
if
(
!
pStyleSheet
)
return
pRet
;
if
(
!
pStyleSheet
->
sBaseStyleIdentifier
.
isEmpty
())
if
(
!
pStyleSheet
->
sBaseStyleIdentifier
.
isEmpty
())
{
{
const
StyleSheetEntryPtr
pParentStyleSheet
=
pStyleSheetTable
->
FindStyleSheetByISTD
(
pStyleSheet
->
sBaseStyleIdentifier
);
const
StyleSheetEntryPtr
pParentStyleSheet
=
pStyleSheetTable
->
FindStyleSheetByISTD
(
pStyleSheet
->
sBaseStyleIdentifier
);
...
@@ -93,7 +97,10 @@ PropertyMapPtr lcl_SearchParentStyleSheetAndMergeProperties(const StyleSheetEntr
...
@@ -93,7 +97,10 @@ PropertyMapPtr lcl_SearchParentStyleSheetAndMergeProperties(const StyleSheetEntr
pRet
.
reset
(
new
PropertyMap
);
pRet
.
reset
(
new
PropertyMap
);
}
}
pRet
->
InsertProps
(
pStyleSheet
->
pProperties
);
if
(
pRet
)
{
pRet
->
InsertProps
(
pStyleSheet
->
pProperties
);
}
return
pRet
;
return
pRet
;
}
}
...
@@ -254,6 +261,9 @@ namespace
...
@@ -254,6 +261,9 @@ namespace
bool
lcl_extractTableBorderProperty
(
PropertyMapPtr
pTableProperties
,
const
PropertyIds
nId
,
TableInfo
&
rInfo
,
table
::
BorderLine2
&
rLine
)
bool
lcl_extractTableBorderProperty
(
PropertyMapPtr
pTableProperties
,
const
PropertyIds
nId
,
TableInfo
&
rInfo
,
table
::
BorderLine2
&
rLine
)
{
{
if
(
!
pTableProperties
)
return
false
;
const
boost
::
optional
<
PropertyMap
::
Property
>
aTblBorder
=
pTableProperties
->
getProperty
(
nId
);
const
boost
::
optional
<
PropertyMap
::
Property
>
aTblBorder
=
pTableProperties
->
getProperty
(
nId
);
if
(
aTblBorder
)
if
(
aTblBorder
)
{
{
...
...
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