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
89c85a4b
Kaydet (Commit)
89c85a4b
authored
Haz 17, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix crash on re-export of fdo60957-2.docx to docx
Change-Id: I1a74a5f1877bfa72818ff0a38788eafe77eea581
üst
a58affd7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
fdo60957-2.docx
sw/qa/extras/ooxmlexport/data/fdo60957-2.docx
+0
-0
ooxmlexport5.cxx
sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
+9
-0
docxattributeoutput.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
+3
-3
No files found.
sw/qa/extras/ooxmlexport/data/fdo60957-2.docx
0 → 100644
Dosyayı görüntüle @
89c85a4b
File added
sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
Dosyayı görüntüle @
89c85a4b
...
...
@@ -849,6 +849,15 @@ DECLARE_OOXMLEXPORT_TEST(testOO72950, "ooo72950-1.odt")
assertXPath
(
pXmlDoc
,
"//w:tbl"
,
1
);
}
//There are two tables to export in this doc the second of which is inside a
//frame anchored to first cell of the first table. They must not be
//considered the same table
DECLARE_OOXMLEXPORT_TEST
(
fdo60957
,
"fdo60957-2.docx"
)
{
if
(
xmlDocPtr
pXmlDoc
=
parseExport
(
"word/document.xml"
))
assertXPath
(
pXmlDoc
,
"//w:tbl"
,
2
);
}
CPPUNIT_PLUGIN_IMPLEMENT
();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sw/source/filter/ww8/docxattributeoutput.cxx
Dosyayı görüntüle @
89c85a4b
...
...
@@ -566,15 +566,15 @@ void DocxAttributeOutput::EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pT
// Write framePr
if(!aFramePrTextbox.empty())
{
ww8::WW8TableInfo::Pointer_t pOldTableInfo = m_rExport.m_pTableInfo;
for (std::vector< boost::shared_ptr<sw::Frame> > ::iterator it = aFramePrTextbox.begin() ; it != aFramePrTextbox.end(); ++it)
{
m_rExport.m_pTableInfo = ww8::WW8TableInfo::Pointer_t(new ww8::WW8TableInfo());
DocxTableExportContext aTableExportContext;
pushToTableExportContext(aTableExportContext);
m_pCurrentFrame = it->get();
m_rExport.SdrExporter().writeOnlyTextOfFrame(it->get());
m_pCurrentFrame = NULL;
popFromTableExportContext(aTableExportContext);
}
m_rExport.m_pTableInfo = pOldTableInfo;
aFramePrTextbox.clear();
}
// Check for end of cell, rows, tables here
...
...
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