diff options
Diffstat (limited to 'sw/source/filter/html/swhtml.cxx')
-rw-r--r-- | sw/source/filter/html/swhtml.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index 019c9dd0e826..23cc0df2d024 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -165,16 +165,13 @@ String HTMLReader::GetTemplateName() const sTemplate += INET_PATH_TOKEN; sTemplate.AppendAscii( TOOLS_CONSTASCII_STRINGPARAM("html") ); String sTemplateWithoutExt( sTemplate ); -#ifndef MAC_WITHOUT_EXT // first search for OpenDocument Writer/Web template sTemplate.AppendAscii( TOOLS_CONSTASCII_STRINGPARAM(".oth") ); -#endif SvtPathOptions aPathOpt; // OpenDocument Writer/Web template (extension .oth) sal_Bool bSet = aPathOpt.SearchFile( sTemplate, SvtPathOptions::PATH_TEMPLATE ); -#ifndef MAC_WITHOUT_EXT if( !bSet ) { // 6.0 (extension .stw) @@ -184,7 +181,6 @@ String HTMLReader::GetTemplateName() const sTemplate.AppendAscii( TOOLS_CONSTASCII_STRINGPARAM(".stw") ); bSet = aPathOpt.SearchFile( sTemplate, SvtPathOptions::PATH_TEMPLATE ); } -#endif if( !bSet ) { |