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
972c92c8
Kaydet (Commit)
972c92c8
authored
Tem 11, 2014
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CID#982304 logically dead code
Change-Id: I8ffc8249a4d1b7530ee208cf84b48af832758a4d
üst
2a17daf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
docsh8.cxx
sc/source/ui/docshell/docsh8.cxx
+9
-0
No files found.
sc/source/ui/docshell/docsh8.cxx
Dosyayı görüntüle @
972c92c8
...
...
@@ -686,11 +686,20 @@ void lcl_GetColumnTypes(
}
else
{
#if 1
// Adjust length to predefined precision.
nLen
=
nLen
+
(
nPrecision
-
nPrec
);
#else
/* If the above override for (nPrecision < nPrec) was not in place then
* nPrecision could be 0 and this would be the code path to correctly
* calculate nLen. But as is, nPrecision is never 0 here, see CID#982304 */
// Adjust length to predefined precision.
if
(
nPrecision
)
nLen
=
nLen
+
(
nPrecision
-
nPrec
);
else
nLen
-=
nPrec
+
1
;
// also remove the decimal separator
#endif
}
}
if
(
nFieldLen
<
nLen
)
...
...
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