From ae0956085971eaffc84af396b4ba0b57be78e851 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 7 Nov 2023 10:46:55 +0200 Subject: use more TypedWhichId Change-Id: I37683d59e4994546ad4591d213b825ab080940eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159059 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/inc/langhelper.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/uibase/inc/langhelper.hxx') diff --git a/sw/source/uibase/inc/langhelper.hxx b/sw/source/uibase/inc/langhelper.hxx index 9e4e467546d9..e9e12f1d384f 100644 --- a/sw/source/uibase/inc/langhelper.hxx +++ b/sw/source/uibase/inc/langhelper.hxx @@ -52,8 +52,8 @@ namespace SwLangHelper extern OUString GetTextForLanguageGuessing(EditEngine const * rEditEngine, const ESelection& rDocSelection); extern OUString GetTextForLanguageGuessing(SwWrtShell const &rSh); - extern LanguageType GetLanguage( SfxItemSet const & aSet, sal_uInt16 nLangWhichId ); - extern LanguageType GetLanguage( SwWrtShell &rSh, sal_uInt16 nLangWhichId ); + extern LanguageType GetLanguage( SfxItemSet const & aSet, TypedWhichId nLangWhichId ); + extern LanguageType GetLanguage( SwWrtShell &rSh, TypedWhichId nLangWhichId ); extern LanguageType GetCurrentLanguage( SfxItemSet const & aSet, SvtScriptType nScriptType ); extern LanguageType GetCurrentLanguage( SwWrtShell &rSh ); -- cgit