diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwpcharsetmgr.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpcharsetmgr.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpcharsetmgr.hxx b/lotuswordpro/source/filter/lwpcharsetmgr.hxx index 6125e5ac9fcd..340b9e7e6a9b 100644 --- a/lotuswordpro/source/filter/lwpcharsetmgr.hxx +++ b/lotuswordpro/source/filter/lwpcharsetmgr.hxx @@ -75,7 +75,11 @@ public: static LwpCharSetMgr* GetInstance(); void SetCodePageMap(); rtl_TextEncoding GetTextCharEncoding(sal_uInt16 wordproCode); - rtl_TextEncoding GetTextCharEncoding(); + static rtl_TextEncoding GetTextCharEncoding() + { + return RTL_TEXTENCODING_MS_1252;//here should be a default value,1252 or get from platform, 1-18 + } + private: std::map<sal_uInt16,rtl_TextEncoding> m_CodePageMap; static LwpCharSetMgr* Instance; |