diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-01 13:01:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-01 20:58:11 +0200 |
commit | 581efdec36787dc5e378e54d13e7328fddcf3a50 (patch) | |
tree | 29f04e719f8402028a4e26088a8ea825ebe9fdca /xmloff/source | |
parent | e512b53ef8ae7945131876d32121fdbbdeb1de35 (diff) |
loplugin:constmethod
Change-Id: I3ed657c5c5e6840e38e3c8505505b4b372125df0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122910
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/core/xmluconv.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx index 0791532897f0..e1fe1796488c 100644 --- a/xmloff/source/core/xmluconv.cxx +++ b/xmloff/source/core/xmluconv.cxx @@ -369,14 +369,14 @@ void SvXMLUnitConverter::convertDateTime(OUStringBuffer& rBuffer, /** convert ISO Date Time String to double */ bool SvXMLUnitConverter::convertDateTime(double& fDateTime, - std::u16string_view rString) + std::u16string_view rString) const { return convertDateTime(fDateTime, rString, m_pImpl->m_aNullDate); } /** convert ISO Date Time String to double */ bool SvXMLUnitConverter::convertDateTime(double& fDateTime, - std::string_view rString) + std::string_view rString) const { return convertDateTime(fDateTime, rString, m_pImpl->m_aNullDate); } @@ -672,7 +672,7 @@ void SvXMLUnitConverter::convertB3DVector( OUStringBuffer &rBuffer, const ::base /** convert string to Position3D */ bool SvXMLUnitConverter::convertPosition3D( drawing::Position3D& rPosition, - std::string_view rValue ) + std::string_view rValue ) const { OUString aContentX,aContentY,aContentZ; if ( !lcl_getPositions(rValue,aContentX,aContentY,aContentZ) ) diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 4563efa9173d..39d6c2763c6a 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -2210,7 +2210,7 @@ SvXMLStyleContext* SvXMLNumFmtHelper::CreateChildContext( SvXMLImport& rImport, pData.get(), nStyleToken, xAttrList, rStyles ); } -LanguageType SvXMLNumFmtHelper::GetLanguageForKey(sal_Int32 nKey) +LanguageType SvXMLNumFmtHelper::GetLanguageForKey(sal_Int32 nKey) const { if (pData->GetNumberFormatter()) { |