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
4e470b40
Kaydet (Commit)
4e470b40
authored
Haz 08, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: nWidthPixel is unused, lets drop it
üst
ea61d7f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
htmlexp.cxx
sc/source/filter/html/htmlexp.cxx
+0
-11
No files found.
sc/source/filter/html/htmlexp.cxx
Dosyayı görüntüle @
4e470b40
...
...
@@ -909,7 +909,6 @@ void ScHTMLExport::WriteCell( SCCOL nCol, SCROW nRow, SCTAB nTab )
}
const
sal_Char
*
pChar
;
sal_uInt16
nWidthPixel
;
sal_uInt16
nHeightPixel
;
const
ScMergeAttr
&
rMergeAttr
=
(
const
ScMergeAttr
&
)
pAttr
->
GetItem
(
ATTR_MERGE
,
pCondItemSet
);
...
...
@@ -929,10 +928,7 @@ void ScHTMLExport::WriteCell( SCCOL nCol, SCROW nRow, SCTAB nTab )
nC
=
nC
+
nCol
;
for
(
jC
=
nCol
,
v
=
0
;
jC
<
nC
;
jC
++
)
v
+=
pDoc
->
GetColWidth
(
jC
,
nTab
);
nWidthPixel
=
ToPixel
(
static_cast
<
sal_uInt16
>
(
v
)
);
}
else
nWidthPixel
=
ToPixel
(
pDoc
->
GetColWidth
(
nCol
,
nTab
)
);
if
(
pGraphEntry
)
nR
=
Max
(
SCROW
(
pGraphEntry
->
aRange
.
aEnd
.
Row
()
-
nRow
+
1
),
...
...
@@ -950,15 +946,8 @@ void ScHTMLExport::WriteCell( SCCOL nCol, SCROW nRow, SCTAB nTab )
nHeightPixel
=
ToPixel
(
pDoc
->
GetRowHeight
(
nRow
,
nTab
)
);
}
else
{
nWidthPixel
=
ToPixel
(
pDoc
->
GetColWidth
(
nCol
,
nTab
)
);
nHeightPixel
=
ToPixel
(
pDoc
->
GetRowHeight
(
nRow
,
nTab
)
);
}
#if 0 // No point - this is already defined in ColGroup
if ( bTableDataWidth )
((((aStrTD += ' ') += OOO_STRING_SVTOOLS_HTML_O_width) += "=\"") += ByteString::CreateFromInt32( nWidthPixel )) += '"';
#endif
if
(
bTableDataHeight
)
((((
aStrTD
+=
' '
)
+=
OOO_STRING_SVTOOLS_HTML_O_height
)
+=
"=
\"
"
)
+=
ByteString
::
CreateFromInt32
(
nHeightPixel
))
+=
'"'
;
...
...
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