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
5c3dd5af
Kaydet (Commit)
5c3dd5af
authored
Mar 21, 2012
tarafından
Caolán McNamara
Kaydeden (comit)
Michael Stahl
Mar 21, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#45522: WW8TableInfo::processSwTable: check that table has layout
üst
dfa1983b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
swtable.hxx
sw/inc/swtable.hxx
+2
-0
swtable.cxx
sw/source/core/table/swtable.cxx
+7
-0
WW8TableInfo.cxx
sw/source/filter/ww8/WW8TableInfo.cxx
+1
-2
No files found.
sw/inc/swtable.hxx
Dosyayı görüntüle @
5c3dd5af
...
...
@@ -326,6 +326,8 @@ public:
#ifdef DBG_UTIL
void
CheckConsistency
()
const
;
#endif
bool
HasLayout
()
const
;
};
class
SW_DLLPUBLIC
SwTableLine
:
public
SwClient
// Client of FrmFmt.
...
...
sw/source/core/table/swtable.cxx
Dosyayı görüntüle @
5c3dd5af
...
...
@@ -2800,6 +2800,13 @@ void SwTable::RegisterToFormat( SwFmt& rFmt )
rFmt
.
Add
(
this
);
}
bool
SwTable
::
HasLayout
()
const
{
const
SwFrmFmt
*
pFrmFmt
=
GetFrmFmt
();
//a table in a clipboard document doesn't have any layout information
return
pFrmFmt
&&
SwIterator
<
SwTabFrm
,
SwFmt
>::
FirstElement
(
*
pFrmFmt
);
}
void
SwTableLine
::
RegisterToFormat
(
SwFmt
&
rFmt
)
{
rFmt
.
Add
(
this
);
...
...
sw/source/filter/ww8/WW8TableInfo.cxx
Dosyayı görüntüle @
5c3dd5af
...
...
@@ -631,8 +631,7 @@ void WW8TableInfo::processSwTable(const SwTable * pTable)
WW8TableNodeInfo
*
pPrev
=
NULL
;
SwFrmFmt
*
pFrmFmt
=
pTable
->
GetFrmFmt
();
if
(
pFrmFmt
!=
NULL
&&
pTable
->
IsTblComplex
())
if
(
pTable
->
IsTblComplex
()
&&
pTable
->
HasLayout
())
{
pPrev
=
processSwTableByLayout
(
pTable
);
...
...
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