From c70d49c7c888da8cfd73db8585e7be1f37fc398a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 17 Apr 2017 21:35:35 +0200 Subject: use strong_int for LanguageType Change-Id: If99a944f7032180355da291ad283b4cfcea4f448 Reviewed-on: https://gerrit.libreoffice.org/36629 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/docufld.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc/docufld.hxx') diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index d1ad7ecbf232..5cdeb3ff9030 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -496,7 +496,7 @@ class SwDocInfoFieldType : public SwValueFieldType public: SwDocInfoFieldType(SwDoc* pDc); - OUString Expand(sal_uInt16 nSubType, sal_uInt32 nFormat, sal_uInt16 nLang, const OUString& rName) const; + OUString Expand(sal_uInt16 nSubType, sal_uInt32 nFormat, LanguageType nLang, const OUString& rName) const; virtual SwFieldType* Copy() const override; }; @@ -515,7 +515,7 @@ public: virtual void SetSubType(sal_uInt16) override; virtual sal_uInt16 GetSubType() const override; - virtual void SetLanguage(sal_uInt16 nLng) override; + virtual void SetLanguage(LanguageType nLng) override; virtual OUString GetFieldName() const override; const OUString& GetName() const { return aName; } void SetName( const OUString& rName ) { aName = rName; } -- cgit