diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-07 10:46:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-07 15:13:05 +0100 |
commit | ae0956085971eaffc84af396b4ba0b57be78e851 (patch) | |
tree | 5c11b8d7f7777a5d4e67e3e5fc432510a30f739c /sw/source/uibase/inc/langhelper.hxx | |
parent | b6a7d8201bdb6c28e18472326b2328507a6b1e4e (diff) |
use more TypedWhichId
Change-Id: I37683d59e4994546ad4591d213b825ab080940eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159059
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/langhelper.hxx')
-rw-r--r-- | sw/source/uibase/inc/langhelper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<SvxLanguageItem> nLangWhichId ); + extern LanguageType GetLanguage( SwWrtShell &rSh, TypedWhichId<SvxLanguageItem> nLangWhichId ); extern LanguageType GetCurrentLanguage( SfxItemSet const & aSet, SvtScriptType nScriptType ); extern LanguageType GetCurrentLanguage( SwWrtShell &rSh ); |