summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-27 11:11:11 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-27 17:23:45 +0100
commit6ddc398095bcbb288b1ef1ec3f01a52a615672f8 (patch)
tree682a027cf778fe030166ce9068f6dbea522cea78 /include
parent381e257a814036df6baab4ddbb96371fba856acf (diff)
drop const_cast and be more honest that internal state changes
Change-Id: I20dd009b2bd14cdf958572dabc7a7e565a2f98ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165393 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svl/nfengine.hxx2
-rw-r--r--include/svl/numformat.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/nfengine.hxx b/include/svl/nfengine.hxx
index aa57d731fbac..a4890e074d1a 100644
--- a/include/svl/nfengine.hxx
+++ b/include/svl/nfengine.hxx
@@ -92,7 +92,7 @@ public:
bool IsDecimalSep(std::u16string_view rStr) const;
/// Return the decimal separator matching the given locale / LanguageType.
- OUString GetLangDecimalSep(LanguageType nLang) const;
+ OUString GetLangDecimalSep(LanguageType nLang);
/// Change language/country, also input and format scanner
void ChangeIntl(LanguageType eLnge);
diff --git a/include/svl/numformat.hxx b/include/svl/numformat.hxx
index 7acecbcbc2b4..b26e245ca8d5 100644
--- a/include/svl/numformat.hxx
+++ b/include/svl/numformat.hxx
@@ -264,7 +264,7 @@ public:
const SvNumberformat* GetEntry(sal_uInt32 nKey) const;
/// Obtain substituted GetFormatEntry(), i.e. system formats.
- const SvNumberformat* GetSubstitutedEntry(sal_uInt32 nKey, sal_uInt32& o_rNewKey) const;
+ const SvNumberformat* GetSubstitutedEntry(sal_uInt32 nKey, sal_uInt32& o_rNewKey);
/// Return the format index of the standard default number format for language/country
sal_uInt32 GetStandardIndex(LanguageType eLnge = LANGUAGE_DONTKNOW);