diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-07-17 08:09:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-07-17 11:20:22 +0200 |
commit | 107ab712725e92fc527b54e91f317f932b78146a (patch) | |
tree | 9df162c1abb3567c3e1d1be007d526ef92292ccb /svx/source/svdraw | |
parent | d22ab7b444a4e16dc2bd1f7d15fa36a848eaaaed (diff) |
svx: prefix members of SdrCustomShapeGeometryItem and SdrFormatter
See tdf#94879 for motivation.
Change-Id: If7ca1e0117943f82c9ea46d6a6eb9ba9f67b1b09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154507
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r-- | svx/source/svdraw/svdtrans.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx index 967ce9042c04..fac6d3bf376b 100644 --- a/svx/source/svdraw/svdtrans.cxx +++ b/svx/source/svdraw/svdtrans.cxx @@ -649,8 +649,8 @@ FrPair GetMapFactor(FieldUnit eS, FieldUnit eD) void SdrFormatter::Undirty() { - const o3tl::Length eFrom = MapToO3tlLength(eSrcMU, o3tl::Length::invalid); - const o3tl::Length eTo = MapToO3tlLength(eDstMU, o3tl::Length::invalid); + const o3tl::Length eFrom = MapToO3tlLength(m_eSrcMU, o3tl::Length::invalid); + const o3tl::Length eTo = MapToO3tlLength(m_eDstMU, o3tl::Length::invalid); if (eFrom != o3tl::Length::invalid && eTo != o3tl::Length::invalid) { const auto& [mul, div] = o3tl::getConversionMulDiv(eFrom, eTo); @@ -671,16 +671,16 @@ void SdrFormatter::Undirty() nComma++; nDiv /= 10; } - nMul_ = nMul; - nDiv_ = nDiv; - nComma_ = nComma; + m_nMul = nMul; + m_nDiv = nDiv; + m_nComma = nComma; } else { - nMul_ = nDiv_ = 1; - nComma_ = 0; + m_nMul = m_nDiv = 1; + m_nComma = 0; } - bDirty=false; + m_bDirty=false; } @@ -698,10 +698,10 @@ OUString SdrFormatter::GetStr(tools::Long nVal) const SvtSysLocale aSysLoc; const LocaleDataWrapper& rLoc = aSysLoc.GetLocaleData(); - if (bDirty) + if (m_bDirty) const_cast<SdrFormatter*>(this)->Undirty(); - sal_Int16 nC(nComma_); + sal_Int16 nC(m_nComma); if(bNeg) nVal = -nVal; @@ -718,8 +718,8 @@ OUString SdrFormatter::GetStr(tools::Long nVal) const nC++; } - if(nMul_ != nDiv_) - nVal = BigMulDiv(nVal, nMul_, nDiv_); + if(m_nMul != m_nDiv) + nVal = BigMulDiv(nVal, m_nMul, m_nDiv); OUStringBuffer aStr = OUString::number(nVal); |