summaryrefslogtreecommitdiff
path: root/svtools/source/control
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 15:42:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-04 08:48:58 +0200
commitc2fdf096b40f87436b3ee74a1cdeb014cb5a7bbf (patch)
tree6c679c10fb71853934aaf21c0af53042657465cc /svtools/source/control
parent2213bd610f6522b8fea7ae2af7e973e29dbe25b6 (diff)
rename Anz->Cnt in svl
Change-Id: Ibe9ad8c1bfbb336ee1f02edf0f619220cfcee375 Reviewed-on: https://gerrit.libreoffice.org/40744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/control')
-rw-r--r--svtools/source/control/fmtfield.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index 5b0fb828986d..d22ce0631eeb 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -621,8 +621,8 @@ bool FormattedField::GetThousandsSep() const
"FormattedField::GetThousandsSep : Are you sure what you are doing when setting the precision of a text format?");
bool bThousand, IsRed;
- sal_uInt16 nPrecision, nAnzLeading;
- ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading);
+ sal_uInt16 nPrecision, nLeadingCnt;
+ ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nLeadingCnt);
return bThousand;
}
@@ -634,8 +634,8 @@ void FormattedField::SetThousandsSep(bool _bUseSeparator)
// get the current settings
bool bThousand, IsRed;
- sal_uInt16 nPrecision, nAnzLeading;
- ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading);
+ sal_uInt16 nPrecision, nLeadingCnt;
+ ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nLeadingCnt);
if (bThousand == _bUseSeparator)
return;
@@ -644,7 +644,7 @@ void FormattedField::SetThousandsSep(bool _bUseSeparator)
GetFormat(eLang);
// generate a new format ...
- OUString sFmtDescription = ImplGetFormatter()->GenerateFormat(m_nFormatKey, eLang, _bUseSeparator, IsRed, nPrecision, nAnzLeading);
+ OUString sFmtDescription = ImplGetFormatter()->GenerateFormat(m_nFormatKey, eLang, _bUseSeparator, IsRed, nPrecision, nLeadingCnt);
// ... and introduce it to the formatter
sal_Int32 nCheckPos = 0;
sal_uInt32 nNewKey;
@@ -662,8 +662,8 @@ sal_uInt16 FormattedField::GetDecimalDigits() const
"FormattedField::GetDecimalDigits : Are you sure what you are doing when setting the precision of a text format?");
bool bThousand, IsRed;
- sal_uInt16 nPrecision, nAnzLeading;
- ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading);
+ sal_uInt16 nPrecision, nLeadingCnt;
+ ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nLeadingCnt);
return nPrecision;
}
@@ -675,8 +675,8 @@ void FormattedField::SetDecimalDigits(sal_uInt16 _nPrecision)
// get the current settings
bool bThousand, IsRed;
- sal_uInt16 nPrecision, nAnzLeading;
- ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading);
+ sal_uInt16 nPrecision, nLeadingCnt;
+ ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nLeadingCnt);
if (nPrecision == _nPrecision)
return;
@@ -685,7 +685,7 @@ void FormattedField::SetDecimalDigits(sal_uInt16 _nPrecision)
GetFormat(eLang);
// generate a new format ...
- OUString sFmtDescription = ImplGetFormatter()->GenerateFormat(m_nFormatKey, eLang, bThousand, IsRed, _nPrecision, nAnzLeading);
+ OUString sFmtDescription = ImplGetFormatter()->GenerateFormat(m_nFormatKey, eLang, bThousand, IsRed, _nPrecision, nLeadingCnt);
// ... and introduce it to the formatter
sal_Int32 nCheckPos = 0;
sal_uInt32 nNewKey;