diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/langtab.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx index c10561f8f87c..1e04933cd377 100644 --- a/svtools/source/misc/langtab.cxx +++ b/svtools/source/misc/langtab.cxx @@ -47,7 +47,7 @@ public: SvtLanguageTableImpl(); bool HasType( const LanguageType eType ) const; - const OUString GetString( const LanguageType eType ) const; + OUString GetString( const LanguageType eType ) const; LanguageType GetType( const OUString& rStr ) const; sal_uInt32 GetEntryCount() const; LanguageType GetTypeAtIndex( sal_uInt32 nIndex ) const; @@ -76,7 +76,7 @@ namespace { struct theLanguageTable : public rtl::Static< SvtLanguageTableImpl, theLanguageTable > {}; } -const OUString ApplyLreOrRleEmbedding( const OUString &rText ) +OUString ApplyLreOrRleEmbedding( const OUString &rText ) { const sal_Int32 nLen = rText.getLength(); if (nLen == 0) @@ -207,7 +207,7 @@ bool SvtLanguageTable::HasLanguageType( const LanguageType eType ) return theLanguageTable::get().HasType( eType ); } -const OUString SvtLanguageTableImpl::GetString( const LanguageType eType ) const +OUString SvtLanguageTableImpl::GetString( const LanguageType eType ) const { LanguageType eLang = MsLangId::getReplacementForObsoleteLanguage( eType ); sal_uInt32 nPos = FindIndex(eLang); |