diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-07 23:30:22 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-07 23:30:22 +0100 |
commit | dac6fe7131afa52b8e42b18ace7cf125a193b977 (patch) | |
tree | 77f6f9dacb82bda97c244be0c9502c03c4df0f2b | |
parent | 5e4687547bcfa0c894f8c33ff256e0f130c24122 (diff) |
Remove dead code
-rw-r--r-- | hwpfilter/source/attributes.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/dmapper/BorderHandler.cxx | 13 | ||||
-rw-r--r-- | writerfilter/source/dmapper/CellColorHandler.cxx | 21 | ||||
-rw-r--r-- | writerfilter/source/dmapper/CellMarginHandler.cxx | 9 | ||||
-rw-r--r-- | writerfilter/source/dmapper/SectionColumnHandler.cxx | 9 |
5 files changed, 1 insertions, 53 deletions
diff --git a/hwpfilter/source/attributes.cxx b/hwpfilter/source/attributes.cxx index 2a635ac7e22b..565df8ae3a1f 100644 --- a/hwpfilter/source/attributes.cxx +++ b/hwpfilter/source/attributes.cxx @@ -33,8 +33,6 @@ #include <vector> #include "attributes.hxx" -//using namespace ::std; - struct TagAttribute { TagAttribute(){} diff --git a/writerfilter/source/dmapper/BorderHandler.cxx b/writerfilter/source/dmapper/BorderHandler.cxx index bb08439de3b1..2ecc10931ec0 100644 --- a/writerfilter/source/dmapper/BorderHandler.cxx +++ b/writerfilter/source/dmapper/BorderHandler.cxx @@ -39,11 +39,8 @@ namespace writerfilter { namespace dmapper { using namespace ::com::sun::star; -//using namespace ::std; -/*-- 24.04.2007 09:06:35--------------------------------------------------- - -----------------------------------------------------------------------*/ BorderHandler::BorderHandler( bool bOOXML ) : m_nCurrentBorderPosition( BORDER_TOP ), m_nLineWidth(0), @@ -56,15 +53,11 @@ BorderHandler::BorderHandler( bool bOOXML ) : std::fill_n(m_aFilledLines, nBorderCount, false); std::fill_n(m_aBorderLines, nBorderCount, table::BorderLine2()); } -/*-- 24.04.2007 09:06:35--------------------------------------------------- - -----------------------------------------------------------------------*/ BorderHandler::~BorderHandler() { } -/*-- 24.04.2007 09:06:35--------------------------------------------------- - -----------------------------------------------------------------------*/ void BorderHandler::attribute(Id rName, Value & rVal) { #ifdef DEBUG_DOMAINMAPPER @@ -115,9 +108,7 @@ void BorderHandler::attribute(Id rName, Value & rVal) OSL_ENSURE( false, "unknown attribute"); } } -/*-- 24.04.2007 09:06:35--------------------------------------------------- - -----------------------------------------------------------------------*/ void BorderHandler::sprm(Sprm & rSprm) { #ifdef DEBUG_DOMAINMAPPER @@ -151,9 +142,7 @@ void BorderHandler::sprm(Sprm & rSprm) #endif } -/*-- 24.04.2007 09:09:01--------------------------------------------------- - -----------------------------------------------------------------------*/ PropertyMapPtr BorderHandler::getProperties() { static const PropertyIds aPropNames[BORDER_COUNT] = @@ -178,7 +167,7 @@ PropertyMapPtr BorderHandler::getProperties() } return pPropertyMap; } -/*-- 14.11.2007 12:42:52--------------------------------------------------- +/*------------------------------------------------------------------------- used only in OOXML import -----------------------------------------------------------------------*/ table::BorderLine2 BorderHandler::getBorderLine() diff --git a/writerfilter/source/dmapper/CellColorHandler.cxx b/writerfilter/source/dmapper/CellColorHandler.cxx index 912061650beb..7c35c9aa54c4 100644 --- a/writerfilter/source/dmapper/CellColorHandler.cxx +++ b/writerfilter/source/dmapper/CellColorHandler.cxx @@ -39,11 +39,8 @@ namespace dmapper { using namespace ::com::sun::star; using namespace ::writerfilter; -//using namespace ::std; -/*-- 24.04.2007 09:06:35--------------------------------------------------- - -----------------------------------------------------------------------*/ CellColorHandler::CellColorHandler() : m_nShadowType( 0 ), m_nColor( 0xffffffff ), @@ -51,15 +48,11 @@ CellColorHandler::CellColorHandler() : m_bParagraph( false ) { } -/*-- 24.04.2007 09:06:35--------------------------------------------------- - -----------------------------------------------------------------------*/ CellColorHandler::~CellColorHandler() { } -/*-- 24.04.2007 09:06:35--------------------------------------------------- - -----------------------------------------------------------------------*/ void CellColorHandler::attribute(Id rName, Value & rVal) { sal_Int32 nIntValue = rVal.getInt(); @@ -91,16 +84,6 @@ void CellColorHandler::attribute(Id rName, Value & rVal) //color of the shading m_nColor = nIntValue; break; -// case NS_rtf::LN_rgbrc: -// { -// writerfilter::Reference<Properties>::Pointer_t pProperties = rVal.getProperties(); -// if( pProperties.get()) -// { -// pProperties->resolve(*this); -// // -// } -// } -// break; case NS_ooxml::LN_CT_Shd_themeFill: case NS_ooxml::LN_CT_Shd_themeFillTint: case NS_ooxml::LN_CT_Shd_themeFillShade: @@ -110,16 +93,12 @@ void CellColorHandler::attribute(Id rName, Value & rVal) OSL_ENSURE( false, "unknown attribute"); } } -/*-- 24.04.2007 09:06:35--------------------------------------------------- - -----------------------------------------------------------------------*/ void CellColorHandler::sprm(Sprm & rSprm) { (void)rSprm; } -/*-- 24.04.2007 09:09:01--------------------------------------------------- - -----------------------------------------------------------------------*/ TablePropertyMapPtr CellColorHandler::getProperties() { TablePropertyMapPtr pPropertyMap(new TablePropertyMap); diff --git a/writerfilter/source/dmapper/CellMarginHandler.cxx b/writerfilter/source/dmapper/CellMarginHandler.cxx index f11fa3fff586..035c73fc033d 100644 --- a/writerfilter/source/dmapper/CellMarginHandler.cxx +++ b/writerfilter/source/dmapper/CellMarginHandler.cxx @@ -36,11 +36,8 @@ namespace dmapper { using namespace ::com::sun::star; using namespace ::writerfilter; -//using namespace ::std; -/*-- 18.02.2008 12:36:51--------------------------------------------------- - -----------------------------------------------------------------------*/ CellMarginHandler::CellMarginHandler() : m_nValue( 0 ), m_nLeftMargin( 0 ), @@ -53,15 +50,11 @@ CellMarginHandler::CellMarginHandler() : m_bBottomMarginValid( false ) { } -/*-- 18.02.2008 12:36:51--------------------------------------------------- - -----------------------------------------------------------------------*/ CellMarginHandler::~CellMarginHandler() { } -/*-- 18.02.2008 12:36:51--------------------------------------------------- - -----------------------------------------------------------------------*/ void CellMarginHandler::attribute(Id rName, Value & rVal) { sal_Int32 nIntValue = rVal.getInt(); @@ -79,9 +72,7 @@ void CellMarginHandler::attribute(Id rName, Value & rVal) OSL_ENSURE( false, "unknown attribute"); } } -/*-- 18.02.2008 12:36:51--------------------------------------------------- - -----------------------------------------------------------------------*/ void CellMarginHandler::sprm(Sprm & rSprm) { writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps(); diff --git a/writerfilter/source/dmapper/SectionColumnHandler.cxx b/writerfilter/source/dmapper/SectionColumnHandler.cxx index 23d509856347..fd2f5ea676b8 100644 --- a/writerfilter/source/dmapper/SectionColumnHandler.cxx +++ b/writerfilter/source/dmapper/SectionColumnHandler.cxx @@ -35,11 +35,8 @@ namespace writerfilter { namespace dmapper { using namespace ::com::sun::star; -//using namespace ::std; -/*-- 02.06.2008 13:36:24--------------------------------------------------- - -----------------------------------------------------------------------*/ SectionColumnHandler::SectionColumnHandler() : bEqualWidth( false ), nSpace( 0 ), @@ -47,15 +44,11 @@ SectionColumnHandler::SectionColumnHandler() : bSep( false ) { } -/*-- 02.06.2008 13:36:24--------------------------------------------------- - -----------------------------------------------------------------------*/ SectionColumnHandler::~SectionColumnHandler() { } -/*-- 02.06.2008 13:36:24--------------------------------------------------- - -----------------------------------------------------------------------*/ void SectionColumnHandler::attribute(Id rName, Value & rVal) { sal_Int32 nIntValue = rVal.getInt(); @@ -84,9 +77,7 @@ void SectionColumnHandler::attribute(Id rName, Value & rVal) OSL_ENSURE( false, "SectionColumnHandler: unknown attribute"); } } -/*-- 02.06.2008 13:36:24--------------------------------------------------- - -----------------------------------------------------------------------*/ void SectionColumnHandler::sprm(Sprm & rSprm) { switch( rSprm.getId()) |