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
32c7ba61
Kaydet (Commit)
32c7ba61
authored
Tem 10, 2012
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#51793: FormatNumber can handle sal_uInt32 values after all...
Change-Id: I9d50bce0278a4aa65873aa816eb991473f556cee
üst
a6e3c2b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fldbas.hxx
sw/inc/fldbas.hxx
+1
-1
expfld.cxx
sw/source/core/fields/expfld.cxx
+1
-1
fldbas.cxx
sw/source/core/fields/fldbas.cxx
+1
-1
No files found.
sw/inc/fldbas.hxx
Dosyayı görüntüle @
32c7ba61
...
...
@@ -230,7 +230,7 @@ extern sal_uInt16 aTypeTab[];
// General tools.
String
GetResult
(
double
nVal
,
sal_uInt32
nNumFmt
,
sal_uInt16
nLang
=
LANGUAGE_SYSTEM
);
void
SetErrorStr
(
const
String
&
rStr
);
String
FormatNumber
(
sal_uInt
16
nNum
,
sal_uInt32
nFormat
);
String
FormatNumber
(
sal_uInt
32
nNum
,
sal_uInt32
nFormat
);
// Instances of SwFields and those derived from it occur 0 to n times.
// For each class there is one instance of the associated type class.
...
...
sw/source/core/fields/expfld.cxx
Dosyayı görüntüle @
32c7ba61
...
...
@@ -880,7 +880,7 @@ void SwSetExpField::SetValue( const double& rAny )
SwValueField
::
SetValue
(
rAny
);
if
(
IsSequenceFld
()
)
sExpand
=
FormatNumber
(
(
sal_uInt
16
)
GetValue
(),
GetFormat
()
);
sExpand
=
FormatNumber
(
(
sal_uInt
32
)
GetValue
(),
GetFormat
()
);
else
sExpand
=
((
SwValueFieldType
*
)
GetTyp
())
->
ExpandValue
(
rAny
,
GetFormat
(),
GetLanguage
());
...
...
sw/source/core/fields/fldbas.cxx
Dosyayı görüntüle @
32c7ba61
...
...
@@ -434,7 +434,7 @@ SwField * SwField::CopyField() const
Beschreibung: Numerierung expandieren
--------------------------------------------------------------------*/
String
FormatNumber
(
sal_uInt
16
nNum
,
sal_uInt32
nFormat
)
String
FormatNumber
(
sal_uInt
32
nNum
,
sal_uInt32
nFormat
)
{
if
(
SVX_NUM_PAGEDESC
==
nFormat
)
return
String
::
CreateFromInt32
(
nNum
);
...
...
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