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
b448ee4a
Kaydet (Commit)
b448ee4a
authored
Kas 06, 2014
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
eliminate ImpInsertNewStandardFormat()
Change-Id: I66fd200f1a504af22430e0471e1c98927101a9de
üst
11eba2ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
25 deletions
+10
-25
zforlist.hxx
include/svl/zforlist.hxx
+0
-6
zforlist.cxx
svl/source/numbers/zforlist.cxx
+10
-19
No files found.
include/svl/zforlist.hxx
Dosyayı görüntüle @
b448ee4a
...
@@ -826,12 +826,6 @@ private:
...
@@ -826,12 +826,6 @@ private:
sal_uInt32
nPos
,
sal_uInt32
nPos
,
bool
bAfterChangingSystemCL
=
false
,
bool
bAfterChangingSystemCL
=
false
,
sal_Int16
nOrgIndex
=
0
);
sal_Int16
nOrgIndex
=
0
);
// ImpInsertNewStandardFormat for new (since version ...) builtin formats
SVL_DLLPRIVATE
SvNumberformat
*
ImpInsertNewStandardFormat
(
const
::
com
::
sun
::
star
::
i18n
::
NumberFormatCode
&
rCode
,
sal_uInt32
nPos
,
sal_uInt16
nVersion
,
bool
bAfterChangingSystemCL
=
false
,
sal_Int16
nOrgIndex
=
0
);
// Return CLOffset or (MaxCLOffset + SV_COUNTRY_LANGUAGE_OFFSET) if new language/country
// Return CLOffset or (MaxCLOffset + SV_COUNTRY_LANGUAGE_OFFSET) if new language/country
SVL_DLLPRIVATE
sal_uInt32
ImpGetCLOffset
(
LanguageType
eLnge
)
const
;
SVL_DLLPRIVATE
sal_uInt32
ImpGetCLOffset
(
LanguageType
eLnge
)
const
;
...
...
svl/source/numbers/zforlist.cxx
Dosyayı görüntüle @
b448ee4a
...
@@ -1751,19 +1751,6 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat( const ::com::sun::star::i18n
...
@@ -1751,19 +1751,6 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat( const ::com::sun::star::i18n
return
pFormat
;
return
pFormat
;
}
}
SvNumberformat
*
SvNumberFormatter
::
ImpInsertNewStandardFormat
(
const
::
com
::
sun
::
star
::
i18n
::
NumberFormatCode
&
rCode
,
sal_uInt32
nPos
,
sal_uInt16
nVersion
,
bool
bAfterChangingSystemCL
,
sal_Int16
nOrgIndex
)
{
SvNumberformat
*
pNewFormat
=
ImpInsertFormat
(
rCode
,
nPos
,
bAfterChangingSystemCL
,
nOrgIndex
);
if
(
pNewFormat
)
pNewFormat
->
SetNewStandardDefined
(
nVersion
);
// so that it gets saved, displayed properly, and converted by old versions
return
pNewFormat
;
}
void
SvNumberFormatter
::
GetFormatSpecialInfo
(
sal_uInt32
nFormat
,
void
SvNumberFormatter
::
GetFormatSpecialInfo
(
sal_uInt32
nFormat
,
bool
&
bThousand
,
bool
&
bThousand
,
bool
&
IsRed
,
bool
&
IsRed
,
...
@@ -2525,10 +2512,12 @@ void SvNumberFormatter::ImpGenerateAdditionalFormats( sal_uInt32 CLOffset,
...
@@ -2525,10 +2512,12 @@ void SvNumberFormatter::ImpGenerateAdditionalFormats( sal_uInt32 CLOffset,
//! no default on currency
//! no default on currency
bool
bDefault
=
aFormatSeq
[
j
].
Default
;
bool
bDefault
=
aFormatSeq
[
j
].
Default
;
aFormatSeq
[
j
].
Default
=
false
;
aFormatSeq
[
j
].
Default
=
false
;
if
(
ImpInsertNewStandardFormat
(
pFormatArr
[
j
],
nPos
+
1
,
if
(
SvNumberformat
*
pNewFormat
=
ImpInsertFormat
(
pFormatArr
[
j
],
nPos
+
1
,
SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS
,
bAfterChangingSystemCL
,
nOrgIndex
)
)
bAfterChangingSystemCL
,
nOrgIndex
)
)
{
pNewFormat
->
SetNewStandardDefined
(
SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS
);
nPos
++
;
nPos
++
;
}
pFormatArr
[
j
].
Index
=
nOrgIndex
;
pFormatArr
[
j
].
Index
=
nOrgIndex
;
aFormatSeq
[
j
].
Default
=
bDefault
;
aFormatSeq
[
j
].
Default
=
bDefault
;
}
}
...
@@ -2554,10 +2543,12 @@ void SvNumberFormatter::ImpGenerateAdditionalFormats( sal_uInt32 CLOffset,
...
@@ -2554,10 +2543,12 @@ void SvNumberFormatter::ImpGenerateAdditionalFormats( sal_uInt32 CLOffset,
}
}
if
(
pFormatArr
[
j
].
Index
>=
NF_INDEX_TABLE_LOCALE_DATA_DEFAULTS
)
if
(
pFormatArr
[
j
].
Index
>=
NF_INDEX_TABLE_LOCALE_DATA_DEFAULTS
)
{
{
if
(
ImpInsertNewStandardFormat
(
pFormatArr
[
j
],
nPos
+
1
,
if
(
SvNumberformat
*
pNewFormat
=
ImpInsertFormat
(
pFormatArr
[
j
],
nPos
+
1
,
SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS
,
bAfterChangingSystemCL
)
)
bAfterChangingSystemCL
)
)
{
pNewFormat
->
SetNewStandardDefined
(
SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS
);
nPos
++
;
nPos
++
;
}
}
}
}
}
}
}
...
...
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