--- sw/source/filter/ww1/fltshell.cxx +++ sw/source/filter/ww1/fltshell.cxx @@ -160,6 +160,9 @@ #ifndef _SHELLRES_HXX // for the pagedescname from the ShellRes #include #endif +#ifndef _SV_SVAPP_HXX +#include +#endif #define MAX_FIELDLEN 64000 @@ -846,7 +849,7 @@ SwFltShell::SwFltShell(SwDoc* pDoc, SwPaM& rPaM, const String& rBaseURL, BOOL bN pPaM(new SwPaM(*(rPaM.GetPoint()))), sBaseURL(rBaseURL), nPageDescOffset(GetDoc().GetPageDescCnt()), - eSrcCharSet(RTL_TEXTENCODING_MS_1252), + eSrcCharSet(Application::GetSettings().GetDefaultTextEncoding()), bNewDoc(bNew), bStdPD(FALSE), bProtect(FALSE) diff --git a/sw/source/filter/ww1/w1class.cxx b/sw/source/filter/ww1/w1class.cxx index 28e75d6..dc19480 100644