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
7511f631
Kaydet (Commit)
7511f631
authored
Şub 18, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity: fix memory leak
Change-Id: I991f0e90abfa6e772f43afd8b8aa69d3b5ce4fa0
üst
856a3a09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
lwprowlayout.cxx
lotuswordpro/source/filter/lwprowlayout.cxx
+2
-4
No files found.
lotuswordpro/source/filter/lwprowlayout.cxx
Dosyayı görüntüle @
7511f631
...
@@ -177,14 +177,11 @@ void LwpRowLayout::Read()
...
@@ -177,14 +177,11 @@ void LwpRowLayout::Read()
*/
*/
void
LwpRowLayout
::
ConvertRow
(
XFTable
*
pXFTable
,
sal_uInt8
nStartCol
,
sal_uInt8
nEndCol
)
void
LwpRowLayout
::
ConvertRow
(
XFTable
*
pXFTable
,
sal_uInt8
nStartCol
,
sal_uInt8
nEndCol
)
{
{
XFRow
*
pXFRow
=
new
XFRow
;
LwpTableLayout
*
pTableLayout
=
GetParentTableLayout
();
LwpTableLayout
*
pTableLayout
=
GetParentTableLayout
();
LwpTable
*
pTable
=
pTableLayout
->
GetTable
();
LwpTable
*
pTable
=
pTableLayout
->
GetTable
();
//calculate the connected cell position
//calculate the connected cell position
sal_Int32
nMarkConnCell
;
sal_Int32
nMarkConnCell
=
FindMarkConnCell
(
nStartCol
,
nEndCol
);
nMarkConnCell
=
FindMarkConnCell
(
nStartCol
,
nEndCol
);
//if there is no connected cell
//if there is no connected cell
if
(
nMarkConnCell
==
-
1
)
if
(
nMarkConnCell
==
-
1
)
...
@@ -195,6 +192,7 @@ void LwpRowLayout::ConvertRow(XFTable* pXFTable,sal_uInt8 nStartCol,sal_uInt8 nE
...
@@ -195,6 +192,7 @@ void LwpRowLayout::ConvertRow(XFTable* pXFTable,sal_uInt8 nStartCol,sal_uInt8 nE
//register connect row style
//register connect row style
sal_uInt16
nRowMark
=
crowid
+
GetCurMaxSpannedRows
(
nStartCol
,
nEndCol
);
sal_uInt16
nRowMark
=
crowid
+
GetCurMaxSpannedRows
(
nStartCol
,
nEndCol
);
XFRow
*
pXFRow
=
new
XFRow
;
RegisterCurRowStyle
(
pXFRow
,
nRowMark
);
RegisterCurRowStyle
(
pXFRow
,
nRowMark
);
//if there is connected cell
//if there is connected cell
...
...
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