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
0c876483
Kaydet (Commit)
0c876483
authored
Ara 10, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
guard against missing table layout
Change-Id: I4bc7a7283f63124ccb50957ea64791644e01e267
üst
22ee3194
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lwpcelllayout.cxx
lotuswordpro/source/filter/lwpcelllayout.cxx
+3
-0
lwprowlayout.cxx
lotuswordpro/source/filter/lwprowlayout.cxx
+4
-1
No files found.
lotuswordpro/source/filter/lwpcelllayout.cxx
Dosyayı görüntüle @
0c876483
...
@@ -696,6 +696,9 @@ void LwpConnectedCellLayout::SetCellMap()
...
@@ -696,6 +696,9 @@ void LwpConnectedCellLayout::SetCellMap()
{
{
// this function is called from LwpTableLayout, so it can't be NULL
// this function is called from LwpTableLayout, so it can't be NULL
LwpTableLayout
*
pTableLayout
=
GetTableLayout
();
LwpTableLayout
*
pTableLayout
=
GetTableLayout
();
if
(
!
pTableLayout
)
return
;
sal_uInt16
nRowSpan
=
m_nRealrowspan
;
sal_uInt16
nRowSpan
=
m_nRealrowspan
;
for
(
sal_uInt16
iLoop
=
0
;
iLoop
<
nRowSpan
;
iLoop
++
)
for
(
sal_uInt16
iLoop
=
0
;
iLoop
<
nRowSpan
;
iLoop
++
)
...
...
lotuswordpro/source/filter/lwprowlayout.cxx
Dosyayı görüntüle @
0c876483
...
@@ -363,11 +363,14 @@ sal_uInt16 LwpRowLayout::GetCurMaxSpannedRows(sal_uInt8 nStartCol,sal_uInt8 nEnd
...
@@ -363,11 +363,14 @@ sal_uInt16 LwpRowLayout::GetCurMaxSpannedRows(sal_uInt8 nStartCol,sal_uInt8 nEnd
*/
*/
void
LwpRowLayout
::
ConvertCommonRow
(
XFTable
*
pXFTable
,
sal_uInt8
nStartCol
,
sal_uInt8
nEndCol
)
void
LwpRowLayout
::
ConvertCommonRow
(
XFTable
*
pXFTable
,
sal_uInt8
nStartCol
,
sal_uInt8
nEndCol
)
{
{
LwpTableLayout
*
pTableLayout
=
GetParentTableLayout
();
if
(
!
pTableLayout
)
return
;
XFRow
*
pRow
=
new
XFRow
;
XFRow
*
pRow
=
new
XFRow
;
pRow
->
SetStyleName
(
m_StyleName
);
pRow
->
SetStyleName
(
m_StyleName
);
XFCell
*
pCell
=
nullptr
;
XFCell
*
pCell
=
nullptr
;
LwpTableLayout
*
pTableLayout
=
GetParentTableLayout
();
LwpTable
*
pTable
=
pTableLayout
->
GetTable
();
LwpTable
*
pTable
=
pTableLayout
->
GetTable
();
sal_uInt8
nCellStartCol
,
nCellEndCol
;
sal_uInt8
nCellStartCol
,
nCellEndCol
;
...
...
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