[Libreoffice-commits] .: svtools/source

Joseph Powers jpowers at kemper.freedesktop.org
Wed Feb 2 20:46:59 PST 2011


 svtools/source/config/htmlcfg.cxx     |    7 +------
 svtools/source/config/menuoptions.cxx |    2 +-
 2 files changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 8b7cbdf258f1515e72ae62d9286a13241fb1a249
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Wed Feb 2 20:46:55 2011 -0800

    Remove some commented code

diff --git a/svtools/source/config/htmlcfg.cxx b/svtools/source/config/htmlcfg.cxx
index 2de1f14..181c61b 100644
--- a/svtools/source/config/htmlcfg.cxx
+++ b/svtools/source/config/htmlcfg.cxx
@@ -2,7 +2,7 @@
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright 2000, 2010 Oracle and/or its affiliates.
  *
  * OpenOffice.org - a multi-platform office productivity suite
@@ -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;
diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx
index 7703738..a12f1e0 100644
--- a/svtools/source/config/menuoptions.cxx
+++ b/svtools/source/config/menuoptions.cxx
@@ -2,7 +2,7 @@
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright 2000, 2010 Oracle and/or its affiliates.
  *
  * OpenOffice.org - a multi-platform office productivity suite


More information about the Libreoffice-commits mailing list