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
e94d1bb9
Kaydet (Commit)
e94d1bb9
authored
Şub 18, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity: no need to use a pointer here
Change-Id: I83b986c6f2f8670c2c0f6caa754fd3567c7488a8
üst
ae313885
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lwplayout.cxx
lotuswordpro/source/filter/lwplayout.cxx
+6
-6
No files found.
lotuswordpro/source/filter/lwplayout.cxx
Dosyayı görüntüle @
e94d1bb9
...
@@ -1603,24 +1603,24 @@ XFColumns* LwpLayout::GetXFColumns()
...
@@ -1603,24 +1603,24 @@ XFColumns* LwpLayout::GetXFColumns()
//set xfcolumn
//set xfcolumn
for
(
sal_uInt16
nIndex
=
0
;
nIndex
<
nCols
;
nIndex
++
)
for
(
sal_uInt16
nIndex
=
0
;
nIndex
<
nCols
;
nIndex
++
)
{
{
XFColumn
*
pColumn
=
new
XFColumn
()
;
XFColumn
aColumn
;
sal_Int32
nWidth
=
static_cast
<
sal_Int32
>
(
GetColWidth
(
nIndex
));
sal_Int32
nWidth
=
static_cast
<
sal_Int32
>
(
GetColWidth
(
nIndex
));
nWidth
=
8305
/
nCols
;
//relative width
nWidth
=
8305
/
nCols
;
//relative width
pColumn
->
SetRelWidth
(
nWidth
);
aColumn
.
SetRelWidth
(
nWidth
);
//the left and right margins is 0;
//the left and right margins is 0;
double
nGap
=
GetColGap
(
nIndex
)
/
2
;
double
nGap
=
GetColGap
(
nIndex
)
/
2
;
//nGap=0;
//nGap=0;
pColumn
->
SetMargins
(
nGap
,
nGap
);
aColumn
.
SetMargins
(
nGap
,
nGap
);
if
(
nIndex
==
0
)
if
(
nIndex
==
0
)
{
{
pColumn
->
SetMargins
(
0
,
nGap
);
aColumn
.
SetMargins
(
0
,
nGap
);
}
}
if
(
nIndex
==
(
nCols
-
1
))
if
(
nIndex
==
(
nCols
-
1
))
{
{
pColumn
->
SetMargins
(
nGap
,
0
);
aColumn
.
SetMargins
(
nGap
,
0
);
}
}
pColumns
->
AddColumn
(
*
p
Column
);
pColumns
->
AddColumn
(
a
Column
);
}
}
return
pColumns
;
return
pColumns
;
...
...
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