diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-21 17:44:13 +0000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-22 07:57:21 +0100 |
commit | 80570de114d31f4ae5114b6fd6fd3ea365b14d63 (patch) | |
tree | 87e7171a8d6f9a1054c6d3ac86e88ac4049e36ac /sw/source/uibase | |
parent | 472713123b898470a9ce54ee9f19d900dd993d2d (diff) |
Related: tdf#160056 these methods can be const
Change-Id: Icf52f1665561eef0aa10febc9ca2f946e89b689b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165141
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/utlui/numfmtlb.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/numfmtlb.cxx b/sw/source/uibase/utlui/numfmtlb.cxx index 4dffed15d219..ad601c981716 100644 --- a/sw/source/uibase/utlui/numfmtlb.cxx +++ b/sw/source/uibase/utlui/numfmtlb.cxx @@ -263,7 +263,7 @@ void SwNumFormatBase::SetFormatType(const SvNumFormatType nFormatType) if( nFormat == pFormatter->GetFormatIndex( NF_NUMBER_STANDARD, m_eCurLanguage ) - || const_cast<SvNumberformat*>(pFormat)->GetOutputString( fVal, sValue, &pCol ) + || pFormat->GetOutputString( fVal, sValue, &pCol ) || nFormatType == SvNumFormatType::UNDEFINED ) { sValue = pFormat->GetFormatstring(); |