Remove some commented code

This commit is contained in:
Joseph Powers 2011-02-02 20:46:55 -08:00
parent 0e3fe17713
commit f2a76c0e0b

View file

@ -159,13 +159,11 @@ void SvxHtmlOptions::Load( const Sequence< OUString >& aNames )
case 9://"Export/Browser",
{
sal_Int32 nExpMode = 0;
// pValues[nProp] >>= pImp->nExportMode;
pValues[nProp] >>= nExpMode;
switch( nExpMode )
{
case 0: nExpMode = HTML_CFG_HTML32; break;
case 1: nExpMode = HTML_CFG_MSIE_40; break;
// case 2: nExpMode = HTML_CFG_NS30; break; depricated
case 3: nExpMode = HTML_CFG_WRITER; break;
case 4: nExpMode = HTML_CFG_NS40; break;
case 5: nExpMode = HTML_CFG_MSIE_40_OLD;break;
@ -211,11 +209,9 @@ void SvxHtmlOptions::Commit()
{
const Sequence<OUString>& aNames = GetPropertyNames();
// const OUString* pNames = aNames.getConstArray();
Sequence<Any> aValues(aNames.getLength());
Any* pValues = aValues.getArray();
// const Type& rType = ::getBooleanCppuType();
for(int nProp = 0; nProp < aNames.getLength(); nProp++)
{
sal_Bool bSet = sal_False;
@ -238,7 +234,6 @@ void SvxHtmlOptions::Commit()
{
case HTML_CFG_HTML32: nExpMode = 0; break;
case HTML_CFG_MSIE_40: nExpMode = 1; break;
// case HTML_CFG_NS30: nExpMode = 2; break; depricated
case HTML_CFG_WRITER: nExpMode = 3; break;
case HTML_CFG_NS40: nExpMode = 4; break;
case HTML_CFG_MSIE_40_OLD: nExpMode = 5; break;