diff options
Diffstat (limited to 'svtools/source/config/htmlcfg.cxx')
-rw-r--r-- | svtools/source/config/htmlcfg.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/svtools/source/config/htmlcfg.cxx b/svtools/source/config/htmlcfg.cxx index 4b4f3424e1dd..c021637eefac 100644 --- a/svtools/source/config/htmlcfg.cxx +++ b/svtools/source/config/htmlcfg.cxx @@ -162,11 +162,9 @@ void SvxHtmlOptions::Load( const Sequence< OUString >& aNames ) pValues[nProp] >>= nExpMode; switch( nExpMode ) { - case 0: nExpMode = HTML_CFG_HTML32; break; - case 1: nExpMode = HTML_CFG_MSIE_40; break; + case 1: nExpMode = HTML_CFG_MSIE; break; case 3: nExpMode = HTML_CFG_WRITER; break; case 4: nExpMode = HTML_CFG_NS40; break; - case 5: nExpMode = HTML_CFG_MSIE_40_OLD;break; default: nExpMode = HTML_CFG_NS40; break; } @@ -232,11 +230,9 @@ void SvxHtmlOptions::Commit() switch( nExpMode ) { - case HTML_CFG_HTML32: nExpMode = 0; break; - case HTML_CFG_MSIE_40: nExpMode = 1; break; + case HTML_CFG_MSIE: nExpMode = 1; break; case HTML_CFG_WRITER: nExpMode = 3; break; case HTML_CFG_NS40: nExpMode = 4; break; - case HTML_CFG_MSIE_40_OLD: nExpMode = 5; break; default: nExpMode = 4; break; // NS40 } @@ -388,7 +384,7 @@ sal_Bool SvxHtmlOptions::IsPrintLayoutExtension() const sal_Bool bRet = 0 != (pImp->nFlags & HTMLCFG_PRINT_LAYOUT_EXTENSION); switch( pImp->nExportMode ) { - case HTML_CFG_MSIE_40: + case HTML_CFG_MSIE: case HTML_CFG_NS40 : case HTML_CFG_WRITER : break; |